214
edits
Line 115: | Line 115: | ||
= Toolchain = | = Toolchain = | ||
==Option 1== | |||
<span style="background:#00FF00"> RECOMMENDED </span> | |||
1) Download the pre-built toolchain binaries, The AARCH64 toolchain is available at: http://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-27-1. The source TAR file is named: gcc-4.8.5-aarch64.tgz | |||
2) Decompress tarbal file. | |||
<pre> | |||
tar -xvf gcc-4.8.5-aarch64.tgz | |||
</pre> | |||
3) Install toolchain. | |||
<pre> | |||
mkdir /opt/jetpack3.0 | |||
cp install /opt/jetpack3.0/ -r | |||
</pre> | |||
==Option 2== | |||
Download the pre-built toolchain binaries from the Embedded Download Center on the NVIDIA Developer page at: | |||
https://developer.nvidia.com/embedded/downloads (Sources for GCC Tool Chain for 64-bit BSP ) | |||
To build the toolchain | |||
1) Obtain the Toolchain Scripts package as described in Downloading the Pre-built Toolchain. | |||
The source TAR file is named: src_aarch64_gcc-4.8.5.tar | |||
The toolchain source tarball contains the following: | |||
*The required sources to build the toolchain. | |||
*The make-aarch64-toolchain.sh script that builds the toolchain. | |||
*A patches folder containing patches to the toolchain sources. | |||
2) Run the toolchain building script. | |||
Build products are located in the install directory. | |||
The AARCH64 toolchain is available at: | |||
http://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-27-1 | |||
Install toolchain: | |||
2) Install the toolchain | |||
<pre> | |||
mkdir /opt/jetpack3.0 | |||
cp install /opt/jetpack3.0/ -r | |||
</pre> | |||
Linaro or code sourcery toolchain's can be used, however, it is recommended to use the Linaro toolchain because it is newer and produces [https://devtalk.nvidia.com/default/topic/929186/jetson-tx1/jetson-tx1-kernel-compilation/post/4853151/#4853151 more optimized assembler code] | Linaro or code sourcery toolchain's can be used, however, it is recommended to use the Linaro toolchain because it is newer and produces [https://devtalk.nvidia.com/default/topic/929186/jetson-tx1/jetson-tx1-kernel-compilation/post/4853151/#4853151 more optimized assembler code] |
edits