[U-Boot] [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

Tom Rini trini at konsulko.com
Mon Jul 1 13:39:01 UTC 2019


On Mon, Jun 17, 2019 at 11:08:34AM +0800, Shawn Guo wrote:

> There is a regression seen on Poplar platform, which doesn't even show
> a U-Boot version banner on booting.  It turns out that due to landing
> of commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to
> simple-bus driver"), we need to increase SYS_MALLOC_F_LEN from its
> default size 0x400, as pre-relocation requires more memory there.  Let's
> increase SYS_MALLOC_F_LEN to 0x4000 to fix the regression.
> 
> Thanks to Andreas Färber <afaerber at suse.de> for reporting, and Bin Meng
> <bmeng.cn at gmail.com> for trouble shooting.
> 
> Reported-by: Andreas Färber <afaerber at suse.de>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Andreas Färber <afaerber at suse.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190701/5a22f377/attachment.sig>


More information about the U-Boot mailing list