
15 Sep
2022
15 Sep
'22
11:38 a.m.
Hi Peng,
On Wed, Sep 14, 2022 at 9:53 PM Peng Fan (OSS) peng.fan@oss.nxp.com wrote:
From: Peng Fan peng.fan@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@gmail.com Signed-off-by: Peng Fan peng.fan@nxp.com
Thanks for addressing this issue at an SoC level:
Reviewed-by: Fabio Estevam festevam@denx.de