* [U-Boot-Users] About the u-boot (in ELF binary format)
@ 2006-01-09 10:35 腾飞龙
2006-01-09 11:53 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: 腾飞龙 @ 2006-01-09 10:35 UTC (permalink / raw)
To: u-boot
Hi,
I have successfully compiled u-boot and ,as you know, there are
several object files produced after"make all", one of which is
u-boot(in ELF binary format) . Now, i run the u-boot(in ELF binary
format) in target board (Embedded Planet EP405)with Linux kernel and
NFS file system.
# ./u-boot
then appears the error echo:
Segmentation fault
will you please tell me what's the problem and how to solve it?
Thank you and best wishes!!
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] About the u-boot (in ELF binary format)
2006-01-09 10:35 [U-Boot-Users] About the u-boot (in ELF binary format) 腾飞龙
@ 2006-01-09 11:53 ` Wolfgang Denk
2006-01-10 2:09 ` [U-Boot-Users] 回复: " 腾飞龙
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2006-01-09 11:53 UTC (permalink / raw)
To: u-boot
In message <c002eb610601090235h7b139895p@mail.gmail.com> you wrote:
>
> I have successfully compiled u-boot and ,as you know, there are
> several object files produced after"make all", one of which is
> u-boot(in ELF binary format) . Now, i run the u-boot(in ELF binary
> format) in target board (Embedded Planet EP405)with Linux kernel and
> NFS file system.
> # ./u-boot
> then appears the error echo:
> Segmentation fault
> will you please tell me what's the problem and how to solve it?
U-Boot is a boot loader and not an application programm which can be
run under Linux.
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
Every little picofarad has a nanohenry all its own. - Don Vonada
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] 回复: About the u-boot (in ELF binary format)
2006-01-09 11:53 ` Wolfgang Denk
@ 2006-01-10 2:09 ` 腾飞龙
2006-01-10 7:31 ` [U-Boot-Users] »Ø¸´: " Tore Martin Hagen
2006-01-10 8:13 ` [U-Boot-Users] Re: 回复: " Wolfgang Denk
0 siblings, 2 replies; 5+ messages in thread
From: 腾飞龙 @ 2006-01-10 2:09 UTC (permalink / raw)
To: u-boot
Hi,
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 ?
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
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?
Thank you in advance!
2006/1/9, Wolfgang Denk <wd@denx.de>:
> In message <c002eb610601090235h7b139895p@mail.gmail.com> you wrote:
> >
> > I have successfully compiled u-boot and ,as you know, there are
> > several object files produced after"make all", one of which is
> > u-boot(in ELF binary format) . Now, i run the u-boot(in ELF binary
> > format) in target board (Embedded Planet EP405)with Linux kernel and
> > NFS file system.
> > # ./u-boot
> > then appears the error echo:
> > Segmentation fault
> > will you please tell me what's the problem and how to solve it?
>
> U-Boot is a boot loader and not an application programm which can be
> run under Linux.
>
> 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
> Every little picofarad has a nanohenry all its own. - Don Vonada
>
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] »Ø¸´: About the u-boot (in ELF binary format)
2006-01-10 2:09 ` [U-Boot-Users] 回复: " 腾飞龙
@ 2006-01-10 7:31 ` Tore Martin Hagen
2006-01-10 8:13 ` [U-Boot-Users] Re: 回复: " Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Tore Martin Hagen @ 2006-01-10 7:31 UTC (permalink / raw)
To: u-boot
Hi ???
The ELF file is used by HW-debuggers, since it contains symbol information.
/Tore Martin Hagen
??? wrote:
>Hi,
> 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 ?
> 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
> 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?
> Thank you in advance!
>
>
>2006/1/9, Wolfgang Denk <wd@denx.de>:
>
>
>>In message <c002eb610601090235h7b139895p@mail.gmail.com> you wrote:
>>
>>
>>> I have successfully compiled u-boot and ,as you know, there are
>>>several object files produced after"make all", one of which is
>>>u-boot(in ELF binary format) . Now, i run the u-boot(in ELF binary
>>>format) in target board (Embedded Planet EP405)with Linux kernel and
>>>NFS file system.
>>> # ./u-boot
>>> then appears the error echo:
>>> Segmentation fault
>>> will you please tell me what's the problem and how to solve it?
>>>
>>>
>>U-Boot is a boot loader and not an application programm which can be
>>run under Linux.
>>
>>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
>>Every little picofarad has a nanohenry all its own. - Don Vonada
>>
>>
>>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_idv37&alloc_id\x16865&opclick
>_______________________________________________
>U-Boot-Users mailing list
>U-Boot-Users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060110/cfdf41d9/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] Re: 回复: About the u-boot (in ELF binary format)
2006-01-10 2:09 ` [U-Boot-Users] 回复: " 腾飞龙
2006-01-10 7:31 ` [U-Boot-Users] »Ø¸´: " Tore Martin Hagen
@ 2006-01-10 8:13 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2006-01-10 8:13 UTC (permalink / raw)
To: u-boot
In message <c002eb610601091809u66626a88g@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-01-10 8:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-09 10:35 [U-Boot-Users] About the u-boot (in ELF binary format) 腾飞龙
2006-01-09 11:53 ` Wolfgang Denk
2006-01-10 2:09 ` [U-Boot-Users] 回复: " 腾飞龙
2006-01-10 7:31 ` [U-Boot-Users] »Ø¸´: " Tore Martin Hagen
2006-01-10 8:13 ` [U-Boot-Users] Re: 回复: " Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox