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.
Task Dependencies (Pre-requisites)
Output Files Produced
- bl31.elf (the ATF binary executable)
Build ARM Trusted Firmware
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.
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.