Automatically switching eMMC boot partition with i.MX8MM

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

Automatically switching eMMC boot partition with i.MX8MM

Jump to solution
898 Views
Sampo
Contributor III

We use eMMC memory with our i.MX8MM. The memory has two boot partitions, each containing a copy of the bootloader. Secure boot is used.

Is there any way to automatically recover from the case that the selected boot partition contains an invalid bootloader? For example signed with a revoked key or corrupted somehow.

If I update an unsigned bootloader to the active partition, the device will go into serial download mode after rebooting.

Is there any way to configure the processor or Boot ROM to automatically try the other partition, if the active one fails to start?

Labels (1)
0 Kudos
Reply
1 Solution
864 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Yes, please refer to the Reference Manual chapter 6.1.5.4.5 Redundant boot support for expansion device.
 
For the secondary image support, the primary image must reserve the space for the secondary image table.

Also, for the Closed mode, if there are failures during primary image authentication, the boot ROM turns on the PERSIST_SECONDARY_BOOT bit (see Table 6-8) and performs the software reset. (After the software reset, the secondary image is used).

Best regards/Saludos,
Aldo.

View solution in original post

0 Kudos
Reply
1 Reply
865 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Yes, please refer to the Reference Manual chapter 6.1.5.4.5 Redundant boot support for expansion device.
 
For the secondary image support, the primary image must reserve the space for the secondary image table.

Also, for the Closed mode, if there are failures during primary image authentication, the boot ROM turns on the PERSIST_SECONDARY_BOOT bit (see Table 6-8) and performs the software reset. (After the software reset, the secondary image is used).

Best regards/Saludos,
Aldo.

0 Kudos
Reply