
23 Jul
2008
23 Jul
'08
6:32 p.m.
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