File tree Expand file tree Collapse file tree 2 files changed +1
-38
lines changed
Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Original file line number Diff line number Diff line change @@ -117,41 +117,4 @@ export SOURCE_TARGET
117117# -E preserves environment variables
118118sudo -E ./scripts/getKernelSources.sh
119119
120- exit 0
121-
122-
123-
124-
125-
126-
127- source scripts/jetson_variables.sh
128- # Print Jetson version
129- echo " $JETSON_DESCRIPTION "
130- # Print Jetpack version
131- echo " Jetpack $JETSON_JETPACK [L4T $JETSON_L4T ]"
132-
133- # Check to make sure we're installing the correct kernel sources
134- L4TTarget=" 28.2.1"
135- if [ $JETSON_L4T == $L4TTarget ] ; then
136- echo " Getting kernel sources"
137- sudo ./scripts/getKernelSourcesNoGUI.sh
138- else
139- echo " "
140- tput setaf 1
141- echo " ==== L4T Kernel Version Mismatch! ============="
142- tput sgr0
143- echo " "
144- echo " This repository branch is for installing the kernel sources for L4T " $L4TTarget
145- echo " You are attempting to use these kernel sources on a L4T " $JETSON_L4T " system."
146- echo " The kernel sources do not match their L4T release.!"
147- echo " "
148- echo " Please git checkout the appropriate kernel sources for your release"
149- echo " "
150- echo " You can list the tagged versions."
151- echo " $ git tag -l"
152- echo " And then checkout the latest version: "
153- echo " For example"
154- echo " $ git checkout v1.0-L4T" $JETSON_L4T
155- echo " "
156- fi
157120
Original file line number Diff line number Diff line change 1414
1515cd " $SOURCE_TARGET "
1616echo " $PWD "
17- exit
17+
1818wget -N https://developer.nvidia.com/embedded/dlc/l4t-sources-32-1-jetson-nano
1919# l4t-sources is a tbz2 file
2020tar -xvf l4t-sources-32-1-jetson-nano public_sources/kernel_src.tbz2
You can’t perform that action at this time.
0 commit comments