Hello NXP Community,
On my custom S32G399ACGM board with Yocto BSP43 and secure boot enabled, the BL3x binaries (BL31, BL32, BL33) reside in the first partition of the MMC.
As BL2 is responsible for loading and authenticating these binaries during boot, I am looking to implement a recovery mechanism within this BL3x loading process.
To proceed, I need detailed insight into the current default mechanism by which BL2 fetches and loads these binaries from the MMC partition:
Does BL2 access the MMC partition as raw data using fixed offsets or hardcoded addresses?
Does it parse partition tables or filesystems to locate the binaries?
Which exact parts of the TF-A or platform code implement this loading and authentication?
Are there existing implementations for recovery mechanisms around this BL3x loading flow?
Understanding this will allow me to appropriately design and integrate a recovery solution in the BL3x load/authenticate process.
Any references to source code, configuration files, or documentation—especially for Yocto BSP43 on S32G399ACGM—would be highly beneficial.
Thank you for your assistance!