AR# 68732

2017.1 Zynq UltraScale+ MPSoC, Boot Image fails to boot if bitstream is placed after ATF

Description

My BOOT.bin file, created with the 2017.1 SDK "Create Boot Image", contains an FSBL, ATF, bitstream and u-boot.

When I boot, ATF fails.

Solution

In the 2017.1 version of the FSBL, the order used to load the partitions matters. The bitstream needs to be loaded before ATF.

You will need to manually modify the .bif file to set the proper exception levels.

Below is a sample of a working .bif for FSBL + ATF + u-boot:

//arch = zynqmp; split = false; format = BIN
the_ROM_image:
{
 [fsbl_config]a53_x64
 [bootloader]fsbl_a53.elf
 [pmufw_image]pmufw.elf
 [destination_device = pl]design_1_wrapper.bit
 [destination_cpu = a53-0, exception_level = el-3, trustzone]bl31.elf
 [destination_cpu = a53-0, exception_level = el-2]u-boot.elf
}
AR# 68732
Date 05/04/2017
Status Active
Type General Article
Devices