sonic-buildimage/platform/mellanox/rules.dep
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

19 lines
697 B
Plaintext

# DPKG FRK
include $(PLATFORM_PATH)/sdk.dep
include $(PLATFORM_PATH)/fw.dep
include $(PLATFORM_PATH)/mft.dep
include $(PLATFORM_PATH)/mlnx-sai.dep
include $(PLATFORM_PATH)/hw-management.dep
include $(PLATFORM_PATH)/mlnx-platform-api.dep
include $(PLATFORM_PATH)/docker-syncd-mlnx.dep
include $(PLATFORM_PATH)/docker-syncd-mlnx-rpc.dep
include $(PLATFORM_PATH)/docker-saiserver-mlnx.dep
include $(PLATFORM_PATH)/one-image.dep
include $(PLATFORM_PATH)/libsaithrift-dev.dep
include $(PLATFORM_PATH)/mlnx-ffb.dep
include $(PLATFORM_PATH)/issu-version.dep
include $(PLATFORM_PATH)/mlnx-onie-fw-update.dep
include $(PLATFORM_PATH)/mlnx-ssd-fw-update.dep
include $(PLATFORM_PATH)/install-pending-fw.dep