Kuavo Docs
Image Recovery

Flashing the Robot Host Computer Image (NX)

NX_1.3.0.zip Image Download Link

Preparations

ItemQuantityExample Image
1A computer/host with Ubuntu 20.04 installed, with a monitor1/
2NVIDIA Jetson Orin NX device (installed at the robot's chest; the body shell must be removed)1/
3External hard drive for flashing the image (250 GB or larger)1
4One Dupont wire (female-to-female)1
5Type-C data cable (must support data communication)1/
6Register an NVIDIA account (used to sign in to SDK Manager)1/

Pre-flashing Preparation

  1. Put the Orin NX into Recovery mode: use the Dupont wire to short GND and REC on the NVIDIA Jetson Orin NX to enter Force Recovery Mode.

  1. Power on the NX (you can press the button on the back of the robot to power on the whole machine).
  2. Use a USB-to-Type-C cable: plug the USB end into the Ubuntu host and the Type-C end into the port on the NX.

The NX is now connected to the Ubuntu host, and image flashing can begin.

  1. After flashing is complete, power off the robot first, unplug the shorting Dupont wire and the connected Type-C cable, then reinstall the rear shell and restart the robot.

I. Copying the Image

On the Ubuntu host, open the file manager, locate the external hard drive folder, and copy the image file nvidia_jeston_nx_backup_images_20250325_191108.tar.gz from it to the Ubuntu host directory ~/nvidia/nvidia_sdk/JetPack_5.1.4_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/backup_restore, then extract it. Run the following commands in the host terminal:

cd ~/nvidia/nvidia_sdk/JetPack_5.1.4_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/backup_restore
tar -xzf nvidia_jeston_nx_backup_images_20250325_191108.tar.gz

II. Flashing the Image from the Command Line

Open a new terminal on the Ubuntu host, then run the command below (takes about 10-15 minutes):

cd ~/nvidia/nvidia_sdk/JetPack_5.1.4_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra
sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit

If the final log output shows

Operation finishes. You can manually reset the device

the flashing was successful!

III. Backing Up the Image

If you develop projects on the host computer NX and need to back up the project's system files and dependency libraries, you can back up the image yourself and restore it later.

  1. Connect the Ubuntu host to the NX; for the connection method, refer to Pre-flashing Preparation.
  2. Run the following in the Ubuntu terminal (takes about 10-15 minutes):
cd ~/nvidia/nvidia_sdk/JetPack_5.1.4_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra
sudo ./tools/backup_restore/l4t_backup_restore.sh  -e nvme0n1 -b jetson-orin-nano-devkit
cd ~/nvidia/nvidia_sdk/JetPack_5.1.4_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/backup_restore
timestamp=$(date +%Y%m%d_%H%M%S) && sudo tar --warning=no-file-changed -czf "nvidia_jeston_nx_backup_images_${timestamp}.tar.gz" images/
  1. A file named nvidia_jeston_nx_backup_images_xxx.tar.gz will now appear in the ~/nvidia/nvidia_sdk/JetPack_5.1.4_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/backup_restore directory on the Ubuntu host; this file is the reusable image file.

IV. Flashing the Image via the SDK Manager GUI (Custom Environment)

  1. First, install SDK Manager on the Ubuntu host. Open a terminal in Ubuntu and enter the following commands to download NVIDIA SDK Manager:

     ```shell
     wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb
     sudo dpkg -i cuda-keyring_1.1-1_all.deb
     sudo apt-get update
     wget https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64/sdkmanager_2.2.0-12028_amd64.deb  
     sudo apt install ./sdkmanager_2.2.0-12028_amd64.deb
     ```
  2. Following Pre-flashing Preparation, switch the NX to Recovery mode and connect it to the host.

  3. Run SDK Manager in the host terminal:

    sdkmanager --archived-versions
  4. You can see in the GUI that the NX is connected.

  1. To configure the JetPack 5.1.4 flash, select 5.1.4 in the SDK VERSION option, then click continue.

  1. Check the I accept the terms and conditions of the license agreements option, then click continue to proceed with the installation.
  2. Wait for the flashing to complete, then restore the NX.

V. Common Issues When Re-flashing the Image

  1. Flashing the image requires downloading SDK Manager 2.2.0-12028

    wget https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64/sdkmanager_2.2.0-12028_amd64.deb  
    sudo apt install ./sdkmanager_2.2.0-12028_amd64.deb 
  2. JetPack 5.1.4 cannot be selected in the SDK Manager GUI

    You need to run the command sdkmanager --archived-versions to launch the SDK GUI before it can be selected.

  3. If a CUDA installation error occurs: cuda-cross-aarch64-11-4 : Depends: g++-aarch64-linux-gnu → missing the GCC compiler for ARM64 cross-compilation;

    Then perform the following operations:

    1. Get the available dependency packages apt-cache madison gcc-9-aarch64-linux-gnu g++-9-aarch64-linux-gnu
    2. Install a compatible version of gcc-9-aarch64-linux-gnu sudo apt install -y gcc-9-aarch64-linux-gnu=<your available version number>
    3. Install the corresponding g++-9-aarch64-linux-gnu (the version must match the one above) sudo apt install -y g++-9-aarch64-linux-gnu=<your available version number>
    4. Install the complete cross-compilation toolchain (no version needs to be specified; apt will match it automatically) sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu