sonic-buildimage/platform
Junchao-Mellanox 648c94dd59 [Mellanox] wait reset cause ready (#16722)
Why I did it
SONiC service determine-reboot-cause might run before driver creating reset cause files. In that case, the reset cause will be "Unknown". This PR introduces a wait mechanism to wait for reset cause sysfs files ready.

How I did it
/run/hw-management/config/reset_attr_ready is the file to indicate all reset cause files are ready. In chassis.get_reboot_cause function, it waits /run/hw-management/config/reset_attr_ready for up to 45 seconds.

How to verify it
Manual test on master/202211/202205
2023-10-04 14:34:30 +08:00
..
barefoot [202305][Arista] Update platform library submodules (#16375) 2023-09-08 23:42:18 -07:00
broadcom [Nokia][sonic-platform] Update Nokia sonic-platform submodule (#16348) 2023-09-21 18:33:53 +08:00
cavium [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
centec [Centec] Upgrade Centec platform containers(syncd/saiserver/syncd-rpc) to bullseye (#13375) 2023-02-06 09:26:35 -08:00
centec-arm64 [Centec] Upgrade Centec platform containers(syncd/saiserver/syncd-rpc) to bullseye (#13375) 2023-02-06 09:26:35 -08:00
checkout Platform/cisco-8000 module for sonic-buildimage (#8172) 2021-08-06 09:11:54 +08:00
components Revert "[gearbox] use credo sai v0.9.0 (#14149)" (#15708) (#15879) 2023-07-19 20:25:29 +08:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium Add debug shell packages for Marvell Innovium platforms (#11845) 2023-04-13 22:04:36 +03:00
marvell [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
marvell-arm64 [Nokia-7215-A1] Update Nokia-7215-A1 platform (#15342) 2023-09-05 00:35:18 +08:00
marvell-armhf [Marvell] Update armhf sai debian to add SAI 1.12 support (#16299) 2023-09-21 18:33:57 +08:00
mellanox [Mellanox] wait reset cause ready (#16722) 2023-10-04 14:34:30 +08:00
nephos [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
p4 [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
pddf [pddf]: Adding S3IP supported attribute for FAN in PDDF (#15075) 2023-05-18 14:06:46 -07:00
s3ip-sysfs The CPLD and FPGA driver framework module complies with s3ip sysfs specification (#12891) 2022-12-16 22:05:53 +08:00
template Mount directory warmboot in docker gbsyncd (#11852) 2022-08-26 22:00:45 +08:00
vs [BGP] support BGP pending FIB suppression (#12853) 2023-04-20 19:56:13 +08:00