summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@suse.de>2024-01-23 10:07:59 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2024-01-30 17:40:13 +0100
commit12d479d01849c164020e17c3ae921f974b96372d (patch)
tree66840bab79fdbcb4b18cf555d06d8c01b91834fc
parent239fd8651d15008f303ed82e5087b7b9868650e7 (diff)
configs: rpi_arm64: build position independent code
Latest RPi5 EEPROM firmware versions after "DATE: 2023/10/30", has changed kernel load address from 0x80000 to 0x200000 which break boot process. Switch to position independent code to be able to boot the same binary on top of different EEPROM firmware versions. Tested on: Raspberry Pi 5 Model B Rev 1.0 Raspberry Pi 4 Model B Rev 1.1 Raspberry Pi 3 Model B Plus Rev 1.3 Raspberry Pi Zero 2 W Rev 1.0 Raspberry Pi 2 Model B Rev 1.2 Raspberry Pi Compute Module 4 Rev 1.0 Raspberry Pi Compute Module 3 Rev 1.0 Tested-by: Jens Maus <mail@jens-maus.de> Tested-by: Darko Alavanja <darko.alavanja@konsulko.com> Signed-off-by: Ivan T. Ivanov <iivanov@suse.de> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
-rw-r--r--configs/rpi_arm64_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/rpi_arm64_defconfig b/configs/rpi_arm64_defconfig
index 11ede9435d8..e4c4aef9a48 100644
--- a/configs/rpi_arm64_defconfig
+++ b/configs/rpi_arm64_defconfig
@@ -1,6 +1,6 @@
CONFIG_ARM=y
CONFIG_ARCH_BCM283X=y
-CONFIG_TEXT_BASE=0x00080000
+CONFIG_POSITION_INDEPENDENT=y
CONFIG_TARGET_RPI_ARM64=y
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x7fffe30