AR# 69688

2017.2 Zynq UltraScale+ MPSoC: FSBL – SD boot fails with data abort exception when a53_64 targeted application is running at upper PS DDR or PL DDR memory

Description

When an a53_64 application is located at a higher PS DDR (address:0x8_00000_0000~) or PL MIG (address: 0x4_0000_0000~), SD boot fails with XFSBL_ERROR_UNDEFINED_EXCEPTION.

Below is the FSBL boot log which shows the correct information partition load and handoff:

======= In Stage 3, Partition No:1 ======= 

UnEncrypted data Length: 0x65216F 

Data word offset: 0x65216F 

Total Data word length: 0x65216F 

Destination Load Address: 0xFFFFFFFF 

Execution Address: 0x0 

Data word offset: 0x76E0 

Partition Attributes: 0x26 

Destination Device is PL, changing LoadAddress

Non authenticated Bitstream download to start now

DMA transfer done 

PL Configuration done successfully 

Partition 1 Load Success 

======= In Stage 3, Partition No:2 ======= 

UnEncrypted data Length: 0x2412 

Data word offset: 0x2412 

Total Data word length: 0x2412 

Destination Load Address: 0x400000000 

Execution Address: 0x400000000 

Data word offset: 0x659850 

Partition Attributes: 0x116 

Partition 2 Load Success 

All Partitions Loaded 

================= In Stage 4 ============ 

Protection configuration applied

Running Cpu Handoff address: 0x400000000, Exec State: 0

Exit from FSBL 

XFSBL_ERROR_UNDEFINED_EXCEPTION



Fsbl Error Status: 0xXFSBL_ERROR_UNDEFINED_EXCEPTION

Solution

The application is not written properly to the target DDR location, because the SD DMA driver does not support 64-bit addressing.

64-bit addressing support is targeted for the 2017.3 release.

https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/commit/d0deaee284f39fd0c32aa2ff103965d1e115c4ed#diff-ee0d612053869a39d042350fbbb3b9b6

AR# 69688
Date 10/24/2017
Status Active
Type General Article
Devices
Tools