
When compiling u-boot 1.1.2 for a MPC8540 board. I have a crash in the printf function. After looking at the assembler code generated I found the "stswi" instruction which is not supported by the e500 core. The config file I use is based on the MPC8540ADS config file which has the following defines: /* High Level Configuration Options */ #define CONFIG_BOOKE 1 /* BOOKE */ #define CONFIG_E500 1 /* BOOKE e500 family */ #define CONFIG_MPC85xx 1 /* MPC8540/MPC8560 */ #define CONFIG_MPC8540 1 /* MPC8540 specific */ #define CONFIG_MPC8540ADS 1 /* MPC8540ADS board specific */
I use ELDK3.1 and CROSS_COMPILE = ppc_6xx-
What should I do ?

In message d7kdlp$8ba$1@sea.gmane.org you wrote:
When compiling u-boot 1.1.2 for a MPC8540 board. I have a crash in the
...
What should I do ?
Use a recent version of U-Boot. It is nearly always a bad idea to use old versions for current work.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
In message d7kdlp$8ba$1@sea.gmane.org you wrote:
When compiling u-boot 1.1.2 for a MPC8540 board.
Use a recent version of U-Boot. It is nearly always a bad idea to use old versions for current work.
Well, according to the U-Boot page at SF, 1.1.2 is the most recent official version. What am I missing?
Detlef

In message 429DCD1C.5F8D7CD1@vollmann.ch you wrote:
Well, according to the U-Boot page at SF, 1.1.2 is the most recent official version.
It's the latest officially _released_ version.
What am I missing?
The latest version is top-of-tree in CVS.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
In message 429DCD1C.5F8D7CD1@vollmann.ch you wrote:
Well, according to the U-Boot page at SF, 1.1.2 is the most recent official version.
It's the latest officially _released_ version.
What am I missing?
The latest version is top-of-tree in CVS.
I know that. But I was referring to this: Wolfgang Denk wrote:
It is nearly always a bad idea to use old versions for current work.
Normally, it is a bad idea to use the latest CVS source for important work. Instead, you normally use the latest official release. Is this different for U-Boot?
Detlef

In message 429DFA57.525E61FF@vollmann.ch you wrote:
Wolfgang Denk wrote:
It is nearly always a bad idea to use old versions for current work.
Normally, it is a bad idea to use the latest CVS source for important work. Instead, you normally use the latest official release. Is this different for U-Boot?
For any _current_ work you really better use current sources, i. e. top of tree. So far (*), U-Boot gets release only very infrequently. If you stick with a "release" version you will have serious problems at the time when you try to get your patches merged into the official source tree.
So if you start any new project I really recommend not only to start with top of tree, but also to update your sources regularly.
(*) This will hopefully change Really Soon Now.
Best regards,
Wolfgang Denk

On Wed, 2005-06-01 at 09:58, Detlef Vollmann wrote:
Wolfgang Denk wrote:
In message d7kdlp$8ba$1@sea.gmane.org you wrote:
When compiling u-boot 1.1.2 for a MPC8540 board.
Use a recent version of U-Boot. It is nearly always a bad idea to use old versions for current work.
Well, according to the U-Boot page at SF, 1.1.2 is the most recent official version. What am I missing?
Detlef
The top of CVS?
Also make sure that the -mno-string option is in your build.
jdl

In message 1117638611.6517.1.camel@cashmere.sps.mot.com you wrote:
The top of CVS?
Also make sure that the -mno-string option is in your build.
This has been default option in cpu/mpc85xx/config.mk since March 15.
Best regards,
Wolfgang Denk

Hello, Wolfgang, Jon!
Also make sure that the -mno-string option is in your build.
Oh, good to know. Can some of you please explain more in detail, when this is needed? I guess, gcc 3.4.x+, binutils 2.15+, right? I ran into some compiling problems while using some modified (and non published stuff I need) u-boot-2004-08-18-2000 which shows up as 1.1.2 also :-(
Don't ask me why it wasn't published... I'll ask our vendor, first.
This has been default option in cpu/mpc85xx/config.mk since March 15.
Great :-|
Best greets,
Clemens Koller _______________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Str. 45/1 81379 Muenchen Germany
http://www.anagramm.de Phone: +49-89-741518-50 Fax: +49-89-741518-19
participants (5)
-
Armand Ciejak
-
Clemens Koller
-
Detlef Vollmann
-
Jon Loeliger
-
Wolfgang Denk