Skip to contentSkip to conversation

rpi: increase SYS_BOOTM_LEN to 64M on ARM64

PATCH New Bonnans 1 participant 1 message Jul 31, 2019

lore
Share & tools
lore

Bonnans

#0 lore raw

PATCH v2 1/1 rpi: increase SYS_BOOTM_LEN to 64M on ARM64

On AArch64, kernel images are not self-decompressing and easily exceed the 8MB limit.

---
Changes for v2:
- only override SYS_BOOTM_LEN in ARM64 case

 include/configs/rpi.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/rpi.h +4 -0
index f76c7d18ef..394377b31e 100644
@@ -56,6 +56,10 @@
 #define CONFIG_SYS_MEMTEST_END		0x00200000
 #define CONFIG_LOADADDR			0x00200000
 
+#ifdef CONFIG_ARM64
+#define CONFIG_SYS_BOOTM_LEN		SZ_64M
+#endif
+
 /* Devices */
 /* GPIO */
 #define CONFIG_BCM2835_GPIO
Signature · 1 line
2.20.1