Intel Stratix 10 SoC UEFI Boot Loader User Guide

ID 683134
Date 6/19/2020
Give Feedback

3.2.3. Building the ATF

This section describes how to build the ATF with the Linaro GCC compiler.

To start building the ATF with the Linaro GCC compiler, simply run the following steps:

  1. Change your directory to the ATF source code location as follows:
    $ cd arm-trusted-firmware
  2. Set the GCC path and environment variable CROSS_COMPILE to Linaro cross compile as follows:
    export PATH=<your gcc directory>/\
    $ export ARCH=arm64
    $ export CROSS_COMPILE=aarch64-linux-gnu-
  3. Remove the build tree completely as follows:
    $ make realclean
  4. Build the ATF by using the following command:
    $ make PLAT=stratix10 bl2 bl31
  5. The following messages appear when the ATF build is successful:
  6. The table below lists the Secure Monitor output files.
    Table 2.  Descriptions of Secure Monitor Files

    File Path and Name



    Generated binary file


    Generated elf file


    Generated binary file


    Generated elf file