[meta-xilinx] [PATCH] arm-trusted-firmware: Use constants for memory addresses
Manjukumar Harthikote Matha
manjukumar.harthikote-matha at xilinx.com
Thu Sep 22 18:26:28 PDT 2016
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
Thanks
Manju
More information about the meta-xilinx
mailing list