[meta-xilinx] [PATCH] arm-trusted-firmware: Use constants for memory addresses
Mike Looijmans
mike.looijmans at topic.nl
Thu Sep 22 22:03:06 PDT 2016
On 23-09-16 03:26, Manjukumar Harthikote Matha wrote:
>
>
> On 09/04/2016 11:55 PM, Mike Looijmans wrote:
>> Define ZYNQMP_ATF_MEM_BASE and ZYNQMP_ATF_MEM_SIZE and pass these through
>> to the compiler and image tool. This ensures that the code and the image
>> use the same values.
>>
>> Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
>> ---
>> recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 7 +++++--
>> 1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> index f384f5b..7254e4a 100644
>> --- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> +++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> @@ -31,12 +31,15 @@ LDFLAGS[unexport] = "1"
>> AS[unexport] = "1"
>> LD[unexport] = "1"
>>
>> +ZYNQMP_ATF_MEM_BASE = "0xfffe5000"
>> +ZYNQMP_ATF_MEM_SIZE = "0x16000"
> Maybe reading the load address from elf might help. I think MEM_BASE address
> might change going forward.
>
> For example:
> https://github.com/Xilinx/arm-trusted-firmware/commit/eb4fa652d424b8957a927c6137e2ae3652b0b1bb
>
This patch was to accommodate that. The current version will load it at the
wrong location.
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/
More information about the meta-xilinx
mailing list