From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] axm SPL image too big
Date: Tue, 12 Jan 2016 11:48:17 +0100 [thread overview]
Message-ID: <5694D9F1.8080208@denx.de> (raw)
In-Reply-To: <20160112112624.2cf8afed@lilith>
Hello Albert,
Am 12.01.2016 um 11:26 schrieb Albert ARIBAUD:
> (cc:ing Heiko as the maintainer for axm/taurus)
>
> Hello,
>
> AXM is currently the only board failing 'buildman arm aarch64':
>
> +arm-unknown-linux-gnueabi-ld.bfd: SPL image too big
> +make[2]: *** [spl/u-boot-spl] Error 1
> +make[1]: *** [spl/u-boot-spl] Error 2
> +make: *** [sub-make] Error 2
>
> Apparently SPL is already being built in Thumb instruction set, so no
> way to gain anything that way.
I know, it was tricky to get SPL into 4k ...
> What else can we do to get SPL size back under limit?
Hmm.. what is your exact toolchain?
I see for the axm board:
With eldk-5.4
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size u-boot
text data bss dec hex filename
212583 23792 23552 259927 3f757 u-boot
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size spl/u-boot-spl
text data bss dec hex filename
14568 1212 1140 16920 4218 spl/u-boot-spl
pollux:u-boot-smartweb hs [master] $
With eldk-5.5
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size u-boot
text data bss dec hex filename
210690 23672 23556 257918 3ef7e u-boot
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size spl/u-boot-spl
text data bss dec hex filename
14472 1212 1140 16824 41b8 spl/u-boot-spl
pollux:u-boot-smartweb hs [master] $
for the taurus board:
eldk-5.4
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size u-boot
text data bss dec hex filename
284516 25500 1272228 1582244 1824a4 u-boot
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size spl/u-boot-spl
text data bss dec hex filename
14488 1212 1140 16840 41c8 spl/u-boot-spl
pollux:u-boot-smartweb hs [master] $
eldk-5.5
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size u-boot
text data bss dec hex filename
282155 25380 1274580 1582115 182423 u-boot
pollux:u-boot-smartweb hs [master] $ arm-linux-gnueabi-size spl/u-boot-spl
text data bss dec hex filename
14392 1212 1140 16744 4168 spl/u-boot-spl
pollux:u-boot-smartweb hs [master] $
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2016-01-12 10:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 10:26 [U-Boot] axm SPL image too big Albert ARIBAUD
2016-01-12 10:48 ` Heiko Schocher [this message]
2016-01-12 14:25 ` Albert ARIBAUD
2016-01-13 5:22 ` Heiko Schocher
2016-01-13 15:45 ` Tom Rini
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=5694D9F1.8080208@denx.de \
--to=hs@denx.de \
--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