[U-Boot] Fwd: u-boot.img size limit for spl fat load ?

Ayoub Zaki ayoub.zaki at googlemail.com
Mon Jan 19 13:20:21 CET 2015


I checked the SPL Memory allocations :

CONFIG_SYS_SPL_MALLOC_START="(CONFIG_SPL_BSS_START_ADDR +
CONFIG_SPL_BSS_MAX_SIZE)"
CONFIG_SPL_TEXT_BASE=0x402F0400
CONFIG_SPL_BSS_MAX_SIZE=0x80000
CONFIG_SPL_BSS_START_ADDR=0x80a00000

My U-boot.img is arround 2.8MB

I increased the CONFIG_SPL_BSS_MAX_SIZE to 0x400000 but it did not improve
the result, for me is not clear how to play/adjust those values ?



2015-01-19 10:54 GMT+01:00 Albert ARIBAUD <albert.u.boot at aribaud.net>:

> Addition:
>
> > Can you check CONFIG_SPL_BSS_* and CONFIG_SYS_SPL_MALLOC_* definitions
> > against CONFIG_SYS_TEXT_BASE and file size?
>
> Same goes for SPL stack if it is placed in DDR.
>
> Amicalement,
> --
> Albert.
>


More information about the U-Boot mailing list