| This example code implements the FIP image backup function through BL2 in TF-A, ensuring that the system can still boot successfully even if the primary image becomes corrupted. | | | | |
This example code implements the backup function of Trusted Firmware-A (TF-A). When BL2 in TF-A detects that a FIP image fails to load or that signature verification during secure boot fails, it will attempt to load the image from the backup region to complete the system boot process.
TF-A is an official boot framework provided by Arm®, designed to implement a secure boot flow for SoCs. The Firmware Image Package (FIP) is a container format used to bundle multiple TF-A images such as BL31, BL32, and BL33 into a single package for BL2 to verify and load at once. Its structure is defined within the fiptool utility. BL2 plays a critical role in the Arm TF-A boot architecture. You can download the sample code at EC_MA35D1_TF-A_FIP_Backup_V1.00
|