Compiling Jetson TX1/TX2 source code: Difference between revisions

Line 104: Line 104:
</pre>
</pre>


You can download the official NVIDIA toolchain:
1. You can download the official NVIDIA toolchain for JetPack 3.2.1:


*[https://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-28-2-ga GCC 4.8.5 Tool Chain for 64-bit BSP]
*[https://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-28-2-ga GCC 4.8.5 Tool Chain for 64-bit BSP]
2. Install the toolchain
<pre>
sudo mkdir /opt/l4t-gcc-toolchain-64-bit-28-2.1
sudo chown $USER:$USER /opt/l4t-gcc-toolchain-64-bit-28-2.1
cd /opt/l4t-gcc-toolchain-64-bit-28-2.1
wget https://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-28-2-ga
tar -xvf gcc-4.8.5-aarch64.tgz
export CROSS_COMPILE=/opt/l4t-gcc-toolchain-64-bit-28-2.1/install/bin/aarch64-unknown-linux-gnu-
export ARCH=arm64
</pre>


= Kernel =
= Kernel =
932

edits