kontron_pitx_imx8m does not start
Marek Vasut
marex at denx.de
Fri Jul 15 12:24:39 CEST 2022
On 7/15/22 12:05, Heiko Thiery wrote:
> Hi Marek
>
> Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut <marex at denx.de>:
>>
>> On 7/15/22 10:33, Heiko Thiery wrote:
>>> Hi,
>>
>> Hi,
>>
>>> I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board
>>> does not start anymore. I have enabled the DUBUG_UART and see the
>>> following outputs
>>
>> Pick
>> [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero
>> MALLOC_F_ADDR
>
> this does not solve the issue.
>>
>> And also, increate SPL_MALLOC_F_LEN in board config if that itself does
>> not help.
>
> As said, I need to increase SYS_MALLOC_F_LEN to 0xc000. Then the board
> starts. But Peng said that this is not a valid value due to the
> OCRAM_S is limited to 32k and this is the MALLOC base.
> On the other hand, why does my board consums that much memory and the
> others not. I cannot find any difference in these boards that explains
> this to me.
Too many clock CCF nodes which each allocate udevice structure (which
... is sub-optimal) ?
Try commenting out some of the clock in drivers/clk/*mx8mm*c using
#ifdef CONFIG_SPL_BUILD , does that make a difference ?
More information about the U-Boot
mailing list