Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Peng Fan
On 9/14/2022 7:51 PM, Heiko Thiery wrote: Hi, Am Mi., 14. Sept. 2022 um 13:34 Uhr schrieb Fabio Estevam : On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: When changing these values on the kontron_pitx_imx8m_defconfig this board also works again. Maybe it could be a good idea to

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 13:34 Uhr schrieb Fabio Estevam : > > On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: > > > When changing these values on the kontron_pitx_imx8m_defconfig this > > board also works again. > > Maybe it could be a good idea to change these values for all imx8mq

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Fabio Estevam
On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: > When changing these values on the kontron_pitx_imx8m_defconfig this > board also works again. > Maybe it could be a good idea to change these values for all imx8mq boards. Yes, agreed. It would be great if someone could align these values

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 06:12 Uhr schrieb Heiko Thiery : > > Hi, > > Am Mi., 14. Sept. 2022 um 03:38 Uhr schrieb Peng Fan (OSS) > : > > > > From: Peng Fan > > > > There is "alloc space exhausted" with DEBUG_UART enabled with the > > options enabled. I don't think the explanation is right.

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-13 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 03:38 Uhr schrieb Peng Fan (OSS) : > > From: Peng Fan > > There is "alloc space exhausted" with DEBUG_UART enabled with the > options enabled. > > CONFIG_DEBUG_UART_BASE=0x3086 # for uart1 > CONFIG_DEBUG_UART_CLOCK=2400 > > It is because

[PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-13 Thread Peng Fan (OSS)
From: Peng Fan There is "alloc space exhausted" with DEBUG_UART enabled with the options enabled. CONFIG_DEBUG_UART_BASE=0x3086 # for uart1 CONFIG_DEBUG_UART_CLOCK=2400 It is because CONFIG_SYS_MALLOC_F_LEN is too small, enlarge it. And set CONFIG_SPL_STACK to 0x188000 to not