[U-Boot] [RFC PATCH 6/8] omap3_beagle: add nand_spl support

John Rigby jcrigby at gmail.com
Wed Dec 29 01:26:57 CET 2010


On Mon, Dec 27, 2010 at 11:50 PM, Aneesh V <aneesh at ti.com> wrote:
> Hello John,
>
> On Tuesday 28 December 2010 06:17 AM, John Rigby wrote:
> < snip >
>
>> +LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
>> +LDFLAGS      = -Bstatic -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_NAND_SPL_TEXT_BASE) $(PLATFORM_LDFLAGS)
>> +AFLAGS       += -DCONFIG_PRELOADER -DCONFIG_NAND_SPL
>> +CFLAGS       += -DCONFIG_PRELOADER -DCONFIG_NAND_SPL
>
> How big is the spl now? For the OMAP4 spl, using '-ffunction-sections'
> and '--gc-sections' reduced the image size by 40% and helped it fit
> into the SRAM bugdet. I am sure your nand_spl is already fitting in the
> SRAM bugdet. But these flags may help reduce the size further. Do you
> want to try it?
It is about 12K.  I will try the additional flags and see what
difference they make and include them in the next version.


More information about the U-Boot mailing list