<aside> 💡 This section shows method to flash jetson without taking out the internal ssd.

</aside>

Warning regarding the Jetson Xavier NX and AGX Xavier: The USB stack has a problem, so it is not possible to boot from a USB device on these systems.

Note for the Jetson Xavier NX: If you have a Jetson AGX Xavier system, you need to first flash the board's eMMC before using this method.

Note for the Jetson Xavier NX: Make sure to remove the SD card during this process. Additionally, the Xavier NX module has flash memory called QSPI-Nor onboard. This script will flash the QSPI memory along with the disk image.

Note for the Jetson Orin Nano and Orin NX: The Orin modules have flash memory called QSPI-Nor onboard. This script will flash the QSPI memory in addition to the disk image.

To run these scripts and work with Jetson disk image files, it is recommended to have at least 40GB of free space on the host. Having more space is even better.

Requirements

  1. "bootloader": This directory should contain the bootloader along with flashing tools like TegraFlash, CFG, and BCT.
  2. "kernel": It should include a kernel image file ("/Image"), DTB files, and kernel modules.
  3. "rootfs": This directory should contain the downloaded root file system. Initially, it will be empty, and you will need to populate it with the sample file system.
  4. "nv_tegra": This directory should contain user space binaries and sample applications.

Furthermore, before executing the commands, make sure to connect your host computer to the recovery port of the Jetson device using a USB cable.

Steps to follow

  1. To activate Force Recovery Mode on the target device, follow these steps:

  2. Make sure to unplug all the cables including power cable from the jetson. Plug in the micro usb otg cable into the jetson and connect it to host computer

  3. Power on the device

  4. Download this Jetson repo by the below command on the host computer :

https://github.com/jetsonhacks/bootFromExternalStorage/releases/tag/jetpack-5.1.1

sudo apt-get install qemu-user-static

Untitled

  1. Navigate into the bootFromExternalStorage
cd bootFromExternalStorage