Jump to content

Compiling Jetson TX1/TX2 source code: Difference between revisions

no edit summary
No edit summary
Line 23: Line 23:
= Downloading the code =
= Downloading the code =


File called Start_L4T_Docs.html inside of Jetpack contains a good description of the packages that it contains. Let's call $DEVDIR the path where you installed your development directory or Jetpack.
In order to be able to download the source code you should have Jetpack  installed, if you already have it, skip the next section and go to [[Getting bootloader and kernel]].
 
== Getting JetPack ==
 
 
1. Download jetpack from:
 
https://developer.nvidia.com/embedded/dlc/jetpack-l4t-3_0
 
2. Move binary into installation directory, we recommend /home/$USER/JetPack-L4T-3.0
 
<pre style="background:#d6e4f1">
mkdir -p /home/$USER/JetPack-L4T-3.0
mv JetPack-L4T-3.0-linux-x64.run /home/$USER/JetPack-L4T-3.0/
</pre>
 
3. Set the Jetpack binary as executable and set correct permissions.
 
<pre style="background:#d6e4f1">
cd /home/$USER/JetPack-L4T-3.0
chmod +x JetPack-L4T-3.0-linux-x64.run
</pre>
 
4. Install Jetpack.
 
<pre style="background:#d6e4f1">
./JetPack-L4T-3.0-linux-x64.run
</pre>
 
== Getting bootloader and kernel ==
 
 
File called Start_L4T_Docs.html inside of Jetpack contains a good description of the packages that it contains. Let's call $DEVDIR the path where you installed your development directory or Jetpack,  in this case we'll be using '''/home/$USER/JetPack-L4T-3.0'''.


1) In order to download the source code you can run the script called source_sync.sh
1) In order to download the source code you can run the script called source_sync.sh


<pre>
<pre>
$DEVDIR/64_TX1/Linux_for_Tegra_64_tx1$ ./source_sync.sh
cd /home/$USER/JetPack-L4T-3.0/64_TX1/Linux_for_Tegra_64_tx1
./source_sync.sh
</pre>
</pre>


Line 94: Line 127:


*[http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/aarch64-linux-gnu/gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz 5.3-2016.02 for 64bits PC - 64bits ARM]
*[http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/aarch64-linux-gnu/gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz 5.3-2016.02 for 64bits PC - 64bits ARM]
*[https://releases.linaro.org/components/toolchain/binaries/latest-5/arm-linux-gnueabihf/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz 5.3-2016.02 for 64bits PC - 32bits ARM]
*[http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/arm-linux-gnueabihf/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz 5.3-2016.02 for 64bits PC - 32bits ARM]


2. Install the toolchain
2. Install the toolchain
Cookies help us deliver our services. By using our services, you agree to our use of cookies.