[PATCH] mips: mt7688: gardena-smart-gateway: Increase CONFIG_SYS_BOOTM_LEN

Ezra Buehler ezra at easyb.ch
Wed Oct 23 15:27:31 CEST 2024


From: Ezra Buehler <ezra.buehler at husqvarnagroup.com>

The default value of 0x800000 (8 MB) is somewhat limiting for us, as our
compressed kernel may grow up to around 4 MB. By choosing the commonly
used value of 0x2000000 (32 MB), we are definitely on the safe side.
This rather large amount should be fine, as we have 128 MB of RAM.

Signed-off-by: Ezra Buehler <ezra.buehler at husqvarnagroup.com>
---

Are there drawbacks of choosing a hight value for CONFIG_SYS_BOOTM_LEN
that I am missing here? If so, 0x1000000 is most likely enough too.

Cheers,
Ezra.

 configs/gardena-smart-gateway-mt7688_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/gardena-smart-gateway-mt7688_defconfig
index b7f4a76ce6..2c69e91339 100644
--- a/configs/gardena-smart-gateway-mt7688_defconfig
+++ b/configs/gardena-smart-gateway-mt7688_defconfig
@@ -47,6 +47,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_LICENSE=y
+CONFIG_SYS_BOOTM_LEN=0x2000000
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_MEMINFO=y
-- 
2.43.0



More information about the U-Boot mailing list