staff, Administrators
1,593
edits
Jcaballero (talk | contribs) |
|||
Line 9: | Line 9: | ||
= Basic preliminary work = | = Basic preliminary work = | ||
== Installing | == Installing Toolchains == | ||
Ridgerun 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] | Ridgerun 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] | ||
1. Download the [http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/ Linaro toolchain]. You need to install 64bits toolchain for ARM. In this case version 5.3-2016.02 will be used: | 1. Download the [http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/ Linaro 64 bits toolchain]. You need to install 64bits toolchain for ARM. In this case version 5.3-2016.02 will be used: | ||
*[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] | ||
2. Install the | |||
2. Download the [http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/ Linaro 32 bits toolchain]. You need to install 32bits toolchain for ARM. In this case version 5.3-2016.02 will be used: | |||
*[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 - 64bits ARM] | |||
3. Install the toolchains | |||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
Line 24: | Line 30: | ||
sudo chown -R $USER /opt/linaro | sudo chown -R $USER /opt/linaro | ||
cp gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz /opt/linaro | cp gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz /opt/linaro | ||
cp gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz /opt/linaro | |||
cd /opt/linaro/ | cd /opt/linaro/ | ||
tar -xf gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz | tar -xf gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz | ||
tar -xf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz | |||
</pre> | </pre> | ||