sonic-buildimage
sonic-buildimage copied to clipboard
[Mellanox] Add a new reset cause for SN2201 platform
Why I did it
Add a new reset cause "reset_aux_pwr_or_fu" which was added starting from kernel 5.19 for the SN2201 platform.
Work item tracking
- Microsoft ADO (number only):
How I did it
Add a new reset cause "reset_aux_pwr_or_fu" in chassis.reboot_major_cause_dict.
How to verify it
Test the SN2201 platform by triggering a reboot through power-off and verify that the reboot cause is correctly recognized.
Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305
Tested branch (Please provide the tested image version)
- [ ]
- [ ]
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)
How is this change limited to SN2201 only?
How is this change limited to SN2201 only?
"reset_aux_pwr_or_fu" only exists on SN2201 as it has a different CPLD implementation and CPLD-related drivers than other platforms.
Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-buildimage/pull/20822