My disk image looks like,
The emmc is imx8M dart and is 16 GB.
I am issuing the command
uuu -b emmc_all uboot_flashed.bin myimage.img
Trough the procedure I get 3 progresses.
Then the error/ warning because the image boots up okay an the partition looks healthy
Partition table
Device Boot Start End Sectors Size Id Type
/dev/sdb1 16384 2672639 2656256 1.3G 83 Linux
Thank you.
Solved! Go to Solution.
Hi @mariusoctavian ,
The error "image too large for partition" reports from U-boot. Actually, there are one or more small partitions (4MB) in eMMC, which is used for bootloader.
If your bootloader is larger than 4MB, just provide two ideas:
Warning: This method is not recommended, you had better put bootloader to boot partition to achieve more stronger stability, please carefully consider the consequences of this method for your products. If you determine to do in this way, please follow the steps:
step1: rebuild the u-boot
Refer to the patch (which is for i.MX93EVK) in the attachment: copy the bootloader to user partition and increase bootloader size to the appropriate size.
Build the u-boot.bin and rebuild the flash.bin(we call it flash_a.bin) using new u-boot.bin.
step2: flash the your real bootloader(we call it flash_B)
uuu -b emmc flash_A.bin flash_B.bin
step3: Change the boot partition
mmc partconf x x x x
see MMC – Gateworks for more information.
Regards,
Luca
Thank you.
Appreciate.
truncate -s 2G myimage.img