iMX8MQ-EVK: flashing eMMC problem

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

iMX8MQ-EVK: flashing eMMC problem

跳至解决方案
1,557 次查看
Julie3
Contributor II

Hi,

 

After bitbaking my imx-image-core for iMX8MQ-EVK, I tried to find how to flash an eMMC image.

I found some tutorials which use UUU tool:

- 'uuu -v -b emmc_all ' + .sdcard file (rootfs) + .bin-flash_evk file (bootloader)

- 'uuu_flash -b' + board_name + '-i ' .sdcard.bz2 file

 

The problem is that I don't have .sdcard file or .sdcard.bz2 file. So, I cannot use these methods.

Do you know how I could flash my eMMC image with an other command, or maybe help me to get .sdcard file or .sdcard.bz2 file?

 

You can see below the files that I have in my deploy/images/imx8mq-evk folder: 

 

~/imx-yocto-bsp/build/tmp/deploy/images/imx8mq-evk$ ls
Image imx8mq-evk-rpmsg.dtb

Image--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.bin imx8mq-evk-rpmsg-imx8mq-evk.dtb
Image-imx8mq-evk.bin imx8mq-evk-usdhc2-m2--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb
imx8mq-evk--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx8mq-evk-usdhc2-m2.dtb
imx8mq-evk-ak4497--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx8mq-evk-usdhc2-m2-imx8mq-evk.dtb
imx8mq-evk-ak4497.dtb imx8mq-evk-usd-wifi--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb
imx8mq-evk-ak4497-imx8mq-evk.dtb imx8mq-evk-usd-wifi.dtb
imx8mq-evk-audio-tdm--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx8mq-evk-usd-wifi-imx8mq-evk.dtb
imx8mq-evk-audio-tdm.dtb imx8mq_m4_TCM_hello_world.bin
imx8mq-evk-audio-tdm-imx8mq-evk.dtb imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin
imx8mq-evk-dcss-adv7535--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin
imx8mq-evk-dcss-adv7535.dtb imx-boot
imx8mq-evk-dcss-adv7535-imx8mq-evk.dtb imx-boot-imx8mq-evk-emmc.bin-flash_dp_evk
imx8mq-evk-dcss-rm67191--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx-boot-imx8mq-evk-emmc.bin-flash_evk
imx8mq-evk-dcss-rm67191.dtb imx-boot-imx8mq-evk-emmc.bin-flash_evk_no_hdmi
imx8mq-evk-dcss-rm67191-imx8mq-evk.dtb imx-boot-tagged
imx8mq-evk-dcss-rm67199--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx-boot-tools
imx8mq-evk-dcss-rm67199.dtb imx-image-core.env
imx8mq-evk-dcss-rm67199-imx8mq-evk.dtb imx-image-core-imx8mq-evk-20220325164117.rootfs.manifest
imx8mq-evk-dp--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx-image-core-imx8mq-evk-20220325164117.rootfs.tar.bz2
imx8mq-evk-dp.dtb imx-image-core-imx8mq-evk-20220325164117.rootfs.wic.bmap
imx8mq-evk-dp-imx8mq-evk.dtb imx-image-core-imx8mq-evk-20220325164117.rootfs.wic.bz2
imx8mq-evk.dtb imx-image-core-imx8mq-evk-20220325164117.testdata.json
imx8mq-evk-dual-display--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx-image-core-imx8mq-evk.manifest
imx8mq-evk-dual-display.dtb imx-image-core-imx8mq-evk.tar.bz2
imx8mq-evk-dual-display-imx8mq-evk.dtb imx-image-core-imx8mq-evk.testdata.json
imx8mq-evk-imx8mq-evk.dtb imx-image-core-imx8mq-evk.wic.bmap
imx8mq-evk-inmate--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb imx-image-core-imx8mq-evk.wic.bz2
imx8mq-evk-inmate.dtb imx-image-core-imx-imx-boot-bootpart.wks
imx8mq-evk-inmate-imx8mq-evk.dtb lpddr4_pmu_train_1d_dmem.bin
imx8mq-evk-lcdif-adv7535--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb lpddr4_pmu_train_1d_imem.bin
imx8mq-evk-lcdif-adv7535.dtb lpddr4_pmu_train_2d_dmem.bin
imx8mq-evk-lcdif-adv7535-imx8mq-evk.dtb lpddr4_pmu_train_2d_imem.bin
imx8mq-evk-lcdif-rm67191--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb modules--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.tgz
imx8mq-evk-lcdif-rm67191.dtb modules-imx8mq-evk.tgz
imx8mq-evk-lcdif-rm67191-imx8mq-evk.dtb signed_dp_imx8m.bin
imx8mq-evk-lcdif-rm67199--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb signed_hdmi_imx8m.bin
imx8mq-evk-lcdif-rm67199.dtb tee.bin
imx8mq-evk-lcdif-rm67199-imx8mq-evk.dtb tee.mx8mqevk.bin
imx8mq-evk-pcie1-m2--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb u-boot.bin
imx8mq-evk-pcie1-m2.dtb u-boot.bin-emmc
imx8mq-evk-pcie1-m2-imx8mq-evk.dtb u-boot-emmc-2021.04-r0.bin
imx8mq-evk-pcie-ep--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb u-boot-imx8mq-evk.bin
imx8mq-evk-pcie-ep.dtb u-boot-imx8mq-evk.bin-emmc
imx8mq-evk-pcie-ep-imx8mq-evk.dtb u-boot-imx-initial-env-emmc
imx8mq-evk-pdm--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb u-boot-imx-initial-env-imx8mq-evk-emmc
imx8mq-evk-pdm.dtb u-boot-imx-initial-env-imx8mq-evk-emmc-2021.04-r0
imx8mq-evk-pdm-imx8mq-evk.dtb u-boot-spl.bin
imx8mq-evk-root--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb u-boot-spl.bin-emmc
imx8mq-evk-root.dtb u-boot-spl.bin-imx8mq-evk
imx8mq-evk-root-imx8mq-evk.dtb u-boot-spl.bin-imx8mq-evk-2021.04-r0-emmc-2021.04-r0
imx8mq-evk-rpmsg--5.10.72+git0+a68e31b63f-r0-imx8mq-evk-20220325090052.dtb u-boot-spl.bin-imx8mq-evk-emmc

0 项奖励
回复
1 解答
1,548 次查看
khang_letruong
Senior Contributor III

Hi,

$ bzip2 -dkf imx-image-core-imx8mq-evk-20220325164117.rootfs.wic.bz2
$ sudo uuu -v -b emmc_all imx-boot-imx8mq-evk-emmc.bin-flash_evk imx-image-core-imx8mq-evk-20220325164117.rootfs.wic 

BR,

Khang

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,527 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hello Julie,

The reply from Khang is correct. and you also can refer to Linux user guide for more details.  the link to download as: 

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

 

Best regards

Harvey

1,549 次查看
khang_letruong
Senior Contributor III

Hi,

$ bzip2 -dkf imx-image-core-imx8mq-evk-20220325164117.rootfs.wic.bz2
$ sudo uuu -v -b emmc_all imx-boot-imx8mq-evk-emmc.bin-flash_evk imx-image-core-imx8mq-evk-20220325164117.rootfs.wic 

BR,

Khang

 

0 项奖励
回复