Skip to content

Commit a4098de

Browse files
aaronpaymentabdullahenesoncubyu343
authored
Misc platform improvements for DCS-7060DX5-64S (#13875)
* sonic-buildimage: Add 7060DX5-64S brcm tunnel config Add bcm_tunnel_term_compatible_mode: 1 support, which allows Loopback configuration to no longer result in SAI failure "tunnel terminator add failed with error Feature unavailable" that caused Orchagent SIGABRT Signed-off-by: Aaron Payment <[email protected]> * sonic-buildimage: Set port config ENABLE:0 in 7060DX5-64S brcm config Set ENABLE:0 for the front panel ports in the brcm config so that the ports are default admin down. This change prevents the issue that ports are able to link up and pass traffic resulting in mac learn events after SAI create switch and before SAI admin state up. The unexpected mac learn events resulted in Orch agent crash in PortsOrch init, which occurs after SAI create switch and before SAI admin state up. * fix sensors.conf on CatalinaDD * Add support for two sfp ports * Add copper 50g tuning to babbagelp on catalina --------- Signed-off-by: Aaron Payment <[email protected]> Co-authored-by: enes.oncu <[email protected]> Co-authored-by: Boyang Yu <[email protected]>
1 parent a28352e commit a4098de

File tree

6 files changed

+91
-40
lines changed

6 files changed

+91
-40
lines changed

device/arista/x86_64-arista_7060dx5_64s/Arista-7060DX5-64S/hwsku.json

+8
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,14 @@
255255
"Ethernet504": {
256256
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G]",
257257
"fec": "rs"
258+
},
259+
"Ethernet512": {
260+
"default_brkout_mode": "1x10G",
261+
"fec": "none"
262+
},
263+
"Ethernet513": {
264+
"default_brkout_mode": "1x10G",
265+
"fec": "none"
258266
}
259267
}
260268
}

device/arista/x86_64-arista_7060dx5_64s/Arista-7060DX5-64S/port_config.ini

+2
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,5 @@ Ethernet480 237,238,239,240,241,242,243,244 Ethernet61/1 61 400000 rs
6363
Ethernet488 229,230,231,232,233,234,235,236 Ethernet62/1 62 400000 rs
6464
Ethernet496 249,250,251,252,253,254,255,256 Ethernet63/1 63 400000 rs
6565
Ethernet504 245,246,247,248,249,250,251,252 Ethernet64/1 64 400000 rs
66+
Ethernet512 258 Ethernet65 65 10000 none
67+
Ethernet513 257 Ethernet66 66 10000 none

device/arista/x86_64-arista_7060dx5_64s/Arista-7060DX5-64S/th4-a7060dx5-64s.config.bcm

+17-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ bcm_device:
3434
sai_field_group_auto_prioritize: 1
3535
#l3_intf_vlan_split_egress for MTU at L3IF
3636
l3_intf_vlan_split_egress : 1
37-
37+
bcm_tunnel_term_compatible_mode: 1
3838
---
3939
device:
4040
0:
@@ -1073,6 +1073,14 @@ device:
10731073
PORT_ID: 258
10741074
:
10751075
PC_PHYS_PORT_ID: 253
1076+
?
1077+
PORT_ID: 152
1078+
:
1079+
PC_PHYS_PORT_ID: 257
1080+
?
1081+
PORT_ID: 50
1082+
:
1083+
PC_PHYS_PORT_ID: 258
10761084
...
10771085
---
10781086
device:
@@ -1085,6 +1093,13 @@ device:
10851093
ENABLE: 1
10861094
SPEED: 10000
10871095
NUM_LANES: 1
1096+
?
1097+
PORT_ID: [[50, 50], [152, 152]]
1098+
:
1099+
ENABLE: 1
1100+
MAX_FRAME_SIZE: 9416
1101+
SPEED: 10000
1102+
NUM_LANES: 1
10881103
?
10891104
PORT_ID: [[1, 4],
10901105
[17, 20],
@@ -1103,7 +1118,7 @@ device:
11031118
[238, 241],
11041119
[255, 258]]
11051120
:
1106-
ENABLE: 1
1121+
ENABLE: 0
11071122
SPEED: 400000
11081123
NUM_LANES: 8
11091124
FEC_MODE: PC_FEC_RS544_2XN

device/arista/x86_64-arista_7060dx5_64s/platform.json

