How to flash only rootfs with uuu command

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

How to flash only rootfs with uuu command

960 Views
13614278
Contributor III

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.

0 Kudos
2 Replies

951 Views
AldoG
NXP TechSupport
NXP TechSupport

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.

0 Kudos

941 Views
13614278
Contributor III

Thank you very much for this help. We will check this method, thank you very much!

0 Kudos