sonic-buildimage/platform/mellanox/hw-management
shlomibitton 3de6a67353
[Mellanox] Add hw-mgmt patch for SimX platform adaptation (#6782)
- Why I did it
System is stuck on 'starting' state on SimX platform because of infinite loop on 'hw-management-ready.sh' script .
The loop is polling to check if the hw-mgmt sysfs created before proceeding with the flow, for SimX platform the sysfs will never create so the system is not starting properly.

- How I did it
Add a condition to poll on hw-mgmt sysfs only if the switch is real HW and not SimX platform.

- How to verify it
Check "systemctl status hw-management.service" output on a SimX switch with this patch, the state will be "active".

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
2021-02-25 12:41:29 +02:00
..
hw-mgmt@dec7935777 [Mellanox] update hw-mgmt package to V.7.0010.1300 (#5902) 2020-11-16 01:57:19 -08:00
0001-Make-SONiC-determine-reboot-cause-service-start-afte.patch [Mellanox] Make determine-reboot-cause service start after hw-management service (#6465) 2021-01-15 11:38:31 -08:00
0002-hw-mgmt-events-Add-support-for-SDK-OFFLINE-event-for.patch Add hw-mgmt patch to support SDK OFFLINE event for handling flow within service firmware upgrade (#6550) 2021-01-27 15:39:54 +02:00
0003-Make-hw-mgmt-SimX-compatiable.patch [Mellanox] Add hw-mgmt patch for SimX platform adaptation (#6782) 2021-02-25 12:41:29 +02:00
Makefile [mellanox]: fix mellanox hw-management build (#6471) 2021-01-18 13:10:27 -08:00