[U-Boot-Users] u-boot.bin

Jerry Van Baren gerald.vanbaren at ge.com
Wed Jul 23 18:32:53 CEST 2008


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




More information about the U-Boot mailing list