Documentation/Allspark2-Orin NX WikiEnglish · NX
Browse documentation
Additional documentation

Image Flashing && Upgrade

A. Place the installation package on the Ubuntu host and extract it:

5 min read · English documentation

Older Version

Ubuntu 20 (Jetson Linux 35.6.0 JetPack 5.1.4)

A. Place the installation package on the Ubuntu host and extract it:

unzip Amov_3560_Flash.zip

B. View the Readme.

cd 3560_Flash

C. Follow JP3560_Readme.

Download the SDK:
https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v6.0/release/jetson_linux_r35.6.0_aarch64.tbz2
https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v6.0/release/tegra_linux_sample-root-filesystem_r35.6.0_aarch64.tbz2

1. Put the onboard computer into REC mode.
1.1 Turn off power to the system.
1.2 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.
1.3 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.
1.4 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

2
tar xf Jetson_Linux_R35.6.0_aarch64
sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R35.6.0_aarch64 -C Linux_for_Tegra/rootfs/
cd Linux_for_Tegra/
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh


3
Replace Image and dtb in Linux_for_Tegra/kernel.
cp Image  Linux_for_Tegra/kernel
cp dtb_3560.tar.gz  Linux_for_Tegra/kernel
tar -xvf dtb_3560.tar.gz

4
Create the default username.
sudo ./tools/l4t_create_default_user.sh -u amov -p amov -a

5
Flash the system.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 p3509-a02+p3767-0000 internal

Flashing an Image with an Installation Package

Note

This method supports Super mode only.

Flashing Orin_NX 16GB in Super Mode

Amovlab_Orin_16G_super.tar.gz

A. Place the installation package on the Ubuntu host and extract it:

tar -xvf Amovlab_Orin_16G_super.tar.gz

B. Install the environment automatically (see the Readme).

(1) Add permission.

cd Amovlab_Orin_16G_super
sudo chmod +x install.sh

(2) Run the installation script.

sudo ./install.sh

(3) Enter REC mode. Procedure:

2.1 Turn off power to the system.

2.2 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.

2.3 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.

2.4 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

(4) Flash the device.

cd Linux_for_Tegra
./jetson_orin_flash.sh

Flashing Orin_NX 8GB in Super Mode

Amovlab_Orin_8G_super.tar.gz A. Place the installation package on the Ubuntu host and extract it:

tar -xvf Amovlab_Orin_8G_super.tar.gz

B. Install the environment automatically (see the Readme).

(1) Add permission.

cd Amovlab_Orin_8G_super
sudo chmod +x install.sh

(2) Run the installation script.

sudo ./install.sh

(3) Enter REC mode. Procedure:

2.1 Turn off power to the system.

2.2 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.

2.3 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.

2.4 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

(4) Flash the device.

cd Linux_for_Tegra
./jetson_orin_flash.sh

Flashing Orin_nano in Super Mode

Amovlab_Orin_nano_super.tar.gz A. Place the installation package on the Ubuntu host and extract it:

tar -xvf Amovlab_Orin_Nano_super.tar.gz

B. Install the environment automatically (see the Readme).

(1) Add permission.

cd Amovlab_Orin_Nano_super
sudo chmod +x install.sh

(2) Run the installation script.

sudo ./install.sh

(3) Enter REC mode. Procedure:

2.1 Turn off power to the system.

2.2 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.

2.3 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.

2.4 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

(4) Flash the device.

cd Linux_for_Tegra
./jetson_orin_flash.sh

Flashing an Official Image with SDK Manager

Note

Do not upgrade the computer after receiving it.

  1. First, use SDK Manager to flash the official Jetson Linux 35.6.0 (JetPack 5.1.4) image.
  • Procedure: 2. Put the onboard computer into REC mode:

    2.1 Turn off power to the system.

    2.2 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.

    2.3 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.

    2.4 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

    1. Open SDM Manager on the host and select the version to flash (Jetson 5.1.4). After selecting it, click CONTINUE to proceed to the next step.

图片.png

    1. Select the applications to install (the defaults are sufficient), and click CONTINUE to proceed to the next step.

图片.png

    1. Be sure to select NVMe during installation. New Username and New Password are the username and login password, which you can customize.

图片.png

    1. When you reach this step, click Skip.

图片.png

    1. Use the patch released by AMOVLAB to adapt the system for the Allspark 2 onboard computer.

Note

1. When upgrading with SDK Manager, be sure to select the matching JetPack version. Otherwise, the system will crash after the patch is applied.

2. Install Jetson Linux 35.6.0 (JetPack 5.1.4) Ubuntu 20.04.

Newer Version

Ubuntu 20 (Jetson Linux 35.6.4 JetPack 5.1.6)

Jetson Linux 35.6.4 (Ubuntu 20)

A. Place the installation package on the Ubuntu host and extract it:

unzip Amov_3564_Flash.zip

B. View the Readme.

cd 3564_Flash

C. Follow JP3564_Readme.

Download the BSP packages:
https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v6.4/release/jetson_linux_r35.6.4_aarch64.tbz2
https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v6.4/release/tegra_linux_sample-root-filesystem_r35.6.4_aarch64.tbz2
(Place the SDK package and 3650_Flash in the same parent directory.)

Set up the environment:
	Extract the archives, for example:
	tar xf Jetson_Linux_R35.6.4_aarch64.tbz2
	sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R35.6.4_aarch64.tbz2 -C Linux_for_Tegra/rootfs/

Set up the environment:
1. Run:	
	cd Linux_for_Tegra/
	sudo ./tools/l4t_flash_prerequisites.sh
	sudo ./apply_binaries.sh
	sudo tools/l4t_create_default_user.sh -u amov -p amov -a
        Select <Accept>
		
2. Replace the dtb and Image in the official Linux_for_Tegra/kernel/ directory with dtb.tar.gz and Image.
cd -
cd 3564_Flash
cp Image  ../Linux_for_Tegra/kernel/
sudo tar  xpf dtb.tar.gz   -C ../Linux_for_Tegra/kernel/

3. Replace Linux_for_Tegra/rootfs/boot in the official package with boot_3564.tar.gz.
sudo tar -xvf boot_3564.tar.gz  -C ../Linux_for_Tegra/rootfs

4. Place the applications in the root file system.
sudo chmod 0777  rootfs/*
sudo cp rootfs/*  ../Linux_for_Tegra/rootfs/usr/bin
sudo cp amov.jpg  ../Linux_for_Tegra/rootfs/usr/share/backgrounds/NVIDIA_Wallpaper.jpg


5. Flash the system.
cp jetson_orin_flash.sh ../Linux_for_Tegra/
cp jetson_orin_flash_super.sh  ../Linux_for_Tegra/
cd ../Linux_for_Tegra
sudo chmod 0777   jetson_orin_flash.sh
sudo chmod 0777   jetson_orin_flash_super.sh

Put the onboard computer into REC download mode:
	1 Put the onboard computer into REC mode.
	2 Turn off power to the system.
	3 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.
	4 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.
	5 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

Standard mode
./jetson_orin_flash.sh
Super mode
./jetson_orin_flash_super.sh

After flashing, boot the Orin NX and install the required software:
sudo apt update
sudo apt install -y nvidia-jetpack
sudo apt install -y gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly 
sudo apt install -y nvidia-l4t-gstreamer 
sudo apt install -y nvidia-l4t-camera 

Ubuntu 22 (Jetson Linux 36.5.0 JetPack 6.2.2)

Jetson Linux 36.5.0 (Ubuntu 22)

A. Place the installation package on the Ubuntu host and extract it:

unzip Amov_3650_Flash.zip

B. Install the environment automatically (see the Readme).

cd 3650_Flash

C. Follow JP3650_Readme.

Download the BSP packages:
https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v5.0/release/Jetson_Linux_r36.5.0_aarch64.tbz2
https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v5.0/release/Tegra_Linux_Sample-Root-Filesystem_r36.5.0_aarch64.tbz2
(Place the SDK package and 3650_Flash in the same parent directory.)

Set up the environment:
1. Run:
	tar xf Jetson_Linux_r36.5.0_aarch64.tbz2
	sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_r36.5.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
	cd Linux_for_Tegra/
	sudo ./tools/l4t_flash_prerequisites.sh
	sudo ./apply_binaries.sh
	sudo tools/l4t_create_default_user.sh -u amov -p amov -a
        Select <Accept>
		
2. Replace the dtb and Image in the official Linux_for_Tegra/kernel/ directory with dtb.tar.gz and Image.
cd -
cd 3650_Flash
cp Image  ../Linux_for_Tegra/kernel/
sudo tar  xpf dtb.tar.gz   -C ../Linux_for_Tegra/kernel/

3. Replace Linux_for_Tegra/rootfs/ in the official package with boot_3650.tar.gz.
sudo tar  xpf boot_3650.tar.gz  -C ../Linux_for_Tegra/rootfs/
sudo tar  xpf intel.tar.gz  -C ../Linux_for_Tegra/rootfs/lib/modules/5.15.185-tegra/kernel/drivers/net/wireless


4. Place the applications in the root file system.
sudo chmod 0777  rootfs/*
sudo cp rootfs/*  ../Linux_for_Tegra/rootfs/usr/bin
sudo cp amov.jpg  ../Linux_for_Tegra/rootfs/usr/share/backgrounds/NVIDIA_Wallpaper.jpg


5. Flash the system.
cp jetson_orin_flash.sh ../Linux_for_Tegra/
cp jetson_orin_flash_super.sh  ../Linux_for_Tegra/
cd ../Linux_for_Tegra
sudo chmod 0777   jetson_orin_flash.sh
sudo chmod 0777   jetson_orin_flash_super.sh


Put the onboard computer into REC download mode:
	1 Put the onboard computer into REC mode.
	2 Turn off power to the system.
	3 Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.
	4 Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.
	5 Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

Standard mode
./jetson_orin_flash.sh
Super mode
./jetson_orin_flash_super.sh

After flashing, boot the Orin NX and perform the following operations:
sudo depmod -a
sudo modprobe iwlwifi
Install the required software:
sudo apt update
sudo apt install -y nvidia-jetpack 
sudo apt install -y gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
sudo apt install -y nvidia-l4t-gstreamer
sudo apt install -y nvidia-l4t-camera

Note

On Ubuntu 22.04, to use an IMX219 or IMX477 camera, you must boot the system and install the following:

sudo apt update

sudo apt install -y nvidia-jetpack

sudo apt install -y gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly

sudo apt install -y nvidia-l4t-gstreamer

sudo apt install -y nvidia-l4t-camera