Recovery/Redundant boot and HAB

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

Recovery/Redundant boot and HAB

1,494 Views
maffan
Contributor I

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?

Labels (1)
0 Kudos
Reply
3 Replies

1,473 Views
Harvey021
NXP TechSupport
NXP TechSupport

SoC can go into SPI NOR recovery boot before SDP upon HAB failure if SPI NOR set. 

 

Best regards

Harvey

0 Kudos
Reply

1,459 Views
maffan
Contributor I

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

0 Kudos
Reply

1,442 Views
Harvey021
NXP TechSupport
NXP TechSupport

sorry for the "if SPI NOR set", by default, SPI NOR should be used as a recovery boot device, if the correct image is in it. It will not enter download mode.

 

Regards

Harvey

0 Kudos
Reply