From: Wolfgang Denk Date: Fri, 14 Nov 2014 06:43:44 +0100 Subject: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD In-Reply-To: <54658577.3090807@gmail.com> References: <5464DC59.2040707@gmail.com> <20141113205328.3C991382CC5@gemini.denx.de> <54658577.3090807@gmail.com> Message-ID: <20141114054344.A4CB7382CC5@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Victor, In message <54658577.3090807@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