When compiling the ATF in Debug configuration using the 2018.1 SDK, it is failing with the following error:
aarch64-none-elf-ld: build/zynqmp/debug/bl31/bl31.elf section `xlat_table' will not fit in region `RAM'
aarch64-none-elf-ld: BL31 image has exceeded its limit.
aarch64-none-elf-ld: region `RAM' overflowed by 4097 bytes
The issue is due to an increase in the size of the ATF, which cannot fit in the available OCM space if the DEBUG flag is enabled.
The ATF source code is capable of being built to DDR, but SDK is using the ZYNQMP_ATF_MEM_BASE=0XFFFEA000 ZYNQMP_ATF_MEM_SIZE=0X16000 build flags which prevent code from being placed on DDR.
As a work-around, the default make configurations can be modified to fix the build command and the clean command (as a complete clean of the build directory is required to remove the linker script).
Answer Number | 问答标题 | 问题版本 | 已解决问题的版本 |
---|---|---|---|
70673 | SDK 2018.1 - 发布说明与已知问题 | N/A | N/A |
AR# 70771 | |
---|---|
日期 | 04/16/2018 |
状态 | Active |
Type | 已知问题 |
器件 | |
Tools |