Skip to contentSkip to conversation

Differences between u-boot and u-boot.bin

U-Boot-Users Yann POUPET 3 participants 4 messages Apr 25, 2005 – Apr 26, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

Could someone explain me the difference between the u-boot elf binary and u-boot.bin files both generated when I build u-boot ?

I which context/condition should I use one or the other ?

Thank you.

Best regards,

Yann

#1 lore raw
Quoted 4 lines · Yann POUPET

Hello,

Could someone explain me the difference between the u-boot elf binary and u-boot.bin files both generated when I build u-boot ?

u-boot: elf file, includes both machine code and symbol tables (function names, etc)
u-boot.bin: raw machine code in binary image. u-boot.srec: raw machine code in srecord format.

Quoted 2 lines

I which context/condition should I use one or the other ?

u-boot: Use with symbolic debugger (gdb) u-boot.bin: flash verbatim into ROM u-boot.srec: flash into ROM using srec loader

#2 lore raw
Quoted 13 lines
Quoted 6 lines

Hello,

Could someone explain me the difference between the u-boot elf binary and u-boot.bin files both generated when I build u-boot ?

u-boot: elf file, includes both machine code and symbol tables (function names, etc)
u-boot.bin: raw machine code in binary image. u-boot.srec: raw machine code in srecord format.

Quoted 9 lines
Quoted 3 lines

I which context/condition should I use one or the other ?

u-boot: Use with symbolic debugger (gdb) u-boot.bin: flash verbatim into ROM u-boot.srec: flash into ROM using srec loader

OK; thank you for the answer.
So, if I understand correctly, the 2 files are almost the same but u-boot adds extra features such as being able to be debugged with GDB ? What could explain that on my board (a one close to the edb9312) u-boot works and u-boot.bin does nothing ?

Best regards

yann

#3 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

What could explain that on my board (a one close to the edb9312) u-boot works and u-boot.bin does nothing ?

You probably used a way to install it that didn't work with a raw binary image.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
News is what a chap who doesn't care much  about  anything  wants  to
read. And it's only news until he's read it. After that it's dead.
                           - Evelyn Waugh _Scoop_ (1938) bk. 1, ch. 5