Automatically switching eMMC boot partition with i.MX8MM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Automatically switching eMMC boot partition with i.MX8MM

跳至解决方案
900 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
866 次查看
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 项奖励
回复
1 回复
867 次查看
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 项奖励
回复