[U-Boot-Users] Differences between u-boot and u-boot.bin

Yann POUPET yann at yannouch.net
Tue Apr 26 09:09:50 CEST 2005


>>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.
>
>  
>
>>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




More information about the U-Boot mailing list