[U-Boot] Query on CONFIG_SYS_THUMB_BUILD

Wolfgang Denk wd at denx.de
Fri Nov 14 06:43:44 CET 2014


Dear Victor,

In message <54658577.3090807 at gmail.com> you wrote:
> 
> >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb build leads to a saving of almost 1 MB for my u-boot image and consequently to faster serial downloads I have been looking at this. Currently enabling this option leads to a hang
> . 
> > 
> > Saving 1 MB?  So how big is your U-Boot image, then?
> 
> To be exact
> 
> For a thumb build:
> 363288 bytes
> 
> For a non thumb build:
> 482072 bytes

That saves 118784 bytes or 116 KiB.  This is still a lot, but far from
the dramatic "1 MB" you claimed...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offence.
          -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5


More information about the U-Boot mailing list