If I've understood the reference manual (IMX8MMRM) correctly, SPI NOR recovery boot only kicks in if the SoC can't find a valid IVT on the selected boot device. If HAB verification fails however, PERSIST_SECONDARY_BOOT is set, and upon reset the SoC will try to find a secondary boot image on the same boot device.
Is there a way to have the SoC go into SPI NOR recovery boot upon HAB failure, or do we have to implement both recovery boot and redundant boot to be able to rescue our device in all cases?
Thanks for your response @Harvey021 !
What do you mean with "if SPI NOR set"? Do you mean the "Recovery boot enable" eFUSE, or the "Boot device selection" BOOT_CFG eFUSEs, or something else?
Kind Regards