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?
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
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.
Best Regards,
Blake
Hi,
Is the board getting detected when running the command?
You could try with fastboot command or booting in serial download mode.
Regards,