Flashing an Image
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.
2 min read · English documentationNote
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 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 (your own 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 (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
Ubuntu 24 (Jetson Linux 39.2 JetPack 7.2)
Jetson Linux 39.2 (Ubuntu 24)
A. Place the installation package on the Ubuntu host (your own host) and extract it:
unzip Amov_3920_Flash.zip
B. Install the environment automatically (see the Readme).
cd 3920_Flash
C. Follow JP3920_Readme.
Download the BSP packages:
https://developer.nvidia.com/downloads/embedded/L4T/r39_Release_v2.0/release/Jetson_Linux_R39.2.0_aarch64.tbz2
https://developer.nvidia.com/downloads/embedded/L4T/r39_Release_v2.0/release/Tegra_Linux_Sample-Root-Filesystem_R39.2.0_aarch64.tbz2
(Place the SDK package and 3920_Flash in the same parent directory.)
Set up the environment:
1. Run:
tar xf Jetson_Linux_R39.2.0_aarch64.tbz2
sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R39.2.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 3920_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_3920.tar.gz.
sudo tar xpf boot_3920.tar.gz -C ../Linux_for_Tegra/rootfs/
sudo tar xpf 6.8.12-tegra.tar.gz -C ../Linux_for_Tegra/rootfs/lib/modules/
sudo rm -r ../Linux_for_Tegra/rootfs/lib/modules/6.8.12-1021-tegra
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
Boot the Orin NX.
sudo depmod -a
sudo modprobe iwlwifi
sudo apt-mark hold nvidia-jetpack 2>/dev/null
sudo systemctl disable apt-daily.timer
sudo systemctl disable apt-daily-upgrade.timer
Install the required software:
sudo apt update
sudo apt install -y gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly -y
sudo apt install nvidia-l4t-gstreamer=39.2.0-20260601141651
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 gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly -y sudo apt install nvidia-l4t-gstreamer=39.2.0-20260601141651
