Skip to content

Commit a3f377c

Browse files
committed
L4T 32.3.1
1 parent 16c008a commit a3f377c

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# buildKernelAndModules
22
Build the Linux Kernel and Modules on board the NVIDIA Jetson Nano Developer Kit
33

4-
These scripts are for JetPack 4.3, L4T 32.2.3
4+
These scripts are for JetPack 4.3, L4T 32.3.1
55

66
Scripts to help build the 4.9.140 kernel and modules onboard the Jetson Nano Developer Kit Previous versions may be available in releases.
77

8-
<em><strong>Note:</strong> The kernel source version must match the version of firmware flashed on the Jetson. For example, the source for the 4.9.140 kernel here is matched with L4T 32.2.1. This kernel compiled using this source tree may not work with newer versions or older versions of L4T</em>
8+
<em><strong>Note:</strong> The kernel source version must match the version of firmware flashed on the Jetson. For example, the source for the 4.9.140 kernel here is matched with L4T 32.3.1. This kernel compiled using this source tree may not work with newer versions or older versions of L4T</em>
99

1010
As of this writing, the "official" way to build the Jetson Nano kernel is to use a cross compiler on a Linux PC. This is an alternative which builds the kernel onboard the Jetson itself. These scripts will download the kernel source to the Jetson Nano, and then compile the kernel and selected modules. The newly compiled kernel can then be installed. We recommend a SD card size of 32GB, 64GB preferred.
1111

@@ -61,9 +61,14 @@ so you can go back and catch errors.
6161
The intended use of this repository is to help automate building known configurations of the kernel and build modules. You should use the kernel-4.9/scripts/config script to set the kernel configuration that you desire. See the 'rootOnUSB' repository on the JetsonHacksNano Github account for an example.
6262

6363
### Release Notes
64+
<b>December, 2019</b>
65+
* vL4T32.3.1
66+
* L4T 32.3.1 (JetPack 4.3)
67+
* Minor version update
68+
6469
<b>November, 2019</b>
6570
* vL4T32.2.3
66-
* L4T 32.2.3 (JetPack 4.3)
71+
* L4T 32.2.3 (JetPack 4.2.2)
6772
* Minor version update
6873

6974
<b>October, 2019</b>

getKernelSources.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# MIT License
55

66
JETSON_MODEL="NVIDIA Jetson Nano Developer Kit"
7-
L4T_TARGET="32.2.1"
7+
L4T_TARGET="32.3.1"
88
SOURCE_TARGET="/usr/src"
99
KERNEL_RELEASE="4.9"
1010

@@ -17,12 +17,14 @@ JETSON_L4T=""
1717

1818
# Starting with L4T 32.2, the recommended way to find the L4T Release Number
1919
# is to use dpkg
20+
# L4T 32.3.1, NVIDIA added back /etc/nv_tegra_release
2021
function check_L4T_version()
2122
{
2223
if [ -f /etc/nv_tegra_release ]; then
2324
JETSON_L4T_STRING=$(head -n 1 /etc/nv_tegra_release)
2425
JETSON_L4T_RELEASE=$(echo $JETSON_L4T_STRING | cut -f 2 -d ' ' | grep -Po '(?<=R)[^;]+')
2526
JETSON_L4T_REVISION=$(echo $JETSON_L4T_STRING | cut -f 2 -d ',' | grep -Po '(?<=REVISION: )[^;]+')
27+
JETSON_L4T_VERSION=$JETSON_L4T_RELEASE.$JETSON_L4T_REVISION
2628

2729
else
2830
echo "$LOG Reading L4T version from \"dpkg-query --show nvidia-l4t-core\""

scripts/getKernelSources.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ fi
1515
cd "$SOURCE_TARGET"
1616
echo "$PWD"
1717

18-
wget -N https://developer.nvidia.com/embedded/dlc/r32-2-1_Release_v1.0/Nano-TX1/sources/public_sources.tbz2
18+
wget -N https://developer.nvidia.com/embedded/dlc/r32-3-1_Release_v1.0/Sources/T210/public_sources.tbz2
1919
# l4t-sources is a tbz2 file
20-
tar -xvf public_sources.tbz2 public_sources/kernel_src.tbz2
21-
tar -xvf public_sources/kernel_src.tbz2
20+
tar -xvf public_sources.tbz2 Linux_for_Tegra/source/public/kernel_src.tbz2 --strip-components=3
21+
tar -xvf kernel_src.tbz2
2222
# Space is tight; get rid of the compressed kernel source
23-
rm -r public_sources
23+
rm -r kernel_src.tbz2
2424
cd kernel/kernel-4.9
2525
# Go get the default config file; this becomes the new system configuration
2626
zcat /proc/config.gz > .config
2727
# Make a backup of the original configuration
2828
cp .config config.orig
2929
# Default to the current local version
3030
KERNEL_VERSION=$(uname -r)
31-
# For L4T 32.2 the kernel is 4.9.140-tegra ;
31+
# For L4T 32.3 the kernel is 4.9.140-tegra ;
3232
# Everything after '4.9.140' is the local version
3333
# This removes the suffix
3434
LOCAL_VERSION=${KERNEL_VERSION#$"4.9.140"}

0 commit comments

Comments
 (0)