BL2 MMC Access and BL3x Binary Loading and Recovery mechanism in Secure Boot Flow on NXP S32G399ACGM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BL2 MMC Access and BL3x Binary Loading and Recovery mechanism in Secure Boot Flow on NXP S32G399ACGM

Jump to solution
230 Views
yashasdu
Contributor I

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!

0 Kudos
Reply
1 Solution
164 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yashasdu,

Here are my answer to your questions:

If needed you can contact professional services and request this implementation:

NXP Engineering Services

Professional Support for Processors and Microcontrollers

Professional Engineering Services Information Request (CAM802 2019)

 

Although we cannot offer support on the implementation you need, if you encounter any problem related to the BSP or chips themselves, please create a post detailing it and me or one of my colleagues will try to help you.

 

Please let me know if you have more questions.

 

 

View solution in original post

0 Kudos
Reply
2 Replies
165 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yashasdu,

Here are my answer to your questions:

If needed you can contact professional services and request this implementation:

NXP Engineering Services

Professional Support for Processors and Microcontrollers

Professional Engineering Services Information Request (CAM802 2019)

 

Although we cannot offer support on the implementation you need, if you encounter any problem related to the BSP or chips themselves, please create a post detailing it and me or one of my colleagues will try to help you.

 

Please let me know if you have more questions.

 

 

0 Kudos
Reply
77 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yashasdu,

Were your questions answered with the information I provided? or do you have more questions. 

I so please select my reply as an accepted solution.

 

Thanks in advance

0 Kudos
Reply