sonic-buildimage/device/mellanox/x86_64-nvidia_sn2201-r0/ACS-SN2201
Kebo Liu a3895c3116
[Mellanox] Update SN2201 sai profile and platform reboot script (#10978)
- Why I did it
1. SN2201 sai profile needs to be updated according to the latest hardware.
2. In the reboot script, need to use the common symbol link of the power_cycle sysfs instead of directly accessing it due to SN2201 sysfs is different than other platforms.
3. echo 1 > $SYSFS_PWR_CYCLE will trigger the reboot immediately, the following sleep 3 and echo 0 > $SYSFS_PWR_CYCLE will never be executed, can be removed.

- How I did it
1. Replace the SN2201 sai profile with the latest one.
2. In the platform_reboot script, replace the direct sysfs path with the symbol link path.
3. Remove the redundant code from platform_reboot

- How to verify it
Perform reboot on all the Nvidia platforms, and check all can be rebooted successfully.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2022-06-07 15:05:54 +03:00
..
buffers_defaults_objects.j2 [Mellanox] Update Mellanox SN2201 device specific files (#10275) 2022-03-18 12:11:13 -07:00
buffers_defaults_t0.j2 [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
buffers_defaults_t1.j2 [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
buffers_dynamic.json.j2 [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
buffers.json.j2 [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
hwsku.json [Mellanox] Update Mellanox SN2201 device specific files (#10275) 2022-03-18 12:11:13 -07:00
pg_profile_lookup.ini [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
port_config.ini [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
qos.json.j2 [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
sai_2201.xml [Mellanox] Update SN2201 sai profile and platform reboot script (#10978) 2022-06-07 15:05:54 +03:00
sai.profile [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00