From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann POUPET Date: Tue, 26 Apr 2005 09:09:50 +0200 Subject: [U-Boot-Users] Differences between u-boot and u-boot.bin In-Reply-To: <528646bc050425224515f169f7@mail.gmail.com> References: <426D836A.6070703@yannouch.net> <528646bc050425224515f169f7@mail.gmail.com> Message-ID: <426DE93E.8040806@yannouch.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >>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