[U-Boot] [PATCH v2] rpi: increase SYS_BOOTM_LEN to 64M on ARM64
    Bonnans, Laurent 
    laurent.bonnans at here.com
       
    Wed Jul 31 11:59:41 UTC 2019
    
    
  
On AArch64, kernel images are not self-decompressing and easily exceed
the 8MB limit.
Signed-off-by: Laurent Bonnans <laurent.bonnans at here.com>
---
Changes for v2:
  - only override SYS_BOOTM_LEN in ARM64 case
 include/configs/rpi.h | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index f76c7d18ef..394377b31e 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -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
-- 
2.20.1
    
    
More information about the U-Boot
mailing list