sonic-buildimage/device/mellanox
Alexander Allen e8418fd2da [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608)
Why I did it
Requirements from Microsoft for fwutil update all state that all firmwares which support this upgrade flow must support upgrade within a single boot cycle. This conflicted with a number of Mellanox upgrade flows which have been revised to safely meet this requirement.

How I did it
Added --no-power-cycle flags to SSD and ONIE firmware scripts
Modified Platform API to call firmware upgrade flows with this new flag during fwutil update all
Added a script to our reboot plugin to handle installing firmwares in the correct order with prior to reboot
How to verify it
Populate platform_components.json with firmware for CPLD / BIOS / ONIE / SSD
Execute fwutil update all fw --boot cold
CPLD will burn / ONIE and BIOS images will stage / SSD will schedule for reboot
Reboot the switch
SSD will install / CPLD will refresh / switch will power cycle into ONIE
ONIE installer will upgrade ONIE and BIOS / switch will reboot back into SONiC
In SONiC run fwutil show status to check that all firmware upgrades were successful
2022-01-30 22:48:54 -08:00
..
x86_64-mlnx_lssn2700-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-mlnx_msn2010-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn2100-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn2410-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn2700_simx-r0 [PMON] Skip chassis_db_init task on Mellanox simx platform (#9017) 2021-10-24 09:10:41 -07:00
x86_64-mlnx_msn2700-r0 [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-30 22:48:54 -08:00
x86_64-mlnx_msn2740-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3420-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3700_simx-r0 [PMON] Skip chassis_db_init task on Mellanox simx platform (#9017) 2021-10-24 09:10:41 -07:00
x86_64-mlnx_msn3700-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3700c-r0 [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
x86_64-mlnx_msn3800-r0 Fix typo and missing files in SN3800 and SN4600C's buffer templates (#9537) 2022-01-08 16:35:47 -08:00
x86_64-mlnx_msn4410-r0 [Mellanox] update system_health_monitoring_config for MSN4410/MSN4600/MSN4700 (#9728) 2022-01-22 22:40:43 -08:00
x86_64-mlnx_msn4600-r0 [Mellanox] update system_health_monitoring_config for MSN4410/MSN4600/MSN4700 (#9728) 2022-01-22 22:40:43 -08:00
x86_64-mlnx_msn4600c-r0 [Mellanox] Add sensors conf for MSN4600C A1 platform (#9706) 2022-01-16 22:44:56 -08:00
x86_64-mlnx_msn4700_simx-r0 [PMON] Skip chassis_db_init task on Mellanox simx platform (#9017) 2021-10-24 09:10:41 -07:00
x86_64-mlnx_msn4700-r0 [Mellanox] update system_health_monitoring_config for MSN4410/MSN4600/MSN4700 (#9728) 2022-01-22 22:40:43 -08:00
x86_64-mlnx_x86-r5.0.1400 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-nvidia_sn2201-r0 [Mellanox] Add support for SN2201 platform (#9333) 2021-12-26 20:57:52 -08:00
x86_64-nvidia_sn4800_simx-r0 [Mellanox] Rename platform x86_64-mlnx_msn4800 to x86_64-nvidia_sn4800 (#9512) 2022-01-08 16:35:30 -08:00
x86_64-nvidia_sn4800-r0 [Mellanox] Rename platform x86_64-mlnx_msn4800 to x86_64-nvidia_sn4800 (#9512) 2022-01-08 16:35:30 -08:00
x86_64-nvidia_sn5600_simx-r0 [Mellanox] Add support of SN5600 platform on top of Nvidia ASIC simulation (#9392) 2022-01-08 16:35:56 -08:00