[U-Boot-Users] Newbie question - cross

Hello,
I am newbie to u-boot and linux. I am working on a board that uses MPC8540 and my host environment is Red Hat 9.0. I have a u-boot (ver 1.0.1) that works fine on my board. However, this u-boot was built using the toolchain provided by Metroworks(gcc version 2.95.3) and this toolchain is not under GPL!
My question is can someone point me to a GPL toolchain that I can use to build the u-boot for MPC8540?
I have already tried using the croos-toolchain provided from kegel.com (gcc-3.3.2-glibc-2.3.2). I use this toolchain to build my linux image and it works fine. However, the u-boot I built using this toolchain does not work! Unfortunately, I don't have a BDI debugger to be able to see how far the u-boot runs before it hangs!
Thanks in advance for your help,
Reza.
__________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/

In message 20040719220223.86035.qmail@web61104.mail.yahoo.com you wrote:
on my board. However, this u-boot was built using the toolchain provided by Metroworks(gcc version 2.95.3) and this toolchain is not under GPL!
You must be joking. If this is GCC version 2.95.3 it MUST be availabel under GPL; maybe not the Metroworks proprietary extensions, but they must offer the sources for the compiler and probably also for the binutils and libraries.
My question is can someone point me to a GPL toolchain that I can use to build the u-boot for MPC8540?
There are so many of them...
I have already tried using the croos-toolchain provided from kegel.com (gcc-3.3.2-glibc-2.3.2). I use this toolchain to build my linux image and it works fine. However, the u-boot I built using this toolchain does not work! Unfortunately, I don't have
What makes you think the toolchain is to blame for that?
a BDI debugger to be able to see how far the u-boot runs before it hangs!
Then get one. You will need it later anyway.
Best regards,
Wolfgang Denk

On Mon, 2004-07-19 at 17:02, Reza Salehi wrote:
Hello,
I am newbie to u-boot and linux. I am working on a board that uses MPC8540 and my host environment is Red Hat 9.0. I have a u-boot (ver 1.0.1) that works fine on my board. However, this u-boot was built using the toolchain provided by Metroworks(gcc version 2.95.3) and this toolchain is not under GPL!
Hmmm... I'll bet it is, actually.
My question is can someone point me to a GPL toolchain that I can use to build the u-boot for MPC8540?
I currently use this for most of my development:
gcc (GCC) 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)
I have heard a rumor of the current code not compiling with GCC 2.95, but have not yet had a chance to verify it. I believe it was a reported problem with an assembler interpretation of a C macro for the TLB_MAS() handling. If you are seeing that, just re-join the split lines into one much larger TLB_MAS3() line and see if that helps.
You should plan on uprev'ing to a modern GCC, of course.
Unfortunately, I don't have a BDI debugger to be able to see how far the u-boot runs before it hangs!
You might consider getting one.
Thanks in advance for your help,
Reza.
jdl

In message 1090334884.4910.11.camel@blarg.somerset.sps.mot.com you wrote:
I currently use this for most of my development:
gcc (GCC) 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)
...whichis identical to the tools used in ELDK 3.0 (which actually is based on YD-3.0).
I have heard a rumor of the current code not compiling with GCC 2.95, but have not yet had a chance to verify it. I believe it was a reported problem with an assembler interpretation of a C macro for the TLB_MAS() handling.
Yes. You need binutils 2.14 or later.
See "doc/README.mpc85xxads".
You should plan on uprev'ing to a modern GCC, of course.
Like ELDK 3.1 :-)
Best regards,
Wolfgang Denk
participants (3)
-
Jon Loeliger
-
Reza Salehi
-
Wolfgang Denk