[U-Boot] [PATCH 1/1] toradex apalis/colibri: extend CONFIG_SYS_MALLOC_F_LEN

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri May 17 14:58:37 UTC 2019


On Fri, 2019-05-17 at 11:52 -0300, Fabio Estevam wrote:
> Hi Igor,
> 
> On Fri, May 17, 2019 at 11:49 AM Igor Opaniuk <
> igor.opaniuk at toradex.com> wrote:
> > Extend size of the malloc() pool for use before relocation, from
> > 0x400
> > (default one) to 0x2000 (CONFIG_SYS_MALLOC_F_LEN=0x2000),
> > as adding of DM_FLAG_PRE_RELOC flag to simple-bus driver introduced
> > a
> > regression on multiple boards, because of more intensive usage of
> > malloc()
> > pool and therefore a broken boot as the size of pool isn't
> > sufficient.
> > 
> > Fixes: 3a7c45f6a7 ("simple-bus: add DM_FLAG_PRE_RELOC flag to
> > simple-bus")
> > Signed-off-by: Igor Opaniuk <igor.opaniuk at toradex.com>
> 
> I have already sent a fix for this issue:
> https://lists.denx.de/pipermail/u-boot/2019-May/367839.html

Ah, cool. But I believe on i.MX 8QM not even 0x2000 is/was enough but I
rather had/have to increase it to 0x4000 (which BTW: Peng had already
increased it to on i.MX 8QXP (;-p).

commit e5b8f7e665aa ("imx8qxp: mek: enable dm-spl for pm")

> Thanks


More information about the U-Boot mailing list