ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE
PATCH 1/1 ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE
The Pi firmware has changed the default "kernel" load address for 64-bit mode. The authors have confirmed that this is a deliberate and long-term change. Adapt U-Boot to the new value.
Signed-off-by Stephen Warren <[email protected]>
--- include/configs/rpi.h | 4 ++++ 1 file changed, 4 insertions(+)
include/configs/rpi.h +4 -0
@@ -48,7 +48,11 @@/* Memory layout */ #define CONFIG_NR_DRAM_BANKS 1#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#ifdef CONFIG_ARM64 +#define CONFIG_SYS_TEXT_BASE 0x00080000 +#else #define CONFIG_SYS_TEXT_BASE 0x00008000 +#endif #define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE/* * The board really has 256M. However, the VC (VideoCore co-processor) shares
Signature · 1 line
2.7.4
PATCH 1/1 ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE
Quoted 5 lines · Stephen Warren
The Pi firmware has changed the default "kernel" load address for 64-bit mode. The authors have confirmed that this is a deliberate and long-term change. Adapt U-Boot to the new value.
Signed-off-by Stephen Warren <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160416/0b4a634c/attachment.sig>