how to flash image directly,do not make rootfs image everytime?

Hi,
I want to know how to flash image directly,do not make rootfs image everytime.

Thank you !

If you flash on command line (the GUI is a front end for doing this), then a normal flash would be like this, which builds the image each time:

sudo ./flash.sh jetson-xavier mmcblk0p1

If you add the “-r” option, then it uses whatever the current “bootloader/system.img” is:

sudo ./flash.sh <i><b>-r</b></i> jetson-xavier mmcblk0p1

This also happens to be how a clone image can be used to restore a rootfs partition.

Hi linuxdev,
I have tested the command you provide ,it worked. Thank you!