Toolchain Installation

The MACCHIATObin board uses Linaro toolchain for building binary kernel and file system images, so make sure to set it up first before moving on to building other components.

Begin by making a directory (in e.g. /home/user/toolchain) where you will download Linaro toolchain:

mcbin@buildserver:~$ mkdir -p toolchain

Linaro toolchain can be downloaded from:


after which it must be placed in the newly made toolchain directory. It can also be obtained via command line:

mcbin@buildserver:~$ cd toolchain/
mcbin@buildserver:~/toolchain$ wget https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/aarch64-linux-gnu/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu.tar.xz

Once the toolchain is downloaded to your Linux machine, extract the archive with:

mcbin@buildserver:~/toolchain$ tar -xvf gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu.tar.xz

and, depending where you downloaded the archive, set the correct path for the toolchain (compiler path including bin directory):

mcbin@buildserver:~/toolchain$ export PATH=$PATH:/home/mcbin/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu/bin