How can i flash custom img file through flash.sh

Hi i have got a custom img file that i created through jetson-disk-image-creator.sh
Now i have to flash that file with the help of flash.sh, How can i do that ?

Hi,

Flash.sh does not flash “that file” only but the whole QSPI + sdcard.

If you already created image by using jetson-disk-image creator.sh which means the BSP shall already include the patch you added.

Thus, please just run flash.sh command to flash it. Of course, you need to add parameters like board config and root. If you don’t know what I am talking about, then please refer to the developer guide first.

Hi Wayne,

Product: I am using Xavier nx emmc
So i wasn’t clear earlier, what i want is to flash the img file without BSP , how can i do that ?

There is no such method for eMMC module.

Adding some notes: SD card models have an image you can create via “jetson-disk-image-creator.sh”. eMMC models have their own image created during flash based on “Linux_for_Tegra/rootfs/”. You wouldn’t want to mix the two images since SD card image expects the module to have QSPI memory, and eMMC does not.

You can flash a custom image with flash.sh, but it wouldn’t be the SD card image. Using the SD card image for this is likely to fail, but if you did have a custom image and it is placed as this file:
Linux_for_Tegra/bootloader/system.img
…then this command would use that system.img and not create its own (note I am assuming it is a dev kit carrier board):
sudo ./flash.sh -r jetson-xavier-nx-devkit mmcblk0p1
(leaving out the “-r” would cause each flash to overwrite “system.img” with a generic generated image)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.