Image burning via UUU failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Image burning via UUU failed

139 次查看
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

标签 (1)
0 项奖励
回复
1 回复

112 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2203108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%BE%E7%89%87%E7%87%83%E7%83%A7%E9%80%9A%E8%BF%87%20UUU%20%E5%A4%B1%E8%B4%A5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2203108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%88%91%E4%BB%AC%E6%9C%89%E4%B8%80%E6%AC%BE%E5%9F%BA%E4%BA%8E%20i.MX8MP-EVK%20%E7%9A%84%E5%AE%9A%E5%88%B6%E6%9D%BF%EF%BC%8C%E9%85%8D%E5%A4%87%2016GB%20eMMC%EF%BC%88%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%EF%BC%89%E3%80%82%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%3E%E6%88%91%E4%BB%AC%E7%9A%84%E5%9B%BE%E5%83%8F%E5%8C%85%E5%90%AB%20dbg-pkgs%20%E4%BB%A3%E7%A0%81%E5%8C%85%EF%BC%8C%E5%9B%A0%E6%AD%A4%E7%94%9F%E6%88%90%E7%9A%84%20.wic.zst%20%E6%96%87%E4%BB%B6%E5%A4%A7%E5%B0%8F%E8%BE%BE%E5%88%B0%E5%A4%A7%E7%BA%A6%208GB%E3%80%82%E5%BD%93%E6%88%91%E4%BB%AC%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20uuu%20%E5%B0%86%E5%85%B6%E9%97%AA%E5%AD%98%E5%88%B0%20eMMC%20%E6%97%B6%EF%BC%8C%E5%88%B7%E6%96%B0%E8%BF%87%E7%A8%8B%E4%BC%BC%E4%B9%8E%E4%B8%8D%E5%AE%8C%E6%95%B4%E2%80%94%E2%80%94%E9%A2%84%E8%AE%A1%E9%9C%80%E8%A6%81%E5%A4%A7%E7%BA%A6%2010%20%E5%88%86%E9%92%9F%EF%BC%8C%E4%BD%86%E5%8F%AA%E9%9C%80%202%20%E5%88%86%E9%92%9F%E5%8D%B3%E5%8F%AF%E5%AE%8C%E6%88%90%EF%BC%8C%E4%B9%8B%E5%90%8E%E4%B8%BB%E6%9D%BF%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E4%BB%AC%E4%BD%BF%E7%94%A8%E7%9A%84%20uuu%20%E7%89%88%E6%9C%AC%E6%98%AF%201.4.149%EF%BC%8C%E6%89%A7%E8%A1%8C%E7%9A%84%E5%91%BD%E4%BB%A4%E6%98%AF%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%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%3E%E6%AD%A4%E5%A4%96%EF%BC%8C%E6%88%91%E4%BB%AC%E8%BF%98%E5%AF%B9%20imx-%E5%90%AF%E5%8A%A8-%E5%90%AF%E5%8A%A8part.wks.in%20%E6%96%87%E4%BB%B6%E8%BF%9B%E8%A1%8C%E4%BA%86%E5%A6%82%E4%B8%8B%E4%BF%AE%E6%94%B9%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%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%3E%3CBR%20%2F%3E%E6%88%96%E8%80%85%E6%9C%89%E4%BB%80%E4%B9%88%E7%89%B9%E5%AE%9A%E7%9A%84%E8%AE%BE%E7%BD%AE%E6%88%96%E5%88%86%E5%8C%BA%E5%B8%83%E5%B1%80%E8%B0%83%E6%95%B4%E6%96%B9%E6%B3%95%E5%8F%AF%E4%BB%A5%E7%94%A8%E4%BA%8E%E5%A4%A7%E5%9E%8B%E9%95%9C%E5%83%8F%EF%BC%9F%3C%2FP%3E%3CP%3E%E8%87%B4%E4%BB%A5%E6%9C%80%E8%AF%9A%E6%8C%9A%E7%9A%84%E9%97%AE%E5%80%99%EF%BC%8C%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%3E%E8%83%BD%E5%90%A6%E7%BB%99%E6%88%91%E4%B8%8B%E8%BD%BD%E6%97%A5%E5%BF%97%EF%BC%9F%20%E5%9C%A8%20uuu%20%E5%91%BD%E4%BB%A4%E4%B8%AD%E6%B7%BB%E5%8A%A0%20-v%EF%BC%8C%E5%B9%B6%E7%A1%AE%E8%AE%A4%E6%82%A8%E7%9A%84%E5%9B%BE%E5%83%8F%E6%98%AF%E5%90%A6%E6%AD%A3%E5%B8%B8%EF%BC%9F%20%E5%85%B3%E4%BA%8E%E5%88%86%E5%8C%BA%E9%97%AE%E9%A2%98%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E6%AD%A4%E5%A4%84%E7%9A%84%E8%AE%A8%E8%AE%BA%E3%80%82%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%20%E4%BB%8E%20UUU%20%E5%B7%A5%E5%85%B7%E5%88%86%E5%8C%BA%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E