On IMX7, that has an eMMC with 2 boot blocks/physical partitions, boot0 and boot1, would it be possible to use one or the other as a redundant bootloader?
I would like to flash primary bootloader on boot0 and secondary bootloader on boot1. Both images are signed and verified by HAB. Verified as in I signed/flashed either images individually and made sure the board boots with either image.
For my use case I would like that if the primary bootloader gets corrupted, the ROM/HAB should validate the secondary bootloader and boot from there. Is this possible?
I have read about the primary and secondary bootloader being flashed on the same boot partition with secondary image table but I really dont want the two bootloader images to reside on the same block. I would like to have it working the way I described above. Please let me know if that is do able?