Nvidia Jetson: Flashing Custom Firmware
Contents
Flashing Standard Firmware
SDKManager
SDKManager is available only on Linux, and can be installed here: https://developer.nvidia.com/sdk-manager
- Start up the SDKManager
- Put the Jetson into recovery mode. For the AGX, this can be done by pressing the recovery button while powering on the device. For the Nano and NX, however, a jumper will be required.
- Connect the Target Jetson to the host device and ensure that the target device is recognized.
- Follow the instructions on the application, choosing configurations as necessary.
Flashing Custom Firmware (For Jetson 36.3)
Pre-requisites
- Please install required packages with the command
sudo apt install build-essential bc && sudo apt install build-essential bc
.
Downloading the Toolchain
- Download the Toolchain binaries located in
https://developer.nvidia.com/embedded/jetson-linux
. - From there,
mkdir $HOME/l4t-gcc
,cd $HOME/l4t-gcc
and extract the installed toolchain into this newly created directory using thetar
command.
Downloading the Kernel
- Follow steps 1 to 3 as mentioned in Flashing Standard Firmware.
- Proceed to the second step of the SDKManager, where the respective individual dependencies and Jetson Images are listed and are to be installed. Proceed with the installation.
- When prompted to actually flash the Jetson, opt to skip. This will install the
nvidia
folder on your home directory, in which therootfs
,kernel
, andbootloader
are located. - Navigate to
nvidia
andcd
through its subdirectories, untilLinux for Tegra
is reached. - Inside
Linux for Tegra
,cd
into thesources
folder. It should be unpopulated with the exception of some bash scripts. Run thesource_sync.sh
script and when asked to specify the release tag of the downloadable sources, enterjetson_36.3
. This will install the sources for the respective Jetson version as necessary. To find the release tag of future iterations of the Jetson firmware, please refer to its respective release notes. - Once sources have been synced, the
sources
directory should now be populated with the required files.
Customizing Kernel
- Within
source
, enter the