05-08-2018 02:32 AM
I'm currently facing the problem that my Enclustra-XU1 ZynqMP board won't boot if I try to build a new FSBL (First Stage Boot loader) with the Xilinx SDK 2018.1.
I tried different ATF (Arm Trusted Firmware) and PMU-Firmware versions and multiple configurations, but always ended up with the same error message:
================= In Stage 4 ============
Handoff Failed 0x50
Regarding the FSBL source code this means that the function which notifies the PMUFW about all registers being set, fails.
Because I'm unsure where the actual root of the problem is I attached the full boot log, my boot file generator script and my device tree files.
I'd be glad if someone could give me an advice how to fix this problem.
06-13-2018 11:34 PM
I traced down the problem a bit further. In my case indeed the problem is the communication between FSBL and PMU Firmware. The problem occurs when i am using th mkbootimage tool for generating the boot.bin file. However mkbootimage is at the oḿoment not compatible with the PMU firmware version 1.0 (https://github.com/antmicro/zynq-mkbootimage/issues/6).
If I'm using Xilinx SDK/bootgen to build the boot.bin everything is running fine.
I hope this information is helpful to anyone facing the same problem.