This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

which toolchain to build u-boot for TQM860?


  to make a long story short, i need to upgrade u-boot on a number of
TQM860 boards on which the current version of u-boot is a positively
ancient 0.4.0.  i was handed the following powerpc toolchain for the
recompile of u-boot:

$ powerpc-unknown-linux-gnu-gcc --version
powerpc-unknown-linux-gnu-gcc (crosstool-NG-1.10.0) 4.4.5
...
$

but this is what happened when i tried to configure and build the
current git clone of u-boot (CROSS_COMPILE is set properly in shell
environment):

$ make TQM860L_config
$ make all
... much snipping here ...
u-boot.lds:76 cannot move location counter backwards (from 40008604 to 40008000)
make: *** [u-boot] Error 1
$

  a quick google pulled this up as an explanation for why that would
happen during the u-boot *porting* process:

http://www.denx.de/wiki/publish/DULG/DULG-tqm8xxl.html#Section_14.2.13.

and asking on the u-boot list got a reply from wolfgang of "Your tool
chain is broken / generates inefficient code."

  the recommendation for a proper toolchain was this ELDK version:

ftp://ftp.denx.de/pub/eldk/5.0/targets/powerpc-softfloat/eldk-eglibc-i686-powerpc-toolchain-gmae-5.0.tar.bz2

which i'm about to try just to see if the build works.  is there an
appropriate ct-ng toolchain i can try as well just as a backup?
thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]