[PATCH] mips: mt7688: gardena-smart-gateway: Increase CONFIG_SYS_BOOTM_LEN
Stefan Roese
sr at denx.de
Wed Oct 23 15:48:11 CEST 2024
On 10/23/24 15:27, Ezra Buehler wrote:
> 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.
I don't see problems with using 32MB, so:
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> 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
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
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
More information about the U-Boot
mailing list