Last active
February 16, 2024 17:17
-
-
Save dominicfallows/2652fe9bce48ae9389d5d91ad9177241 to your computer and use it in GitHub Desktop.
Flash NVIDIA Jetson TX2 NX module card via USB-OTG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# As of 2024-02-16 the highest version supported by the NVIDIA Jetson TX2 NX module was R32.7.4 | |
# Download 'Driver Package (BSP)' and 'Sample Root Filesystem' from https://developer.nvidia.com/embedded/linux-tegra-r3274 | |
# or | |
wget https://developer.nvidia.com/downloads/embedded/l4t/r32_release_v7.4/t186/jetson_linux_r32.7.4_aarch64.tbz2 | |
wget https://developer.nvidia.com/downloads/embedded/l4t/r32_release_v7.4/t186/tegra_linux_sample-root-filesystem_r32.7.4_aarch64.tbz2 | |
export L4T_RELEASE_PACKAGE='jetson_linux_r32.7.4_aarch64.tbz2' | |
export SAMPLE_FS_PACKAGE='tegra_linux_sample-root-filesystem_r32.7.4_aarch64.tbz2' | |
tar xvf ${L4T_RELEASE_PACKAGE} | |
cd Linux_for_Tegra/rootfs/ | |
sudo tar xvpf ../../${SAMPLE_FS_PACKAGE} | |
cd .. | |
# Set username, password and hostname for the module | |
# <username> - replace with your user name | |
# <password> - replace with your password | |
# <hostname> - replace with the hostname to use in your network (also for the ssh connections) | |
# -a - autologin, if you are going to use desktop | |
sudo ./tools/l4t_create_default_user.sh -u <username> -p <password> -a -n <hostname> | |
sudo ./apply_binaries.sh | |
# Connect the module to your host system via host | |
# Put the module into Recovery Mode (power off and on after connected to your host) | |
# flash to internal | |
sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx internal | |
# flash to external drive like nvme ssd | |
sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx external |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment