[PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

Peng Fan peng.fan at oss.nxp.com
Thu Sep 15 02:44:03 CEST 2022



On 9/14/2022 7:51 PM, Heiko Thiery wrote:
> Hi,
> 
> Am Mi., 14. Sept. 2022 um 13:34 Uhr schrieb Fabio Estevam <festevam at gmail.com>:
>>
>> On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery <heiko.thiery at gmail.com> 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 for
>> all imx8mq boards.
> 
> Strange thing is, that we already had the value of 0x10000 (introduced
> by 545eceb52062cdc995c45b9581174b7ae66b0e6f and reverted by
> b598957206e541b3f8876ae34a15fac6da90dcef) and Peng said that the
> MALLOC BASE address of the IMX8MQ is set to OCRAM_S amd has 32kB [1].


CONFIG_SPL_SYS_MALLOC_F_LEN should be set to 0x2000
CONFIG_SYS_MALLOC_F_LEN should be a bit larger after DM CLK enabled.

Regards,
Peng.

> 
> [1] https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fu-boot%2F718b5b97-2b53-06f0-540b-70dd45f3915c%40oss.nxp.com%2F&data=05%7C01%7Cpeng.fan%40nxp.com%7C7bec6a3ee3754efc681908da964777e0%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637987530938669481%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uLMVrBhVtoXCKJRIUXdKxan%2FemHbKb%2B64ZF4RFWk7Hc%3D&reserved=0
> 
> --
> Heiko


More information about the U-Boot mailing list