Questions about uuu

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

Questions about uuu

901 Views
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?

Labels (1)
0 Kudos
Reply
3 Replies

884 Views
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 Kudos
Reply

840 Views
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 Kudos
Reply

792 Views
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 Kudos
Reply