Image burning via UUU failed

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

Image burning via UUU failed

590 Views
Leo-Yang
Contributor I

Hi,

We have a custom board based on the i.MX8MP-EVK, with a 16GB eMMC (as shown below).

LeoYang_1-1762915206516.png

 

Our image includes the dbg-pkgs package, so the resulting .wic.zst file size reaches about 8GB. When we try to flash it to the eMMC using uuu, the flashing process seems incomplete — it is expected to take around 10 minutes, but it finishes in just 2 minutes, and the board fails to boot afterward.

The uuu version we’re using is 1.4.149, and the command executed is:

./uuu -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-multimedia-imx8mpevk.rootfs.wic.zst

Additionally, we have modified the imx-boot-bootpart.wks.in file as follows:

# short-description: Create SD card image with a boot partition
# long-description:
# Create an image that can be written onto a SD card using dd for use
# with i.MX SoC family
# It uses u-boot + other binaries gathered together on imx-boot file
#
# The disk layout used is:
#  - ---------- -------------- --------------
# | | imx-boot |     boot     |    rootfs    |
#  - ---------- -------------- --------------
# ^ ^          ^              ^              ^
# | |          |              |              |
# 0 |        8MiB          72MiB          72MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
#   ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual
#
part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 --fixed-size 10G
part / --ondisk mmcblk --fstype=ext4 --label root2 --align 8192 --fixed-size 1500M
part / --ondisk mmcblk --fstype=ext4 --label evcsdata --align 8192 --fixed-size 1500M

bootloader --ptable msdos

 

Is there any way to completely flash a large image to eMMC?
Or are there specific uuusettings or partition layout adjustments we should apply for large images?

Best regards,
Leo

Labels (1)
0 Kudos
Reply
1 Reply

563 Views
joanxie
NXP TechSupport
NXP TechSupport

do you mind giving me the download log? add -v in the uuu command, and could you confirm if your image is fine or not? for the partition questions, you can refer to the discussion here

IMX8MN-EVK EMMC Partition from UUU tool - NXP Community

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2203108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EImage%20burning%20via%20UUU%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2203108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20have%20a%20custom%20board%20based%20on%20the%20i.MX8MP-EVK%2C%20with%20a%2016GB%20eMMC%20(as%20shown%20below).%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LeoYang_1-1762915206516.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LeoYang_1-1762915206516.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F365065i6FCD17B562FB8BAF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22LeoYang_1-1762915206516.png%22%20alt%3D%22LeoYang_1-1762915206516.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EOur%20image%20includes%20the%20dbg-pkgs%20package%2C%20so%20the%20resulting%20.wic.zst%26nbsp%3Bfile%20size%20reaches%20about%208GB.%20When%20we%20try%20to%20flash%20it%20to%20the%20eMMC%20using%20uuu%2C%20the%20flashing%20process%20seems%20incomplete%20%E2%80%94%20it%20is%20expected%20to%20take%20around%2010%20minutes%2C%20but%20it%20finishes%20in%20just%202%20minutes%2C%20and%20the%20board%20fails%20to%20boot%20afterward.%3C%2FP%3E%3CP%3EThe%20uuu%20version%20we%E2%80%99re%20using%20is%201.4.149%2C%20and%20the%20command%20executed%20is%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E.%2Fuuu%20-b%20emmc_all%20imx-boot-imx8mpevk-sd.bin-flash_evk%20imx-image-multimedia-imx8mpevk.rootfs.wic.zst%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EAdditionally%2C%20we%20have%20modified%20the%20imx-boot-bootpart.wks.in%20file%20as%20follows%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%23%20short-description%3A%20Create%20SD%20card%20image%20with%20a%20boot%20partition%0A%23%20long-description%3A%0A%23%20Create%20an%20image%20that%20can%20be%20written%20onto%20a%20SD%20card%20using%20dd%20for%20use%0A%23%20with%20i.MX%20SoC%20family%0A%23%20It%20uses%20u-boot%20%2B%20other%20binaries%20gathered%20together%20on%20imx-boot%20file%0A%23%0A%23%20The%20disk%20layout%20used%20is%3A%0A%23%20%20-%20----------%20--------------%20--------------%0A%23%20%7C%20%7C%20imx-boot%20%7C%20%20%20%20%20boot%20%20%20%20%20%7C%20%20%20%20rootfs%20%20%20%20%7C%0A%23%20%20-%20----------%20--------------%20--------------%0A%23%20%5E%20%5E%20%20%20%20%20%20%20%20%20%20%5E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%0A%23%20%7C%20%7C%20%20%20%20%20%20%20%20%20%20%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%0A%23%200%20%7C%20%20%20%20%20%20%20%208MiB%20%20%20%20%20%20%20%20%20%2072MiB%20%20%20%20%20%20%20%20%20%2072MiB%20%2B%20rootfs%20%2B%20IMAGE_EXTRA_SPACE%20(default%2010MiB)%0A%23%20%20%20%24%7BIMX_BOOT_SEEK%7D%2032%20or%2033kiB%2C%20see%20reference%20manual%0A%23%0Apart%20u-boot%20--source%20rawcopy%20--sourceparams%3D%22file%3Dimx-boot%22%20--ondisk%20mmcblk%20--no-table%20--align%20%24%7BIMX_BOOT_SEEK%7D%0Apart%20%2F%20--source%20rootfs%20--ondisk%20mmcblk%20--fstype%3Dext4%20--label%20root%20--align%208192%20--fixed-size%2010G%0Apart%20%2F%20--ondisk%20mmcblk%20--fstype%3Dext4%20--label%20root2%20--align%208192%20--fixed-size%201500M%0Apart%20%2F%20--ondisk%20mmcblk%20--fstype%3Dext4%20--label%20evcsdata%20--align%208192%20--fixed-size%201500M%0A%0Abootloader%20--ptable%20msdos%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3EIs%20there%20any%20way%20to%20completely%20flash%20a%20large%20image%20to%20eMMC%3F%3CBR%20%2F%3EOr%20are%20there%20specific%20uuusettings%20or%20partition%20layout%20adjustments%20we%20should%20apply%20for%20large%20images%3F%3C%2FP%3E%3CP%3EBest%20regards%2C%3CBR%20%2F%3ELeo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2203108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208M%20%7C%20i.MX%208M%20Mini%20%7C%20i.MX%208M%20Nano%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2203362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Image%20burning%20via%20UUU%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2203362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Edo%20you%20mind%20giving%20me%20the%20download%20log%3F%20add%20-v%20in%20the%20uuu%20command%2C%20and%20could%20you%20confirm%20if%20your%20image%20is%20fine%20or%20not%3F%20for%20the%20partition%20questions%2C%20you%20can%20refer%20to%20the%20discussion%20here%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FIMX8MN-EVK-EMMC-Partition-from-UUU-tool%2Ftd-p%2F1203028%2Fpage%2F2%22%20target%3D%22_blank%22%3EIMX8MN-EVK%20EMMC%20Partition%20from%20UUU%20tool%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E