AR# 71743

2018.1-2018.3 Zynq UltraScale+ MPSoC: ARM Trusted Firmware hangs when UART0 is disabled in PetaLinux


The default configuration of the ARM Trusted Firmware compiled with PetaLinux 2018.1-2018.3 hangs on boot if the Zynq UltraScale+ MPSoC design does not include UART0 (for example, if UART1 is the primary and only serial port for the PS).

Xilinx Zynq MP First Stage Boot Loader
Release 2018.3   Nov 20 2018  -  20:51:52
PMUFW:  v1.1


To work around this issue, follow the steps below.

1) Set ZYNQMP_CONSOLE=cadence1 from petalinux-config:

$ petalinux-config

Select ARM Trusted Firmware Configuration -> extra ATF compile settings -> "ZYNQMP_CONSOLE=cadence1"

2) Rebuild ATF:

$ petalinux-build -c arm-trusted-firmware

3) On the Target you should now be able to see the ATF boot messages as shown below.

Xilinx Zynq MP First Stage Boot Loader
Release 2018.3   Nov 20 2018  -  20:51:52
NOTICE:  ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.5(release):xilinx-v2018.02-RC1-919-g08560c36
NOTICE:  BL31: Built : 21:54:39, Nov 20 2018
PMUFW:  v1.1
AR# 71743
日期 12/10/2018
状态 Active
Type 综合文章
Boards & Kits