Skip to content

Commit 52671c4

Browse files
committed
[Nokia][port]Modify the Nokia-IXR7250E-36x400G device data
-- Based on the new BCM configuration, Modify the portcoreid for the front panel port in the port_config.ini for line card Nokia-IXR7250e-36x400G -- Correct the pcie.pmal file -- Update the platform_ndk.json with new field "update-asic-pvt" -- Add chassis-internal-intf to chassisdb.conf -- update platform_reboot Signed-off-by: mlok <[email protected]>
1 parent 6cbdf11 commit 52671c4

File tree

7 files changed

+59
-52
lines changed

7 files changed

+59
-52
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# name lanes alias index asic_port_name role speed coreid coreportid numvoq
2-
Ethernet0 72,73,74,75,76,77,78,79 Ethernet0 1 Eth0-ASIC0 Ext 400000 1 0 8
3-
Ethernet1 80,81,82,83,84,85,86,87 Ethernet1 2 Eth1-ASIC0 Ext 400000 1 1 8
4-
Ethernet2 88,89,90,91,92,93,94,95 Ethernet2 3 Eth2-ASIC0 Ext 400000 1 2 8
5-
Ethernet3 96,97,98,99,100,101,102,103 Ethernet3 4 Eth3-ASIC0 Ext 400000 1 3 8
6-
Ethernet4 104,105,106,107,108,109,110,111 Ethernet4 5 Eth4-ASIC0 Ext 400000 1 4 8
7-
Ethernet5 112,113,114,115,116,117,118,119 Ethernet5 6 Eth5-ASIC0 Ext 400000 1 5 8
8-
Ethernet6 120,121,122,123,124,125,126,127 Ethernet6 7 Eth6-ASIC0 Ext 400000 1 6 8
9-
Ethernet7 128,129,130,131,132,133,134,135 Ethernet7 8 Eth7-ASIC0 Ext 400000 1 7 8
10-
Ethernet8 136,137,138,139,140,141,142,143 Ethernet8 9 Eth8-ASIC0 Ext 400000 1 8 8
11-
Ethernet9 64,65,66,67,68,69,70,71 Ethernet9 10 Eth9-ASIC0 Ext 400000 0 1 8
12-
Ethernet10 56,57,58,59,60,61,62,63 Ethernet10 11 Eth10-ASIC0 Ext 400000 0 2 8
13-
Ethernet11 48,49,50,51,52,53,54,55 Ethernet11 12 Eth11-ASIC0 Ext 400000 0 3 8
14-
Ethernet12 40,41,42,43,44,45,46,47 Ethernet12 13 Eth12-ASIC0 Ext 400000 0 4 8
15-
Ethernet13 32,33,34,35,36,37,38,39 Ethernet13 14 Eth13-ASIC0 Ext 400000 0 5 8
16-
Ethernet14 24,25,26,27,28,29,30,31 Ethernet14 15 Eth14-ASIC0 Ext 400000 0 6 8
17-
Ethernet15 16,17,18,19,20,21,22,23 Ethernet15 16 Eth15-ASIC0 Ext 400000 0 7 8
18-
Ethernet16 8,9,10,11,12,13,14,15 Ethernet16 17 Eth16-ASIC0 Ext 400000 0 8 8
19-
Ethernet17 0,1,2,3,4,5,6,7 Ethernet17 18 Eth17-ASIC0 Ext 400000 0 9 8
20-
Ethernet-IB0 115 Ethernet-IB0 37 Rcy-ASIC0 Int 10000 0 10 8
2+
Ethernet0 72,73,74,75,76,77,78,79 Ethernet0 1 Eth0-ASIC0 Ext 400000 1 1 8
3+
Ethernet1 80,81,82,83,84,85,86,87 Ethernet1 2 Eth1-ASIC0 Ext 400000 1 2 8
4+
Ethernet2 88,89,90,91,92,93,94,95 Ethernet2 3 Eth2-ASIC0 Ext 400000 1 3 8
5+
Ethernet3 96,97,98,99,100,101,102,103 Ethernet3 4 Eth3-ASIC0 Ext 400000 1 4 8
6+
Ethernet4 104,105,106,107,108,109,110,111 Ethernet4 5 Eth4-ASIC0 Ext 400000 1 5 8
7+
Ethernet5 112,113,114,115,116,117,118,119 Ethernet5 6 Eth5-ASIC0 Ext 400000 1 6 8
8+
Ethernet6 120,121,122,123,124,125,126,127 Ethernet6 7 Eth6-ASIC0 Ext 400000 1 7 8
9+
Ethernet7 128,129,130,131,132,133,134,135 Ethernet7 8 Eth7-ASIC0 Ext 400000 1 8 8
10+
Ethernet8 136,137,138,139,140,141,142,143 Ethernet8 9 Eth8-ASIC0 Ext 400000 1 9 8
11+
Ethernet9 64,65,66,67,68,69,70,71 Ethernet9 10 Eth9-ASIC0 Ext 400000 0 10 8
12+
Ethernet10 56,57,58,59,60,61,62,63 Ethernet10 11 Eth10-ASIC0 Ext 400000 0 11 8
13+
Ethernet11 48,49,50,51,52,53,54,55 Ethernet11 12 Eth11-ASIC0 Ext 400000 0 12 8
14+
Ethernet12 40,41,42,43,44,45,46,47 Ethernet12 13 Eth12-ASIC0 Ext 400000 0 13 8
15+
Ethernet13 32,33,34,35,36,37,38,39 Ethernet13 14 Eth13-ASIC0 Ext 400000 0 14 8
16+
Ethernet14 24,25,26,27,28,29,30,31 Ethernet14 15 Eth14-ASIC0 Ext 400000 0 15 8
17+
Ethernet15 16,17,18,19,20,21,22,23 Ethernet15 16 Eth15-ASIC0 Ext 400000 0 16 8
18+
Ethernet16 8,9,10,11,12,13,14,15 Ethernet16 17 Eth16-ASIC0 Ext 400000 0 17 8
19+
Ethernet17 0,1,2,3,4,5,6,7 Ethernet17 18 Eth17-ASIC0 Ext 400000 0 18 8
20+
Ethernet-IB0 115 Ethernet-IB0 37 Rcy-ASIC0 Int 10000 0 19 8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# name lanes alias index asic_port_name role speed coreid coreportid numvoq
2-
Ethernet18 72,73,74,75,76,77,78,79 Ethernet18 19 Eth0-ASIC1 Ext 400000 1 0 8
3-
Ethernet19 80,81,82,83,84,85,86,87 Ethernet19 20 Eth1-ASIC1 Ext 400000 1 1 8
4-
Ethernet20 88,89,90,91,92,93,94,95 Ethernet20 21 Eth2-ASIC1 Ext 400000 1 2 8
5-
Ethernet21 96,97,98,99,100,101,102,103 Ethernet21 22 Eth3-ASIC1 Ext 400000 1 3 8
6-
Ethernet22 104,105,106,107,108,109,110,111 Ethernet22 23 Eth4-ASIC1 Ext 400000 1 4 8
7-
Ethernet23 112,113,114,115,116,117,118,119 Ethernet23 24 Eth5-ASIC1 Ext 400000 1 5 8
8-
Ethernet24 120,121,122,123,124,125,126,127 Ethernet24 25 Eth6-ASIC1 Ext 400000 1 6 8
9-
Ethernet25 128,129,130,131,132,133,134,135 Ethernet25 26 Eth7-ASIC1 Ext 400000 1 7 8
10-
Ethernet26 136,137,138,139,140,141,142,143 Ethernet26 27 Eth8-ASIC1 Ext 400000 1 8 8
11-
Ethernet27 64,65,66,67,68,69,70,71 Ethernet27 28 Eth9-ASIC1 Ext 400000 0 1 8
12-
Ethernet28 56,57,58,59,60,61,62,63 Ethernet28 29 Eth10-ASIC1 Ext 400000 0 2 8
13-
Ethernet29 48,49,50,51,52,53,54,55 Ethernet29 30 Eth11-ASIC1 Ext 400000 0 3 8
14-
Ethernet30 40,41,42,43,44,45,46,47 Ethernet30 31 Eth12-ASIC1 Ext 400000 0 4 8
15-
Ethernet31 32,33,34,35,36,37,38,39 Ethernet31 32 Eth13-ASIC1 Ext 400000 0 5 8
16-
Ethernet32 24,25,26,27,28,29,30,31 Ethernet32 33 Eth14-ASIC1 Ext 400000 0 6 8
17-
Ethernet33 16,17,18,19,20,21,22,23 Ethernet33 34 Eth15-ASIC1 Ext 400000 0 7 8
18-
Ethernet34 8,9,10,11,12,13,14,15 Ethernet34 35 Eth16-ASIC1 Ext 400000 0 8 8
19-
Ethernet35 0,1,2,3,4,5,6,7 Ethernet35 36 Eth17-ASIC1 Ext 400000 0 9 8
20-
Ethernet-IB1 115 Ethernet-IB1 38 Rcy-ASIC1 Int 10000 0 10 8
2+
Ethernet18 72,73,74,75,76,77,78,79 Ethernet18 19 Eth0-ASIC1 Ext 400000 1 1 8
3+
Ethernet19 80,81,82,83,84,85,86,87 Ethernet19 20 Eth1-ASIC1 Ext 400000 1 2 8
4+
Ethernet20 88,89,90,91,92,93,94,95 Ethernet20 21 Eth2-ASIC1 Ext 400000 1 3 8
5+
Ethernet21 96,97,98,99,100,101,102,103 Ethernet21 22 Eth3-ASIC1 Ext 400000 1 4 8
6+
Ethernet22 104,105,106,107,108,109,110,111 Ethernet22 23 Eth4-ASIC1 Ext 400000 1 5 8
7+
Ethernet23 112,113,114,115,116,117,118,119 Ethernet23 24 Eth5-ASIC1 Ext 400000 1 6 8
8+
Ethernet24 120,121,122,123,124,125,126,127 Ethernet24 25 Eth6-ASIC1 Ext 400000 1 7 8
9+
Ethernet25 128,129,130,131,132,133,134,135 Ethernet25 26 Eth7-ASIC1 Ext 400000 1 8 8
10+
Ethernet26 136,137,138,139,140,141,142,143 Ethernet26 27 Eth8-ASIC1 Ext 400000 1 9 8
11+
Ethernet27 64,65,66,67,68,69,70,71 Ethernet27 28 Eth9-ASIC1 Ext 400000 0 10 8
12+
Ethernet28 56,57,58,59,60,61,62,63 Ethernet28 29 Eth10-ASIC1 Ext 400000 0 11 8
13+
Ethernet29 48,49,50,51,52,53,54,55 Ethernet29 30 Eth11-ASIC1 Ext 400000 0 12 8
14+
Ethernet30 40,41,42,43,44,45,46,47 Ethernet30 31 Eth12-ASIC1 Ext 400000 0 13 8
15+
Ethernet31 32,33,34,35,36,37,38,39 Ethernet31 32 Eth13-ASIC1 Ext 400000 0 14 8
16+
Ethernet32 24,25,26,27,28,29,30,31 Ethernet32 33 Eth14-ASIC1 Ext 400000 0 15 8
17+
Ethernet33 16,17,18,19,20,21,22,23 Ethernet33 34 Eth15-ASIC1 Ext 400000 0 16 8
18+
Ethernet34 8,9,10,11,12,13,14,15 Ethernet34 35 Eth16-ASIC1 Ext 400000 0 17 8
19+
Ethernet35 0,1,2,3,4,5,6,7 Ethernet35 36 Eth17-ASIC1 Ext 400000 0 18 8
20+
Ethernet-IB1 115 Ethernet-IB1 38 Rcy-ASIC1 Int 10000 0 19 8
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
chassis_db_address=10.0.5.16
2+
chassis_internal_intfs=enp12s0f2,enp5s0f4,enp5s0f4.2

