Create a Pure JetPack 6.0 DP Environment

! In most case, please use the JP6.0 Production Release Page!

https://neousys.gitbook.io/nru-series/~/revisions/1UjSKwRKa4FnnwaFUSlA/misc/jetson-related/jetpack-porting-flash-collection/jp60_prod_porting_memo/create-a-pure-jetpack-6.0-production-release-environmentarrow-up-right

Sometimes, a minor version upgrade in SDKManager can lead to confusion. As a result, we prefer to establish a clean L4T environment on the host computer independently of the SDKManager.

According to NVIDIA's public information, JetPack 6.0 is based on Jetson Linux 36.2. You can find all the necessary file links to create a BSP, kernel sources, and a sample rootfs (root file system) at https://developer.nvidia.com/embedded/jetson-linux-r362arrow-up-right

After following the steps outlined below, you will have the L4T folder ready for device tree and kernel compilation.


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

### Ref: https://developer.nvidia.com/embedded/jetson-linux-r362
DriverPackageBSP=https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v2.0/release/jetson_linux_r36.2.0_aarch64.tbz2
SampleRootFileSystem=https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v2.0/release/tegra_linux_sample-root-filesystem_r36.2.0_aarch64.tbz2
DriverPackageBSPSources=https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v2.0/sources/public_sources.tbz2


sudo apt-get install binutils

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

# Prepare Kernel Sources
cd $JP/Linux_for_Tegra/source
mkdir -p $JP/Linux_for_Tegra/sources
tar xvf kernel_src.tbz2 -C $JP/Linux_for_Tegra/sources
tar xvf kernel_oot_modules_src.tbz2 -C $JP/Linux_for_Tegra/sources
tar xvf nvidia_kernel_display_driver_source.tbz2 -C $JP/Linux_for_Tegra/sources

# Preparing the flashing environment 
cd $JP/Linux_for_Tegra
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

Ref: https://docs.nvidia.com/jetson/archives/r36.2/DeveloperGuide/SD/Kernel/KernelCustomization.htmlarrow-up-right

Last updated