* [U-Boot-Users] printf and MPC8540
@ 2005-06-01 13:49 Armand Ciejak
2005-06-01 14:12 ` Wolfgang Denk
0 siblings, 1 reply; 9+ messages in thread
From: Armand Ciejak @ 2005-06-01 13:49 UTC (permalink / raw)
To: u-boot
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 ?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 13:49 [U-Boot-Users] printf and MPC8540 Armand Ciejak
@ 2005-06-01 14:12 ` Wolfgang Denk
2005-06-01 14:58 ` Detlef Vollmann
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2005-06-01 14:12 UTC (permalink / raw)
To: u-boot
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Everyting looks interesting until you do it. Then you find it's just
another job. - Terry Pratchett, _Moving Pictures_
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 14:12 ` Wolfgang Denk
@ 2005-06-01 14:58 ` Detlef Vollmann
2005-06-01 15:01 ` Wolfgang Denk
2005-06-01 15:10 ` Jon Loeliger
0 siblings, 2 replies; 9+ messages in thread
From: Detlef Vollmann @ 2005-06-01 14:58 UTC (permalink / raw)
To: u-boot
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
--
Detlef Vollmann vollmann engineering gmbh
Linux and C++ for Embedded Systems http://www.vollmann.ch/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 14:58 ` Detlef Vollmann
@ 2005-06-01 15:01 ` Wolfgang Denk
2005-06-01 18:11 ` Detlef Vollmann
2005-06-01 15:10 ` Jon Loeliger
1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2005-06-01 15:01 UTC (permalink / raw)
To: u-boot
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A dirty mind is a joy forever." - Randy Kunkee
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 14:58 ` Detlef Vollmann
2005-06-01 15:01 ` Wolfgang Denk
@ 2005-06-01 15:10 ` Jon Loeliger
2005-06-01 20:59 ` Wolfgang Denk
1 sibling, 1 reply; 9+ messages in thread
From: Jon Loeliger @ 2005-06-01 15:10 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 15:01 ` Wolfgang Denk
@ 2005-06-01 18:11 ` Detlef Vollmann
2005-06-01 21:05 ` Wolfgang Denk
0 siblings, 1 reply; 9+ messages in thread
From: Detlef Vollmann @ 2005-06-01 18:11 UTC (permalink / raw)
To: u-boot
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
--
Detlef Vollmann vollmann engineering gmbh
Linux and C++ for Embedded Systems http://www.vollmann.ch/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 15:10 ` Jon Loeliger
@ 2005-06-01 20:59 ` Wolfgang Denk
2005-06-02 9:45 ` Clemens Koller
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2005-06-01 20:59 UTC (permalink / raw)
To: u-boot
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We call our dog Egypt, because in every room he leaves a pyramid.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 18:11 ` Detlef Vollmann
@ 2005-06-01 21:05 ` Wolfgang Denk
0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2005-06-01 21:05 UTC (permalink / raw)
To: u-boot
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
: 1. What is the possibility of this being added in the future?
In the near future, the probability is close to zero. In the distant
future, I'll be dead, and posterity can do whatever they like... :-)
- lwall
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] printf and MPC8540
2005-06-01 20:59 ` Wolfgang Denk
@ 2005-06-02 9:45 ` Clemens Koller
0 siblings, 0 replies; 9+ messages in thread
From: Clemens Koller @ 2005-06-02 9:45 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-06-02 9:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 13:49 [U-Boot-Users] printf and MPC8540 Armand Ciejak
2005-06-01 14:12 ` Wolfgang Denk
2005-06-01 14:58 ` Detlef Vollmann
2005-06-01 15:01 ` Wolfgang Denk
2005-06-01 18:11 ` Detlef Vollmann
2005-06-01 21:05 ` Wolfgang Denk
2005-06-01 15:10 ` Jon Loeliger
2005-06-01 20:59 ` Wolfgang Denk
2005-06-02 9:45 ` Clemens Koller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox