| Line 6: | Line 6: | ||
==Getting the sources== |
==Getting the sources== |
||
In this wiki we will use as an example JetPack version 6.2.1 (L4T 36.4.4). You can find the desired JetPack version from [https://developer.nvidia.com/embedded/jetson-linux-archive Jetson Linux Archives]. |
In this wiki we will use as an example JetPack version 6.2.1 (L4T 36.4.4). You can find the desired JetPack version from [https://developer.nvidia.com/embedded/jetson-linux-archive Jetson Linux Archives]. |
||
=== JetPack 6.2.1 === |
|||
1. Go to JetPack 6.2.1 release Page: [https://developer.nvidia.com/embedded/jetson-linux-r3644 NVIDIA Jetson Linux 36.4.4] and download “L4T Driver Package (BSP)” and “Sample Root filesystem”. |
1. Go to JetPack 6.2.1 release Page: [https://developer.nvidia.com/embedded/jetson-linux-r3644 NVIDIA Jetson Linux 36.4.4] and download “L4T Driver Package (BSP)” and “Sample Root filesystem”. |
||
| Line 59: | Line 57: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
Now you are all set up to customize and build your own kernel. |
Now you are all set up to customize and build your own kernel. |
||
===Recomendation=== |
===Recomendation=== |
||
Create a default user to access the board. |
Create a default user to access the board. |
||
Revision as of 15:44, 18 November 2025
Jetson Linux BSP and Kernel Source setup
Keywords: NVIDIA Jetson, JetPack
Description
This wiki pages shows how to get sources for any JetPack version for NVIDIA platform. Download board support package (BSP), sample root file system and kernel sources for kernel customization.
Getting the sources
In this wiki we will use as an example JetPack version 6.2.1 (L4T 36.4.4). You can find the desired JetPack version from Jetson Linux Archives. 1. Go to JetPack 6.2.1 release Page: NVIDIA Jetson Linux 36.4.4 and download “L4T Driver Package (BSP)” and “Sample Root filesystem”.
2. You should see this two files:
- Jetson_Linux_R36.4.4_aarch64.tbz2
- Tegra_Linux_Sample-Root-Filesystem_R36.4.4_aarch64.tbz2
3. Create a directory for installing JetPack. Referred to as <INSTALL_DIR>. For example:
INSTALL_DIR = build
mkdir $INSTALL_DIR
cd $INSTALL_DIR
4. Copy both files to <INSTALL_DIR>
cp $HOME/Downloads/Jetson_Linux_R36.4.4_aarch64.tbz2 .
cp $HOME/Downloads/Tegra_Linux_Sample-Root-Filesystem_R36.4.4_aarch64.tbz2 .
5. Extract "L4T Driver Package" tarball:
sudo tar -vjxf Jetson_Linux_R36.4.4_aarch64.tbz2
You should see a new directory called Linux_for_tegra in <INSTALL_DIR> directory.
6. Extract "Sample Root Filesystem" into Linux_for_tegra/rootfs
sudo tar -C Linux_for_Tegra/rootfs/ -vxjf Tegra_Linux_Sample-Root-Filesystem_R36.4.4_aarch64.tbz2
7. Go into "Linux_for_Tegra/source" directory and extract the kernel sources.
cd Linux_for_Tegra/source
./source_sync.sh -k -t <release_tag>
The release tag can be extracted from the release notes of the JetPack version. In the case of Jetpack 6.2.1, release tag is: jetson_36.4.4.
./source_sync.sh -k -t jetson_36.4.4
8.Return to "Linux_for_Tegra" directory and apply binaries.
cd ../
sudo ./apply_binaries.sh
Now you are all set up to customize and build your own kernel.
Recomendation
Create a default user to access the board.
- Inside Linux_for_Tegra directory, create default user with:
sudo ./tools/l4t_create_default_user.sh -u <username> -p <password> -n <hostname>
for example:
sudo ./tools/l4t_create_default_user.sh -u nvidia -p nvidia -n nvidia
