Skip to content

Commit

Permalink
[Mellanox] Platform update for DPU communication (sonic-net#20817)
Browse files Browse the repository at this point in the history
- Why I did it
The dpu_tty.py cli tool requires some platform specific configuration for communication to DPU using picocom. 

- How I did it
The corresponding configuration is added to the platform.json to enable this tool for the smartswitch

- How to verify it
dpu_tty.py -n dpu0
  • Loading branch information
gpunathilell authored Nov 27, 2024
1 parent 22ff854 commit ccc278e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions device/mellanox/x86_64-nvidia_sn4280-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,10 @@
"interface": {
"Ethernet224": "Ethernet0"
},
"serial-console": {
"device": "ttyUSB0",
"baud-rate": "115200"
},
"rshim_info": "rshim0",
"bus_info": "0000:08:00.0"
},
Expand All @@ -661,6 +665,10 @@
"interface": {
"Ethernet232": "Ethernet0"
},
"serial-console": {
"device": "ttyUSB1",
"baud-rate": "115200"
},
"rshim_info": "rshim1",
"bus_info": "0000:07:00.0"
},
Expand All @@ -669,6 +677,10 @@
"interface": {
"Ethernet240": "Ethernet0"
},
"serial-console": {
"device": "ttyUSB2",
"baud-rate": "115200"
},
"rshim_info": "rshim2",
"bus_info": "0000:01:00.0"
},
Expand All @@ -677,6 +689,10 @@
"interface": {
"Ethernet248": "Ethernet0"
},
"serial-console": {
"device": "ttyUSB3",
"baud-rate": "115200"
},
"rshim_info": "rshim3",
"bus_info": "0000:02:00.0"
}
Expand Down

0 comments on commit ccc278e

Please sign in to comment.