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/
Quoted 4 lines · In message <[email protected]> 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.
Quoted 2 lines
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...
Quoted 5 lines
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?
Quoted 2 lines
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
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Bugs are by far the largest and most successful class of
entity, with nearly a million known species. In this res-
pect they outnumber all the other known creatures about
four to one. -- Professor Snope's Encyclopedia of AnimalQuoted 8 lines · Reza Salehi
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 3 lines
Thanks in advance for your help,
Reza.
jdl
Quoted 4 lines · In message <[email protected]> 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).
Quoted 4 lines
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".
Quoted 1 line
You should plan on uprev'ing to a modern GCC, of course.
Like ELDK 3.1 :-)
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Anything free is worth what you pay for it.