device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
{
2828
"key": "sonic_bdb_mode",
2929
"intval": 0
30+
},
31+
{
32+
"key": "update_asic_pvt",
33+
"intval": 10
3034
}
3135
]
3236
}

device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ sleep 2
55
echo "w" > /dev/watchdog
66
kick_date=`date -u`
77
echo "last watchdog kick $kick_date" > /var/log/nokia-watchdog-last.log
8+
rm -f /sys/firmware/efi/efivars/dump-*
89
sync
910
/sbin/reboot

device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
- bus: '00'
9292
dev: '14'
9393
fn: '3'
94-
id: 790e'
94+
id: '790e'
9595
name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)'
9696
- bus: '00'
9797
dev: '18'
@@ -130,7 +130,7 @@
130130
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6'
131131
- bus: '00'
132132
dev: '18'
133-
fn: '7 '
133+
fn: '7'
134134
id: '1467'
135135
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7'
136136
- bus: '01'
@@ -153,57 +153,57 @@
153153
fn: '1'
154154
id: '8454'
155155
name: 'Ethernet controller: Broadcom Limited Device 8454 (rev 01)'
156-
- bus: '08'
156+
- bus: '09'
157157
dev: '00'
158158
fn: '0'
159159
id: '145a'
160160
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function'
161-
- bus: '08'
161+
- bus: '09'
162162
dev: '00'
163163
fn: '2'
164164
id: '1456'
165165
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor'
166-
- bus: '08'
166+
- bus: '09'
167167
dev: '00'
168168
fn: '3'
169169
id: '145f'
170170
name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller'
171-
- bus: '09'
171+
- bus: '0a'
172172
dev: '00'
173173
fn: '0'
174174
id: '1455'
175175
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function'
176-
- bus: '09'
176+
- bus: '0a'
177177
dev: '00'
178178
fn: '1'
179179
id: '1468'
180180
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic Coprocessor NTBCCP'
181-
- bus: '09'
181+
- bus: '0a'
182182
dev: '00'
183-
fn: '2'
183+
fn: '2'
184184
id: '7901'
185185
name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)'
186-
- bus: '09'
186+
- bus: '0a'
187187
dev: '00'
188188
fn: '3'
189189
id: '1457'
190190
name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller'
191-
- bus: '09'
191+
- bus: '0a'
192192
dev: '00'
193193
fn: '4'
194194
id: '1458'
195195
name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458'
196-
- bus: '09'
196+
- bus: '0a'
197197
dev: '00'
198198
fn: '5'
199199
id: '1458'
200200
name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458'
201-
- bus: '09'
201+
- bus: '0a'
202202
dev: '00'
203203
fn: '6'
204204
id: '1459'
205205
name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1459'
206-
- bus: '09'
206+
- bus: '0a'
207207
dev: '00'
208208
fn: '7'
209209
id: '1459'

device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ sleep 2
55
echo "w" > /dev/watchdog
66
kick_date=`date -u`
77
echo "last watchdog kick $kick_date" > /var/log/nokia-watchdog-last.log
8+
rm -f /sys/firmware/efi/efivars/dump-*
89
sync
910
/sbin/reboot

0 commit comments

Comments
 (0)