sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[Mellanox] Add a new reset cause for SN2201 platform

Open keboliu opened this issue 1 year ago • 2 comments

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)

keboliu avatar Sep 27 '24 06:09 keboliu

How is this change limited to SN2201 only?

bingwang-ms avatar Oct 21 '24 21:10 bingwang-ms

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.

keboliu avatar Oct 28 '24 11:10 keboliu

Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-buildimage/pull/20822

mssonicbld avatar Nov 15 '24 18:11 mssonicbld