I.MX 8QM How to set up recovery boot

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

I.MX 8QM How to set up recovery boot

1,819 Views
cmzb1999
Contributor I

I would like to create customized recovery image. While I do not know how to config it. Simple thinking, there shall have efuse to define recovery device, probably address? I did not found efuse index about recovery.

 

And in I.MX8 QM Reference Manual, there has a secondary container set. Where to define the address of secondary container set in the boot device?

Thank you very much!

 

 

 

0 Kudos
Reply
5 Replies

1,787 Views
cmzb1999
Contributor I

Hi Aido,

Thank you for prompt response. I have another question. For the primary image set, there have 2 image set(1,2), SCFW select the newer version of image set. For the secondary image set, SCFW select the older version of image set. I wonder how to build 2 image sets into the primary image set.

0 Kudos
Reply

1,727 Views
AldoG
NXP TechSupport
NXP TechSupport
Hello,

I do not quite understand your question, is it that you want to have the same SW version in 2 different containers?

Also, please note that you cannot have the 2 images in the same set, since the purpose is to have a recovery in a different set so in case primary boot gets corrupted, secondary boot will be available.

Best regards/Saludos,
Aldo.
0 Kudos
Reply

1,703 Views
cmzb1999
Contributor I

Hi,

From I.MX8QMRM, Figure 5-2, High Level Boot Flow (1 of 3) - SCU ROM Boot Start, it is easy to get there totally have 4 image sets. 2 for primary image and 2 for secondary image. 

 

If what you mean is only one image sets existing in primary image, the figure 5-2 need fixed.

 

Thank you very much!

0 Kudos
Reply

1,682 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please accept my apologize for the confusion, but please note that for each container, as specified in the same figure you used as refeence in the reference manual, there is 2 sets, so you may have 2 set only for each container.

So both your toughts and the reference manual are correct.

Best regards/Saludos,
Aldo.

0 Kudos
Reply

1,796 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may refer to the following:
https://community.nxp.com/t5/Blog/i-MX8QXP-eMMC-Secondary-Boot/ba-p/1257704

There are small differences for i.MX8QM, like the fuse address, for this you may refer to the Reference manual Fusemap chapter.

AldoG_0-1706659140420.png


Best regards/Saludos,
Aldo.

0 Kudos
Reply