[PATCH V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

Fabio Estevam festevam at gmail.com
Thu Sep 15 11:38:11 CEST 2022


Hi Peng,

On Wed, Sep 14, 2022 at 9:53 PM Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
>
> 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>

Thanks for addressing this issue at an SoC level:

Reviewed-by: Fabio Estevam <festevam at denx.de>


More information about the U-Boot mailing list