sonic-buildimage/platform
Alexander Allen 8a07af95e5
[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-24 00:56:38 -08:00
..
barefoot [platform/barefoot] fix bullseye build system (#9779) 2022-01-22 10:33:34 -08:00
broadcom [Accton platform] Fix kernel 5.10 build failed in fan drv (#9744) 2022-01-22 10:37:51 -08:00
cavium [dockers] change RPC, DBG dockers version: put RPG, DBG sign in build metadata part of the version (#8920) 2021-11-01 19:02:57 +02:00
centec [centec][build] Fix docker-syncd-centec-rpc build fail (#9612) 2022-01-05 10:44:38 -08:00
centec-arm64 [centec][build] Fix docker-syncd-centec-rpc build fail (#9612) 2022-01-05 10:44:38 -08:00
checkout Platform/cisco-8000 module for sonic-buildimage (#8172) 2021-08-06 09:11:54 +08:00
components [docker-gbsync-credo]: Don't install libprotobuf-dev and its dependencies 2022-01-06 09:26:55 -08:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [SFP-Refactor] Modify transceiver key name (#9447) 2021-12-09 12:38:45 +05:30
marvell [Marvell] Move amd64 & arm64 syncd to buster (#8869) 2021-11-04 07:44:33 -07:00
marvell-arm64 [marvell-arm64]: Fix typo at _UNINSTALL which will block building (#9267) 2021-11-17 21:00:21 -08:00
marvell-armhf [SFP-Refactor] Modify transceiver key name (#9447) 2021-12-09 12:38:45 +05:30
mellanox [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
nephos [dockers] change RPC, DBG dockers version: put RPG, DBG sign in build metadata part of the version (#8920) 2021-11-01 19:02:57 +02:00
p4 Add support to start fdbsyncd when orchagent docker starts (#5979) 2020-12-24 18:36:01 -08:00
pddf [pddf]: Adding pre_pddf_init script in the service file (#7834) 2022-01-02 22:28:48 -08:00
template For syncd, specify that they're Buster-based containers in the template file instead of the individual container definitions 2021-11-10 15:27:22 -08:00
vs [build] Remove dulplicated DOCKER_SYNCD_BASE target. (#9378) 2021-12-13 11:06:10 +08:00