Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Update to L4T 32.2.3 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion getKernelSources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "$JETSON_DESCRIPTION"
echo "Jetpack $JETSON_JETPACK [L4T $JETSON_L4T]"

# Check to make sure we're installing the correct kernel sources
L4TTarget="28.2.1"
L4TTarget="32.2.3"
if [ $JETSON_L4T == $L4TTarget ] ; then
echo "Getting kernel sources"
sudo ./scripts/getKernelSources.sh
Expand Down
2 changes: 1 addition & 1 deletion getKernelSourcesNoGUI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "$JETSON_DESCRIPTION"
echo "Jetpack $JETSON_JETPACK [L4T $JETSON_L4T]"

# Check to make sure we're installing the correct kernel sources
L4TTarget="28.2.1"
L4TTarget="32.2.3"
if [ $JETSON_L4T == $L4TTarget ] ; then
echo "Getting kernel sources"
sudo ./scripts/getKernelSourcesNoGUI.sh
Expand Down
2 changes: 1 addition & 1 deletion removeAllKernelSources.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Remove all of the kernel sources that were downloaded and built during the kernel build process
# Note that this will also remove the possibly changed .config file in:
# /usr/src/kernel/kernel-4.4
# /usr/src/kernel/kernel-4.9
echo "Removing All Kernel Sources"
sudo ./scripts/removeAllKernelSources.sh
echo "Kernel sources removed"
4 changes: 2 additions & 2 deletions scripts/copyImage.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
cd /usr/src/kernel/kernel-4.4
cd /usr/src/kernel/kernel-4.9
# On the stock Jetson TX2 install, there is no zImage in the boot directory
# So we just copy the Image file over
# If the zImage is needed, you must either
# $ make zImage
# or
# $ make
# Both of these commands must be executed in /usr/src/kernel/kernel-4.4
# Both of these commands must be executed in /usr/src/kernel/kernel-4.9
# sudo cp arch/arm64/boot/zImage /boot/zImage
# Note that if you are compiling on an external device, like a SSD, you should probably
# copy this over to the internal eMMC if that is where the Jetson boots
Expand Down
2 changes: 1 addition & 1 deletion scripts/getKernelSources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source scripts/getKernelSourcesNoGUI.sh
# We use QT 5 for the configuration GUI
apt-get install qt5-default -y
cd /usr/src/kernel/kernel-4.4
cd /usr/src/kernel/kernel-4.9
make xconfig

10 changes: 5 additions & 5 deletions scripts/getKernelSourcesNoGUI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apt-add-repository universe
apt-get update
apt-get install pkg-config -y
cd /usr/src
wget -N https://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.1/public_sources.tbz2
sudo tar -xvf public_sources.tbz2 public_release/kernel_src.tbz2
tar -xvf public_release/kernel_src.tbz2
wget -N https://developer.nvidia.com/embedded/r32-2-3_Release_v1.0/Sources/T186/public_sources.tbz2
sudo tar -xvf public_sources.tbz2 public_sources/kernel_src.tbz2
tar -xvf public_sources/kernel_src.tbz2
# Space is tight; get rid of the compressed kernel source
rm -r public_release
cd kernel/kernel-4.4
rm -r public_sources
cd kernel/kernel-4.9
# Go get the default config file; this becomes the new system configuration
zcat /proc/config.gz > .config

2 changes: 1 addition & 1 deletion scripts/makeKernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Assumes that the .config file is available in /proc/config.gz
# Added check to see if make builds correctly; retry once if not

cd /usr/src/kernel/kernel-4.4
cd /usr/src/kernel/kernel-4.9
make prepare
make modules_prepare
# Make alone will build the dts files too
Expand Down