[PATCH] ARM: mach-snapdragon: configure a larger default SYS_MALLOC_LEN for fastboot
Caleb Connolly
caleb.connolly at linaro.org
Thu Oct 17 17:24:43 CEST 2024
On 16/10/2024 11:25, Neil Armstrong wrote:
> Fastboot is very hungry when it flashes larges chunks, and 8MiB
> is way too small, allocate a much bigger size like other platforms
> using Fastboot.
>
> Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
Confirmed on RB1 (1GiB total RAM) that this doesn't cause any issues.
Tested-by: Caleb Connolly <caleb.connolly at linaro.org> # rb1
Reviewed-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
> arch/arm/mach-snapdragon/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
> index 536960b83c3..2985d9d3ca4 100644
> --- a/arch/arm/mach-snapdragon/Kconfig
> +++ b/arch/arm/mach-snapdragon/Kconfig
> @@ -11,6 +11,9 @@ config SYS_VENDOR
> Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
> will be used as the custom board directory.
>
> +config SYS_MALLOC_LEN
> + default 0x10000000
> +
> config SYS_MALLOC_F_LEN
> default 0x2000
>
>
> ---
> base-commit: d5cab0d6adc26ec1bbd45c2fed101184d04454ae
> change-id: 20241016-topic-sm8x50-bigger-malloc-len-911bea6a047f
>
> Best regards,
--
// Caleb (they/them)
More information about the U-Boot
mailing list