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)
- Fetch sources (ARM Trusted Firmware)
- Install Xilinx tools (cross-compilation toolchain)
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
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
- Fetch Sources
- Build FSBL
- Build Device Tree Compiler (DTC)
- Build PMU Firmware
- (You are here) Build Arm Trusted Firmware (ATF)
- Build U-Boot
- Build and Modify a Root File System
- Build Device Tree Blob
- Build Linux Kernel
- Prepare Boot Image
- Prepare Boot Medium
- Setup a Serial Console
- Additional Information: Build Qt and Qwt Libraries
© Copyright 2019 - 2022 Xilinx Inc. Privacy Policy