* [U-Boot-Users] Problem building U-boot for RpxLite with Mpc823e
@ 2004-08-14 1:05 Ccool
2004-08-14 18:00 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Ccool @ 2004-08-14 1:05 UTC (permalink / raw)
To: u-boot
Hi guys,
I'm new to the list, but I though it would be a good place to find out some
help.
I'm looking for some "recent" documentation for U-boot for the rpxlite
project. I've been trying to understand the doc, but the readme is based on
the old project (ppcboot-0.8.1) and the date is 29-01-2001. I'm working
with a crosscompiler and I'm not able to compile an executable binary. (The
cross-compiler is the cross-tools from timesys, I also tried powerpc-eabi
(p.o.m.p. tools suit) and it did'nt work either.)
I know the crosscompiler works, because I've compiled busybox and a kernel and
they both work great. Now my goal is to stop using the nfsmount (timesys
default) and boot from the flash (probably with an initrd image).
If anyone has some doc or a link to it, a few hints would be greatly
appreciated.
PS: sorry for my bad english, it's not my first/main language.
Raphael
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Problem building U-boot for RpxLite with Mpc823e
2004-08-14 1:05 [U-Boot-Users] Problem building U-boot for RpxLite with Mpc823e Ccool
@ 2004-08-14 18:00 ` Wolfgang Denk
2004-08-15 19:27 ` Ccool
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2004-08-14 18:00 UTC (permalink / raw)
To: u-boot
Dear Raphael,
in message <200408132105.25912.ccool@ninjatech.biz> you wrote:
>
> I'm looking for some "recent" documentation for U-boot for the rpxlite
> project. I've been trying to understand the doc, but the readme is based on
There is no "rpxlite project".
> the old project (ppcboot-0.8.1) and the date is 29-01-2001. I'm working
So what? If you think that parts of this documentation are wrong or
obsolete please point them out in detail.
> with a crosscompiler and I'm not able to compile an executable binary. (The
> cross-compiler is the cross-tools from timesys, I also tried powerpc-eabi
> (p.o.m.p. tools suit) and it did'nt work either.)
I know neither of these, but it seems everybody else hase no problems
compiling the code. We're using the ELDK, and it workes without any
problems.
> I know the crosscompiler works, because I've compiled busybox and a kernel and
You did not bother to mention any specific error message you get when
following the instructions.
It's impossible to help you without more (and better) information for you.
> they both work great. Now my goal is to stop using the nfsmount (timesys
> default) and boot from the flash (probably with an initrd image).
What makes you think that this requires to recompile U-Boot?
Did you actually READ the available documentation, especially the
DULG's sections about U-Boot's environment variables and how to
employ these?
> If anyone has some doc or a link to it, a few hints would be greatly
> appreciated.
RTFM. It's at http://www.denx.de/twiki/bin/view/DULG/Manual
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
A witty saying proves nothing, but saying something pointless gets
people's attention.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Problem building U-boot for RpxLite with Mpc823e
2004-08-14 18:00 ` Wolfgang Denk
@ 2004-08-15 19:27 ` Ccool
2004-08-15 21:16 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Ccool @ 2004-08-15 19:27 UTC (permalink / raw)
To: u-boot
>
> There is no "rpxlite project".
>
Sorry I meant the RPXlite section in the U-boot project.
> > the old project (ppcboot-0.8.1) and the date is 29-01-2001. I'm working
>
> So what? If you think that parts of this documentation are wrong or
> obsolete please point them out in detail.
I was talking about Readme file : "doc/README.RPXlite" file. I thought that
the section 1 might be obsolete. With the documentation of my RPXlite, I
have'nt found any VisionClick flash programmer.
About the documentation link you've sent me, I read everything except the ELDK
section. I did compile a u-boot, u-boot.bin, and everything without any
error messages. (Compiler used is 2.95.2, just in case). Before writing
everything into the flash memory, I wanted to test it by loading it into the
ram and execute the binary file. ( the same way I do when I want to run
linux on the box, I load a kernel at 0040 0000, and then run the code
starting at 0040 0000 or 0041 0000 (when the 64k ELF header is not
stripped)). And as for the u-boot binaries, they do not want to run, and I
get no error message, my RPXLite either reboot or freeze.
I also tried the u-boot.srec, just in case the S-record image would run
better, but it did'nt. I guess that's why I'm looking for someone who could
give me a few hints about how to run u-boot.
As I understand it (and maybe this is where my problem is) I am supposed to be
able tu run u-boot's binary (or s-record image) directly from the ram. Now,
this task seems impossible to me. I even tried to run the elf binary in the
linux box that I have made (mounted via nfs) and it crashed (Segmentation
fault error only)
I know these questions might sound "newbee" to you guys, but I really need to
know if this code is suppose to work alone, without any kernel, or it
absolutly need to work under linux (a bit like when you run lilo from a
"normal-i386" linux box)
I thank you a lot for your time, this is really helpful. Like they say, the
firsts steps are always the hardest and theses are my first in the embedded
world...
Rapha?l
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Problem building U-boot for RpxLite with Mpc823e
2004-08-15 19:27 ` Ccool
@ 2004-08-15 21:16 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-08-15 21:16 UTC (permalink / raw)
To: u-boot
Dear Rapha?l,
in message <200408151527.48616.ccool@ninjatech.biz> you wrote:
>
> > So what? If you think that parts of this documentation are wrong or
> > obsolete please point them out in detail.
>
> I was talking about Readme file : "doc/README.RPXlite" file. I thought that
> the section 1 might be obsolete. With the documentation of my RPXlite, I
> have'nt found any VisionClick flash programmer.
That doesn't mean that the documentationis obsolete. You can buy a
Visio* Debugger if you like (*), but this is a complete separate
product and has nothing to to with the RPXlite.
(*) IMHO your money is better spent if you buy a BDI2000 instead.
> everything into the flash memory, I wanted to test it by loading it into the
> ram and execute the binary file. ( the same way I do when I want to run
This cannot be done easily (*), and if you read the mailing list
archive you will find why.
(*) "Not easily" means that you cannot do it if you have to ask why
it's not working or what needs to be done to get it working. And
if you know these things, you will not do it because then you'll
also understand that it doesn't allow you to perform the test you
are looking for.
> better, but it did'nt. I guess that's why I'm looking for someone who could
> give me a few hints about how to run u-boot.
This is writtenin the docs: burn it into flash, and reset the board.
> As I understand it (and maybe this is where my problem is) I am supposed to be
> able tu run u-boot's binary (or s-record image) directly from the ram. Now,
No, you are NOT supposed to. There is not a single place in the docs
which even faintly suggests this.
> I know these questions might sound "newbee" to you guys, but I really need to
Just stick with the written documentation, and follow it verbatim;
don't speculate.
> know if this code is suppose to work alone, without any kernel, or it
> absolutly need to work under linux (a bit like when you run lilo from a
> "normal-i386" linux box)
You are confused. Running the "lilo" comand under Linux has nothing
to do with running the "lilo" boot loader. These are totally
different programs.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Another megabytes the dust.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-15 21:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-14 1:05 [U-Boot-Users] Problem building U-boot for RpxLite with Mpc823e Ccool
2004-08-14 18:00 ` Wolfgang Denk
2004-08-15 19:27 ` Ccool
2004-08-15 21:16 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.