From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 6/8] omap3_beagle: add nand_spl support
Date: Tue, 28 Dec 2010 08:49:07 +0100 [thread overview]
Message-ID: <4D199673.1040704@googlemail.com> (raw)
In-Reply-To: <4D1988D0.2020903@ti.com>
On 28.12.2010 07:50, Aneesh V 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?
Applying this patch series and building with gcc version 4.3.3
(Sourcery G++ Lite 2009q1-203) I get
> ./MAKEALL omap3_beagle_nand
nand_boot.c: In function 'nand_boot':
nand_boot.c:356: warning: 'noreturn' function does return
mkimage.c: In function ?main?:
mkimage.c:159: warning: implicit declaration of function
?init_omap_image_type?
> ll u-boot-spl.ift
12580 u-boot-spl.ift
Using gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) results in the
same warnings and
> ll u-boot-spl.ift
12360 u-boot-spl.ift
Thanks
Dirk
next prev parent reply other threads:[~2010-12-28 7:49 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 0:47 [U-Boot] [RFC PATCH 0/8] Add nand_spl support for TI OMAP Beagle John Rigby
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 1/8] NAND: nand_spl/nand_boot.c: add 16-bit and readid support John Rigby
2011-01-04 22:08 ` Scott Wood
2011-01-04 22:19 ` Scott Wood
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 2/8] armv7: add nand_spl support John Rigby
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 3/8] OMAP3: and " John Rigby
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 4/8] OMAP3: add dram timing constants from x-loader John Rigby
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 5/8] NAND: omap_gpmc.c: add nand_spl support John Rigby
2011-01-04 22:24 ` Scott Wood
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 6/8] omap3_beagle: " John Rigby
2010-12-28 6:50 ` Aneesh V
2010-12-28 7:49 ` Dirk Behme [this message]
2010-12-29 0:27 ` John Rigby
2010-12-29 0:26 ` John Rigby
2010-12-29 5:37 ` Aneesh V
2011-01-04 22:26 ` Scott Wood
2011-01-08 6:33 ` Aneesh V
2011-01-08 6:46 ` John Rigby
2011-01-08 8:33 ` Aneesh V
2011-01-08 17:43 ` John Rigby
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 7/8] mkimage: Add OMAP boot image support John Rigby
2011-01-04 13:43 ` Bedia, Vaibhav
2011-01-04 15:37 ` John Rigby
2010-12-28 0:47 ` [U-Boot] [RFC PATCH 8/8] OMAP3: Add ift target to top level Makefile John Rigby
2010-12-28 9:37 ` Dirk Behme
2010-12-28 6:17 ` [U-Boot] [RFC PATCH 0/8] Add nand_spl support for TI OMAP Beagle Aneesh V
2010-12-29 0:29 ` John Rigby
2010-12-28 19:49 ` Paulraj, Sandeep
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D199673.1040704@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox