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

Ubuntu 22 (Jetson Linux 36.5.0 JetPack 6.2.2)

Note 1. The host system must be running Ubuntu 20 or later. 2. If sudo apt update reports an error, the host's package source may be the cause. Switch to an available source.

1 min read · English documentation

Note

1. The host system must be running Ubuntu 20 or later.

2. If `sudo apt update` reports an error, the host's package source may be the cause. Switch to an available source.

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 (your own 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