Skip to contentSkip to conversation

arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB

PATCH New Andre Heider 2 participants 2 messages Sep 7, 2020 – Sep 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB

From: Vladimir Vid <[email protected]>

Increase max gunzip size, required for booting itb recovery images on uDPU.

[a.heider: adapt to mainline]

---

Patch taken from OpenWRT's uboot-mvebu package.

 include/configs/mvebu_armada-37xx.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/mvebu_armada-37xx.h +4 -0
index 905ce09b7a..27428d5a0f 100644
@@ -6,6 +6,8 @@
 #ifndef _CONFIG_MVEBU_ARMADA_37XX_H
 #define _CONFIG_MVEBU_ARMADA_37XX_H
 
+#include <linux/sizes.h>
+
 /*
  * High Level Configuration Options (easy to change)
  */
@@ -13,6 +15,8 @@
 /* additions for new ARM relocation support */
 #define CONFIG_SYS_SDRAM_BASE	0x00000000
 
+#define CONFIG_SYS_BOOTM_LEN	SZ_64M /* Increase max gunzip size */
+
 /* auto boot */
 
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, \
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 arm64: a37xx: increase CONFIG_SYS_BOOTM_LEN to 64MB

Quoted 11 lines · Andre Heider

From: Vladimir Vid <[email protected]>

Increase max gunzip size, required for booting itb recovery images on uDPU.

[a.heider: adapt to mainline]

---

Patch taken from OpenWRT's uboot-mvebu package.

Applied to u-boot-marvell/master

Thanks,
Stefan

Quoted 18 lines
  include/configs/mvebu_armada-37xx.h | 4 ++++
  1 file changed, 4 insertions(+)
include/configs/mvebu_armada-37xx.h +2 -0
index 905ce09b7a..27428d5a0f 100644
@@ -6,6 +6,8 @@
  #ifndef _CONFIG_MVEBU_ARMADA_37XX_H
  #define _CONFIG_MVEBU_ARMADA_37XX_H
 
+#include <linux/sizes.h>
+
  /*
   * High Level Configuration Options (easy to change)
   */

include/configs/mvebu_armada-37xx.h line 22

Quoted 8 lines
include/configs/mvebu_armada-37xx.h +2 -0
@@ -13,6 +15,8 @@
  /* additions for new ARM relocation support */
  #define CONFIG_SYS_SDRAM_BASE	0x00000000
 
+#define CONFIG_SYS_BOOTM_LEN	SZ_64M /* Increase max gunzip size */
+
  /* auto boot */
 
  #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, \

Viele Gr??e,
Stefan

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de