Create a Pure JetPack 5.1.1 Environment

Sometimes SDKManager releases a minor version upgrade leads to confusion. As a result, we prefer to create a clean L4T environment on the host computer without the dependency of the SDKManager.

From NVIDIA's public information, you will find out JetPack 5.1.1 is based on Jetson Linux 35.3.1. You will find all the file links you need to create a BSP, kernel sources, and sample rootfs (root file system) on https://developer.nvidia.com/embedded/jetson-linux-r3531arrow-up-right

The steps to prepare the L4T environment would be like the below. You will also have the L4T/sources folder ready to the device tree and kernel compilation.


# Remember to update the following environment variables
JP=/home/$USER/Desktop/JP511

### Ref: https://developer.nvidia.com/embedded/jetson-linux-r3531
DriverPackageBSP=https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v3.1/release/jetson_linux_r35.3.1_aarch64.tbz2/
DriverPackageBSPSources=https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v3.1/sources/public_sources.tbz2/
SampleRootFileSystem=https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v3.1/release/tegra_linux_sample-root-filesystem_r35.3.1_aarch64.tbz2/

mkdir -p $JP
cd $JP

wget -O driver.tar.gz $DriverPackageBSP
wget -O driverSource.tar.gz $DriverPackageBSPSources
wget -O rootfs.tar.gz $SampleRootFileSystem

### Decompress
cd $JP
tar xvf driver.tar.gz

mkdir -p $JP/Linux_for_Tegra/rootfs/
cd $JP/Linux_for_Tegra/rootfs/
sudo tar xvpf ../../rootfs.tar.gz

cd $JP
tar xvjf driverSource.tar.gz

cd $JP/Linux_for_Tegra/source/public
mkdir -p $JP/Linux_for_Tegra/sources
tar xvf kernel_src.tbz2 -C $JP/Linux_for_Tegra/sources

# Preparing the flashing environment 
cd $JP/Linux_for_Tegra
sudo apt-get update
sudo apt-get install qemu-user-static
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh

# Create Defualt User Name
sudo ./tools/l4t_create_default_user.sh -u nvidia -p nvidia -a

Please Rememebr to Download the Additional files from NVIDIA's latest release

Toolchain installation to build device tree and kernel

Please follow the this linkarrow-up-right for toolchain installation for further device tree and kernel compilation on the x86 host.

After installation, you will have your toolchain at $HOME/l4t-gcc-93

L4T update when Orin NX module is FAB301

Nvidia Orin NX modules have updated DRAM/EMMC components, and the PCN numbers have been modified from FAB300 to FAB301.

You can check the FAB number when flashing the Orin NX module.

If an error occurs during the flashing of the Orin NX module, the message will be as follows

Then the Orin NX module is identified as FAB301, you can apply the patch PCN209760_overlay_35.3.1_Dave_20230704.tbz2.

Last updated