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)