forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] Add initial support for SN4800 platform (sonic-net#7447)
- Why I did it Add initial support of SN4800 platform . NOTE: This is work in progress and not full support of the platform. - How I did it Add new folders for SN4800 with zero ports based on SN4700 Spectrum-3 switch. - How to verify it Simulator device was tested. See sonic-net#7448
- Loading branch information
1 parent
129f803
commit 3ccc45f
Showing
26 changed files
with
478 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers.json.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t0.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t1.j2 |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_dynamic.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2 |
4 changes: 4 additions & 0 deletions
4
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"interfaces": { | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/pg_profile_lookup.ini |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/port_config.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# name lanes alias index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4800.xml |
16 changes: 16 additions & 0 deletions
16
device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<root> | ||
<platform_info type="4800"> | ||
|
||
<!-- Device MAC address --> | ||
<device-mac-address>00:02:03:04:05:00</device-mac-address> | ||
|
||
<!-- Number of ports in the following port list --> | ||
<number-of-physical-ports>0</number-of-physical-ports> | ||
|
||
<!-- List of ports in the device --> | ||
<ports-list> | ||
</ports-list> | ||
</platform_info> | ||
</root> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ACS-MSN4800 t1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
- bus: '00' | ||
dev: '00' | ||
fn: '0' | ||
id: 3e10 | ||
name: 'Host bridge : Intel Corporation Device (rev 07)' | ||
- bus: '00' | ||
dev: '01' | ||
fn: '0' | ||
id: 1901 | ||
name: 'PCI bridge : Intel Corporation Skylake PCIe Controller (x16) (rev 07) | ||
(prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '08' | ||
fn: '0' | ||
id: 1911 | ||
name: 'System peripheral : Intel Corporation Skylake Gaussian Mixture Model' | ||
- bus: '00' | ||
dev: '12' | ||
fn: '0' | ||
id: a379 | ||
name: 'Signal processing controller : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '14' | ||
fn: '0' | ||
id: a36d | ||
name: 'USB controller : Intel Corporation Device (rev 10) (prog-if 30 [XHCI])' | ||
- bus: '00' | ||
dev: '14' | ||
fn: '2' | ||
id: a36f | ||
name: 'RAM memory : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '15' | ||
fn: '0' | ||
id: a368 | ||
name: 'Serial bus controller : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '16' | ||
fn: '0' | ||
id: a360 | ||
name: 'Communication controller : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '17' | ||
fn: '0' | ||
id: a353 | ||
name: 'SATA controller : Intel Corporation Device (rev 10) (prog-if 01 [AHCI 1.0])' | ||
- bus: '00' | ||
dev: '1b' | ||
fn: '0' | ||
id: a340 | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1b' | ||
fn: '2' | ||
id: a342 | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1b' | ||
fn: '4' | ||
id: a32c | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1c' | ||
fn: '0' | ||
id: a33d | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1c' | ||
fn: '6' | ||
id: a33e | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1c' | ||
fn: '7' | ||
id: a33f | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1d' | ||
fn: '0' | ||
id: a334 | ||
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])' | ||
- bus: '00' | ||
dev: '1e' | ||
fn: '0' | ||
id: a328 | ||
name: 'Communication controller : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '1f' | ||
fn: '0' | ||
id: a30e | ||
name: 'ISA bridge : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '1f' | ||
fn: '4' | ||
id: a323 | ||
name: 'SMBus : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '1f' | ||
fn: '5' | ||
id: a324 | ||
name: 'Serial bus controller : Intel Corporation Device (rev 10)' | ||
- bus: '00' | ||
dev: '1f' | ||
fn: '6' | ||
id: 15bb | ||
name: 'Ethernet controller : Intel Corporation Device (rev 10)' | ||
- bus: '01' | ||
dev: '00' | ||
fn: '0' | ||
id: cf6c | ||
name: 'Ethernet controller : Mellanox Technologies Device' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"chassis": { | ||
"name": "MSN4800", | ||
"components": [ | ||
{ | ||
"name": "ONIE" | ||
}, | ||
{ | ||
"name": "SSD" | ||
}, | ||
{ | ||
"name": "BIOS" | ||
}, | ||
{ | ||
"name": "CPLD1" | ||
}, | ||
{ | ||
"name": "CPLD2" | ||
}, | ||
{ | ||
"name": "CPLD3" | ||
} | ||
], | ||
"fans": [], | ||
"fan_drawers": [ | ||
{ | ||
"name": "drawer1", | ||
"fans": [ | ||
{ | ||
"name": "fan1" | ||
}, | ||
{ | ||
"name": "fan2" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "drawer2", | ||
"fans": [ | ||
{ | ||
"name": "fan3" | ||
}, | ||
{ | ||
"name": "fan4" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "drawer3", | ||
"fans": [ | ||
{ | ||
"name": "fan5" | ||
}, | ||
{ | ||
"name": "fan6" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "drawer4", | ||
"fans": [ | ||
{ | ||
"name": "fan7" | ||
}, | ||
{ | ||
"name": "fan8" | ||
} | ||
] | ||
} | ||
], | ||
"psus": [ | ||
{ | ||
"name": "PSU 1", | ||
"fans": [ | ||
{ | ||
"name": "psu_1_fan_1" | ||
} | ||
], | ||
"thermals": [ | ||
{ | ||
"name": "PSU-1 Temp" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "PSU 2", | ||
"fans": [ | ||
{ | ||
"name": "PSU-2 Temp" | ||
} | ||
], | ||
"thermals": [ | ||
{ | ||
"name": "xSFP module 1 Temp" | ||
} | ||
] | ||
} | ||
], | ||
"thermals": [ | ||
{ | ||
"name": "ASIC" | ||
}, | ||
{ | ||
"name": "Ambient Fan Side Temp" | ||
}, | ||
{ | ||
"name": "Ambient Port Side Temp" | ||
}, | ||
{ | ||
"name": "CPU Core 0 Temp" | ||
}, | ||
{ | ||
"name": "CPU Core 1 Temp" | ||
}, | ||
{ | ||
"name": "CPU Pack Temp" | ||
} | ||
], | ||
"sfps": [ | ||
] | ||
}, | ||
"interfaces": { | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
device/mellanox/x86_64-mlnx_msn4800-r0/platform_components.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"chassis": { | ||
"MSN4800": { | ||
"component": { | ||
"ONIE": { }, | ||
"SSD": { }, | ||
"BIOS": { }, | ||
"CPLD1": { }, | ||
"CPLD2": { }, | ||
"CPLD3": { } | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-mlnx_msn2700-r0/platform_reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-mlnx_msn2700-r0/platform_wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/plugins/eeprom.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/plugins/psuutil.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/plugins/sfplpmget.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/plugins/sfplpmset.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/plugins/sfpreset.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../x86_64-mlnx_msn2700-r0/plugins/sfputil.py |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800-r0/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-mlnx_msn2700-r0/pmon_daemon_control.json |
Oops, something went wrong.