Hi, I know we can flash the whole image(uboot, kernel, rootfs) into emmc by below command:
----
uuu -b emmc_all uboot-file-name whole-sdcard-format.filename
----
Now, I want to just flash the rootfs into emmc, how can I do this? I checked the PDF document of UUU, but failed to find such case, could someone give us a sample for this.
Hello,
Yes it is possible, you may take uuu.auto script for i.MX8MM as an example, and just edit this part:
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all imx-image-multimedia-imx8mmevk.wic
//FB: flash bootloader imx-boot-imx8mmevk-sd.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done
Best regards,
Aldo.