sonic-buildimage/device/mellanox/x86_64-nvidia_sn2201-r0
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
..
ACS-SN2201 [Mellanox] Update SN2201 sai profile and platform reboot script (#10978) 2022-06-07 15:05:54 +03:00
plugins [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
default_sku [Mellanox] Update Mellanox SN2201 device specific files (#10275) 2022-03-18 12:11:13 -07:00
installer.conf [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
pcie.yaml [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
platform_asic [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
platform_components.json [Mellanox] Update Mellanox SN2201 device specific files (#10275) 2022-03-18 12:11:13 -07:00
platform_reboot [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
platform_wait [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
platform.json [Mellanox] Update Mellanox SN2201 device specific files (#10275) 2022-03-18 12:11:13 -07:00
pmon_daemon_control.json [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
sensors.conf [Mellanox] Update Mellanox SN2201 device specific files (#10275) 2022-03-18 12:11:13 -07:00
system_health_monitoring_config.json [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00
thermal_policy.json [Mellanox] Add support for SN2201 platform (#9333) 2021-12-06 14:47:50 +02:00