[U-Boot-Users] Raw binary u-boot.bin is bigger that elf file u-boot

Wolfgang Denk wd at denx.de
Thu Jan 27 01:23:19 CET 2005


In message <b4ab3e29050126160843cb886a at mail.gmail.com> you wrote:
> 
> u-boot            - 60442 bytes
> u-boot.bin     - 947911360 bytes.
> u-boot.map  - 116152 bytes.
> 
> This is really confusing since we get the raw binary by running the
> "objcopy" tool on the ELF format file u-boot.

This can happen easily if there  are  (huge)  gaps  in  your  image's
address map. Run "objdump -h" to check this.

> Any help on this shall be really helpful

Check your linker script and compare against the  memory  map  needed
for your hardware.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
COMPONENT EQUIVALENCY NOTICE:  The  Subatomic  Particles  (Electrons,
Protons,  etc.) Comprising This Product Are Exactly the Same in Every
Measurable Respect as Those Used in the Products of Other  Manufactu-
rers,  and  No Claim to the Contrary May Legitimately Be Expressed or
Implied.




More information about the U-Boot mailing list