
Dear Robert,
In message alpine.DEB.2.02.1112030255250.24308@oneiric you wrote:
What version of uboot do you use? What compiler and it's version do you use?
i'm using the latest "git pull" of u-boot, and:
$ powerpc-unknown-linux-gnu-gcc --version powerpc-unknown-linux-gnu-gcc (crosstool-NG-1.10.0) 4.4.5 ...
i get the same result with u-boot 2010.12.
Your tool chain is broken / generates inefcient code.
Top of tree: -> git describe v2011.09-1259-g7708d8b -> eldk-switch -r 4.2 ppc_8xx Setup for ppc_8xx (using ELDK 4.2) -> ${CROSS_COMPILE}gcc -v ... gcc version 4.2.2 -> ./MAKEALL TQM860L Configuring for TQM860L board... text data bss dec hex filename 261815 14100 27240 303155 4a033 ./u-boot
--------------------- SUMMARY ---------------------------- Boards compiled: 1 ---------------------------------------------------------- -> eldk-switch -r 5.1 powerpc Setup for powerpc (using ELDK 5.1) -> ${CROSS_COMPILE}gcc -v ... gcc version 4.6.1 20110627 (prerelease) (GCC) -> ./MAKEALL TQM860L Configuring for TQM860L board... text data bss dec hex filename 256410 4444 27212 288066 46542 ./u-boot
--------------------- SUMMARY ---------------------------- Boards compiled: 1 ----------------------------------------------------------
So both older tool chains (GCC 4.2.2) and more recent ones (gcc 6.6.1) build top of tree fine. I save the efforts of building v2010.12 because I already did as part of the QA for that release.
Get yourself a working tool chain.
Best regards,
Wolfgang Denk