+42-24
Original file line numberDiff line numberDiff line change
@@ -49,52 +49,52 @@
4949
],
5050
"thermals": [
5151
{
52-
"name": "Cpu temp sensor"
52+
"name": "Board sensor",
53+
"controllable": false
5354
},
5455
{
55-
"name": "CPU board temp sensor"
56+
"name": "TH4 exhaust temp sensor",
57+
"controllable": false
5658
},
5759
{
58-
"name": "Back-panel temp sensor"
60+
"name": "Inlet temp sensor",
61+
"controllable": false
5962
},
6063
{
61-
"name": "Board sensor"
64+
"name": "CPU board temp sensor",
65+
"controllable": false
6266
},
6367
{
64-
"name": "Switch board middle sensor"
68+
"name": "Back panel temp sensor",
69+
"controllable": false
6570
},
6671
{
67-
"name": "Switch board left sensor"
72+
"name": "Front panel temp sensor",
73+
"controllable": false
6874
},
6975
{
70-
"name": "Front-panel temp sensor"
76+
"name": "Power supply 1 hotspot sensor",
77+
"controllable": false
7178
},
7279
{
73-
"name": "Switch chip diode 1 sensor"
80+
"name": "Power supply 1 inlet temp sensor",
81+
"controllable": false
7482
},
7583
{
76-
"name": "Switch chip diode 2 sensor"
84+
"name": "Power supply 1 exhaust temp sensor",
85+
"controllable": false
7786
},
7887
{
79-
"name": "Front-panel temp sensor"
88+
"name": "Power supply 2 hotspot sensor",
89+
"controllable": false
8090
},
8191
{
82-
"name": "Power supply 1 inlet temp sensor"
92+
"name": "Power supply 2 inlet temp sensor",
93+
"controllable": false
8394
},
8495
{
85-
"name": "Power supply 1 secondary hotspot sensor"
86-
},
87-
{
88-
"name": "Power supply 1 primary hotspot sensor"
89-
},
90-
{
91-
"name": "Power supply 2 inlet temp sensor"
92-
},
93-
{
94-
"name": "Power supply 2 secondary hotspot sensor"
95-
},
96-
{
97-
"name": "Power supply 2 primary hotspot sensor"
96+
"name": "Power supply 2 exhaust temp sensor",
97+
"controllable": false
9898
}
9999
],
100100
"sfps": [
@@ -2154,6 +2154,24 @@
21542154
"Ethernet64/8"
21552155
]
21562156
}
2157+
},
2158+
"Ethernet512": {
2159+
"index": "65",
2160+
"lanes": "258",
2161+
"breakout_modes": {
2162+
"1x10G": [
2163+
"Ethernet65"
2164+
]
2165+
}
2166+
},
2167+
"Ethernet513": {
2168+
"index": "66",
2169+
"lanes": "257",
2170+
"breakout_modes": {
2171+
"1x10G": [
2172+
"Ethernet66"
2173+
]
2174+
}
21572175
}
21582176
}
21592177
}

device/arista/x86_64-arista_7060px5_64s/Arista-7060PX5-64S/blackhawk.xml

+19-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
<phy_addr>0</phy_addr>
55
<mode>retimer</mode>
66
<topology>1</topology>
7-
<tx-taps>
8-
<PAM4>2,-8,17,0,0</PAM4>
9-
<NRZ>0,-8,17,0,0</NRZ>
10-
</tx-taps>
11-
<tx-taps-scale>0,0,1,0,0</tx-taps-scale>
12-
137
<lane id="0" tx-polarity="0" rx-polarity="0" />
148
<lane id="1" tx-polarity="0" rx-polarity="0" />
159
<lane id="2" tx-polarity="0" rx-polarity="0" />
@@ -26,4 +20,23 @@
2620
<lane id="13" tx-polarity="0" rx-polarity="0" />
2721
<lane id="14" tx-polarity="0" rx-polarity="0" />
2822
<lane id="15" tx-polarity="0" rx-polarity="0" />
23+
24+
<PAM4>
25+
<lane id="0" tx-taps="0,0,-8,117,-2,0,0"/>
26+
<lane id="1" tx-taps="0,0,-8,117,-2,0,0"/>
27+
<lane id="2" tx-taps="0,0,-8,117,-2,0,0"/>
28+
<lane id="3" tx-taps="0,0,-8,117,-2,0,0"/>
29+
<lane id="4" tx-taps="0,0,-8,117,-2,0,0"/>
30+
<lane id="5" tx-taps="0,0,-8,117,-2,0,0"/>
31+
<lane id="6" tx-taps="0,0,-8,117,-2,0,0"/>
32+
<lane id="7" tx-taps="0,0,-8,117,-2,0,0"/>
33+
<lane id="8" tx-taps="0,10,-22,93,-2,0,0"/>
34+
<lane id="9" tx-taps="0,10,-22,93,-2,0,0"/>
35+
<lane id="10" tx-taps="0,10,-22,93,-2,0,0"/>
36+
<lane id="11" tx-taps="0,10,-22,93,-2,0,0"/>
37+
<lane id="12" tx-taps="0,10,-22,93,-2,0,0"/>
38+
<lane id="13" tx-taps="0,10,-22,93,-2,0,0"/>
39+
<lane id="14" tx-taps="0,10,-22,93,-2,0,0"/>
40+
<lane id="15" tx-taps="0,10,-22,93,-2,0,0"/>
41+
</PAM4>
2942
</root>

device/arista/x86_64-arista_7060px5_64s/sensors.conf

+3-8
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,15 @@ bus "i2c-23" "SCD 0000:01:00.0 SMBus master 1 bus 4"
77
bus "i2c-24" "SCD 0000:01:00.0 SMBus master 1 bus 5"
88
bus "i2c-107" "SCD 0000:00:18.7 SMBus master 0 bus 0"
99

10-
chip "max6581-i2c-19-4d"
10+
chip "tmp464-i2c-19-48"
1111
label temp1 "Board sensor"
1212
label temp2 "TH4 exhaust temp sensor"
13-
label temp3 "Left edge PCB rear temp sensor"
14-
label temp4 "Inlet temp sensor"
15-
ignore temp5
16-
ignore temp6
17-
label temp7 "Diode temp sensor 1"
18-
label temp8 "Diode temp sensor 2"
13+
label temp3 "Inlet temp sensor"
1914

2015
chip "dps800-i2c-22-58"
2116
label temp1 "Power supply 1 hotspot sensor"
2217
label temp2 "Power supply 1 inlet temp sensor"
23-
label temp3 "Power supply 1 exhaust temp sensor"
18+
ignore temp3 "Power supply 1 exhaust temp sensor"
2419

2520
chip "dps800-i2c-23-58"
2621
label temp1 "Power supply 2 hotspot sensor"

0 commit comments

Comments
 (0)