[PATCH V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

sbabic at denx.de sbabic at denx.de
Sun Sep 18 22:41:52 CEST 2022


> From: Peng Fan <peng.fan at nxp.com>
> "alloc space exhausted" happens in very early stage, which could be seen
> with DEBUG_UART options enabled and leeds to an non-functional board.
> kontron_pitx_imx8m:
> CONFIG_DEBUG_UART_BASE=0x30880000   # for serial3
> CONFIG_DEBUG_UART_CLOCK=24000000
> imx8mqevk:
> CONFIG_DEBUG_UART_BASE=0x30860000      # for uart1
> CONFIG_DEBUG_UART_CLOCK=24000000
> It is because CONFIG_SYS_MALLOC_F_LEN is too small and still leave
> CONFIG_SPL_SYS_MALLOC_F_LEN as 0x2000.
> Reported-by: Heiko Thiery <heiko.thiery at gmail.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Reviewed-by: Heiko Thiery <heiko.thiery at gmail.com>
> Tested-by: Heiko Thiery <heiko.thiery at gmail.com>
> Reviewed-by: Fabio Estevam <festevam at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list