Questions about uuu

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

Questions about uuu

896 次查看
Blake001
Contributor III

I'm working on both i.MX 8mm evk and I.MX 8mm custom board. After I produce the .wic from the yocto, I can easily flash it to the emmc by this:

sudo uuu -b emmc_all imx-boot-imx8mm-lpddr4-evk-sd.bin-flash_evk core-image-minimal-imx8mm-lpddr4-evk.rootfs-20240925213534.wic

However, if I would like to flash the bootloader, .dtb, kernel image and root file system seperately, can I still use the uuu? 

I also saw an example involved with the _initramfs.cpio.gz.uboot, it use uuu scripts flash them sperately, but right now I don't have the _initramfs.cpio.gz.uboot, how can I use the uuu to flash the emmc?

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

879 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You could use this propose for debugging your changes.

The script using UUU would be to write to the partition the additional .dtb and replace the kernel image. This is an example of adding a .dtb to the partition.

uuu -v -b fat_write .\<built-on-pc>.dtb mmc <usdhc interface>:1 <flashed-on-target>.dtb

Regards

0 项奖励
回复

835 次查看
Blake001
Contributor III

 

Thank you so much for the instrucitons. It is really helpful to use the emmc as sdcard and change the dtb or image instantly.

I'm trying to use the ums command but it shows the error like below, it is a imx8mm custom board, how can I resovle it? If you have any suggestion, please let me know. 

Blake001_0-1727825042184.png

Best Regards,

Blake

0 项奖励
回复

787 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Is the board getting detected when running the command?

You could try with fastboot command or booting in serial download mode.

Regards,

0 项奖励
回复