Flash whole image to jetson AGX

Hi,all

I know below command can flash reused system.img to agx.
sudo ./flash.sh -r jetson-xavier mmcblk0p1
but I want to know that is there any APP to replace flash.sh to flash system.img ?
becuase flash.sh exist in source code . I want to flash image to agx device by standalone APP without source code environment. is it possible ?or any other way?

hello ashingtsai,

it’s the file $OUT/Linux_for_Tegra/bootloader/system.img will flash to Jetson platform, writes to APP partition.
this file by default create by flash script, it’ll skip build process and re-use the exist file if you’re using -r options.

so, you may customize the system.img, replace the original file without yours, and using the same command-line to flash the target.

Hi,Jerry

sorry, I means do you have any tool can flash system.img into AGX device,not use flash.sh script?

hello ashingtsai,

you may have a try to use dd commands to write APP partition directly.
since it’s a huge file, you should expect this process will take a long while to complete the process.