We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I have added a new platform into TrustedFirmware-A which is based on a single A53 core.Currently, only compiling BL1 and when the secure ROM and SRAM sections are located on the same 4GB space it compiles and link OK:
When the secure ROM and SRAM base addresses are separated with a larger gap (>4GB) then I am getting the following error:
(.text.asm.bl1_entrypoint+0x90): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `__BSS_START__' defined in .bss section in bl1.elf
So my question is:Is that a real limitation of the compiler (or A53) or is there a way to workaround it with some compiler switches or build macros on the TrustedFirmware build?
I am building the TrustedFirmware on Ubuntu 18.04 with cross compiler from Linaro