]> git.baikalelectronics.ru Git - uboot.git/commit
Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN
authorPeng Fan <peng.fan@nxp.com>
Thu, 15 Sep 2022 01:38:18 +0000 (09:38 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 18 Sep 2022 20:56:10 +0000 (22:56 +0200)
commitd032010463ff9557a546a2552dff2ff613be77dd
treee428b9b73af74a056d36449553867f02b8e17425
parentd4cedaf1f08268b628c0e958d927bd8c13ff5a7f
Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

"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>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Kconfig