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

Commit

Permalink
Correct kernel source address
Browse files Browse the repository at this point in the history
  • Loading branch information
jetsonhacks committed Apr 21, 2018
1 parent 729b651 commit 1d386ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions scripts/getKernelSources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ apt-add-repository universe
apt-get update
apt-get install qt5-default pkg-config -y
cd /usr/src
wget -N http://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.0/BSP/source_release.tbz2
echo 'Extracting kernel_src.tbz2 from source release'
tar -xvf source_release.tbz2 public_release/kernel_src.tbz2
echo 'Expanding kernel_src.tbz2'
wget -N http://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.0/GA/BSP/tx2_sources.tbz2
sudo tar -xvf tx2_sources.tbz2 public_release/kernel_src.tbz2
tar -xvf public_release/kernel_src.tbz2
# Space is tight; get rid of the compressed kernel source
rm -r public_release
cd kernel/kernel-4.4
# Go get the default config file; this becomes the new system configuration
zcat /proc/config.gz > .config
# Ready to configure kernel
make xconfig
Expand Down
9 changes: 4 additions & 5 deletions scripts/getKernelSourcesNoGUI.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash
apt-add-repository universe
apt-get update
pkg-config -y
apt-get install pkg-config -y
cd /usr/src
wget -N http://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.0/BSP/source_release.tbz2
echo 'Extracting kernel_src.tbz2 from source release'
tar -xvf source_release.tbz2 public_release/kernel_src.tbz2
echo 'Expanding kernel_src.tbz2'
wget -N http://developer.download.nvidia.com/embedded/L4T/r28_Release_v2.0/GA/BSP/tx2_sources.tbz2
sudo tar -xvf tx2_sources.tbz2 public_release/kernel_src.tbz2
tar -xvf public_release/kernel_src.tbz2
# Space is tight; get rid of the compressed kernel source
rm -r public_release
cd kernel/kernel-4.4
# Go get the default config file; this becomes the new system configuration
Expand Down

0 comments on commit 1d386ad

Please sign in to comment.