From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 23 Jul 2008 12:32:53 -0400 Subject: [U-Boot-Users] u-boot.bin In-Reply-To: <928163.56869.qm@web63414.mail.re1.yahoo.com> References: <928163.56869.qm@web63414.mail.re1.yahoo.com> Message-ID: <48875D35.6050904@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fundu wrote: > Thanks gvb! > that definitely makes sense. > > i see the u-boot.elf file is a lot bigger than the u-boot.bin. why is that ? Hi Fundu, Please bottom post. Run "${CROSS_COMPILE}objdump -h u-boot" and you will see that there are lots of non-loaded segments (symbols, etc.) in there. Run "${CROSS_COMPILE}strip -s u-boot -o=u-boot.strip" and you will see that u-boot.strip is approximately the same size as u-boot.bin. NOTE: I would *NOT* recommend stripping the ELF file unless you have a real need to do so. gvb