How the iMX8MM boots from the User data area of the eMMC

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

How the iMX8MM boots from the User data area of the eMMC

681 Views
lishaocheng
Contributor III

My board uses the iMX8MM chip and 8GB eMMC.(version 5.0)

My imx-boot file is 3.7MB and the boot partition of eMMC is only 2M (BOOT_SIZE_MULT of ECSD is 0x10), so the write failed.
So, I wrote the imx-boot file to the 0x8400 address of user data area of eMMC, and set the BOOT_PARTITION_ENABLE of ECSD[179] to 0x7, and the system can boot normally.
I would like to know if this is the right way to set up my system.

Also, I did a test, only the first 2MB of the imx-boot file is burned to the user data area of eMMC, the system can also boot up, I don't know why.

Thanks!

Translated with www.DeepL.com/Translator (free version)

Labels (2)
0 Kudos
1 Reply

621 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, the start address should be ok, you can refer to the linux user guide as below:

joanxie_0-1626858359056.png

 

0 Kudos