Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Support code for the video and article: [**Native Boot for Jetson Xaviers**](htt

**Please read the Issues section below before proceeding**

Installs JetPack 4.6, L4T 32.6.1 on the Jetson Developer Kit
Installs JetPack 4.6.1, L4T 32.7.1 on the Jetson Developer Kit

With the advent of JetPack 4.6, The NVIDIA Jetson Xavier Developer Kits can now boot directly from external storage.
With the advent of JetPack 4.6.1, The NVIDIA Jetson Xavier Developer Kits can now boot directly from external storage.
There are four scripts here to help with this process.

The host machine here references a x86 based machine running Ubuntu distribution 16.04 or 18.04. Experimental support for 20.04 is provided. To flash a Jetson Developer Kit using this method, the host machine builds a disk image. The host then flashes the disk image to the Jetson.
Expand Down Expand Up @@ -80,8 +80,8 @@ on the host in the Linux_for_Tegra folder and reflash.

### August 2021
* Initial Release
* JetPack 4.6
* L4T 32.6.1
* JetPack 4.6.1
* L4T 32.7.1
* Tested on Xavier NX, NVMe SSD
* Initial Host Ubuntu 20.04 support;

Expand Down
2 changes: 1 addition & 1 deletion flash_jetson_external_storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# First check to see if we're running on Ubuntu
# Next, check the architecture to make sure it's x86, not a Jetson

JETSON_FOLDER=R32.6.1
JETSON_FOLDER=R32.7.1
LINUX_FOR_TEGRA_DIRECTORY="$JETSON_FOLDER/Linux_for_Tegra"

function help_func
Expand Down
20 changes: 8 additions & 12 deletions get_jetson_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Sanity warning; Make sure we're not running from a Jetson
# First check to see if we're running on Ubuntu
# Next, check the architecture to make sure it's not aarch64, not a Jetson
JETSON_FOLDER=R32.6.1
JETSON_FOLDER=R32.7.1

if [ -f /etc/os-release ]; then
if [[ ! $( grep Ubuntu < /etc/os-release ) ]] ; then
Expand Down Expand Up @@ -54,27 +54,23 @@ cd $JETSON_FOLDER

# Get the R32.6.1 Tegra system
# Get the L4T Driver Package - BSP
wget -N https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/t186/jetson_linux_r32.6.1_aarch64.tbz2
wget -N https://developer.nvidia.com/embedded/l4t/r32_release_v7.1/t186/jetson_linux_r32.7.1_aarch64.tbz2
# Get the Sample Root File System (rootfs)
wget -N https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/t186/tegra_linux_sample-root-filesystem_r32.6.1_aarch64.tbz2
wget -N https://developer.nvidia.com/embedded/l4t/r32_release_v7.1/t186/tegra_linux_sample-root-filesystem_r32.7.1_aarch64.tbz2
# Get the Secure Boot package
wget -N https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/t186/secureboot_r32.6.1_aarch64.tbz2
wget -N https://developer.nvidia.com/embedded/l4t/r32_release_v7.1/t186/secureboot_r32.7.1_aarch64.tbz2


# Unpack the files, creating the Linux_for_Tegra folder
sudo tar xpvf jetson_linux_r32.6.1_aarch64.tbz2
sudo tar xpvf jetson_linux_r32.7.1_aarch64.tbz2
cd Linux_for_Tegra/rootfs/
sudo tar xpvf ../../tegra_linux_sample-root-filesystem_r32.6.1_aarch64.tbz2
sudo tar xpvf ../../tegra_linux_sample-root-filesystem_r32.7.1_aarch64.tbz2
cd ../..
tar xvjf secureboot_r32.6.1_aarch64.tbz2
tar xvjf secureboot_r32.7.1_aarch64.tbz2
cd Linux_for_Tegra/
# The NVIDIA scripts do not officially support Ubuntu 20.04 on the host
# Set the LDK_ROOTFS_DIR enviornment variable to compensate
# Set the LDK_ROOTFS_DIR environment variable to compensate
if [[ $(lsb_release -rs) == "20.04" ]] ; then
export LDK_ROOTFS_DIR=$PWD
fi
sudo ./apply_binaries.sh