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?