Build ARM Trusted Firmware (ATF)

Build ARM Trusted Firmware (ATF)

This page describes how to download and build the ARM Trusted Firmware (ATF) from the Xilinx Git repository. ATF is a mandatory part of the Xilinx software stack for Zynq UltraScale+ MPSoC and Versal. It is not used for Zynq-7000 or MicroBlaze systems.

Table of Contents

Task Dependencies (Pre-requisites)

 

Tools Required

 

Output Files Produced

  • bl31.elf (the ATF binary executable)

 

Task Description

Build ARM Trusted Firmware

For ZynqMP:

All commands have to be executed in your ATF source directory.

make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp RESET_TO_BL31=1

After the build process completes the bl31.elf binary is created within the /build/zynqmp/release/bl31 directory.

For VERSAL:

make CROSS_COMPILE=aarch64-none-elf- PLAT=versal RESET_TO_BL31=1

After the build process completes the bl31.elf binary is created within the /build/versal/release/bl31 directory.

Build Steps