[PATCH 2/3] examples: adjust LOAD_ADDR on arm64

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Nov 3 06:35:50 CET 2024


Change the load address on arm64 such that it is compatible with the memory
available on qemu_arm64_defconfig.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 examples/api/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/examples/api/Makefile b/examples/api/Makefile
index ca4eb1f71ad..ec1643e4875 100644
--- a/examples/api/Makefile
+++ b/examples/api/Makefile
@@ -9,8 +9,12 @@ ifeq ($(ARCH),powerpc)
 LOAD_ADDR = 0x40000
 endif
 ifeq ($(ARCH),arm)
+ifdef CONFIG_64BIT
+LOAD_ADDR = 0x40400000
+else
 LOAD_ADDR = 0x1000000
 endif
+endif
 ifeq ($(ARCH),mips)
 ifdef CONFIG_64BIT
 LOAD_ADDR = 0xffffffff80200000
-- 
2.45.2



More information about the U-Boot mailing list