[U-Boot-Users] Re: 回复: About the u-boot (in ELF binary format)

Wolfgang Denk wd at denx.de
Tue Jan 10 09:13:45 CET 2006


In message <c002eb610601091809u66626a88g at mail.gmail.com> you wrote:
>
>    As you said, one must download the .bin file to flash and not the
> ELF file, and U-Boot is a boot loader and not an application programm
> which can  be
> run under Linux. then, what is the u-boot(in ELF binary format) for ?

for debuggung. You need an ELF file to load into GDB.

>   I red the book"Building Embeded Linux systems " written by Karim
> Yaghmour,in section 9.5 it described like this:
>   If you intend to debug U-Boot itself ,copy the ELF binary also:
>   $ u-boot ${PROJECT}/images/u-boot-0.2.0

Yes, and you should read more of this book, and  especially  more  of
the U-Boot manual, too.

>   Here ${PROJECT}/images is a directory to which u make a copy of the
> relevant bootloader images. so, i guess the ELF file may be downloaded
> to target to debug u-boot. Is it so and how does the file work?

You guessed wrong. Instead, read the documentation.

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
Q:  Why do mountain climbers rope themselves together?
A:  To prevent the sensible ones from going home.




More information about the U-Boot mailing list