How to flash only rootfs with uuu command

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to flash only rootfs with uuu command

1,407件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,398件の閲覧回数
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 件の賞賛
返信

1,388件の閲覧回数
13614278
Contributor III

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

0 件の賞賛
返信