public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
@ 2007-10-06 17:42 Wolfgang Gartz
  2007-10-06 18:35 ` Robert Schwebel
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Gartz @ 2007-10-06 17:42 UTC (permalink / raw)
  To: u-boot

Hello all,

I'm using U-Boot-1.2.0 on a board from Phytec with PXA270 processor
(ARCH=arm, CPU=pxa, board=pcm027).
During compilation with gcc-4.1.2, I get one compiler warning for
each source file, for instance:
asm.S:0: warning: target CPU does not support interworking
cmp.c:0: warning: target CPU does not support interworking
...
It seems for me, the compiler thinks that the actual cpu is not able
to mix original 32 bit ARM code with 16 bit thumb code.
Currently compiler flags for CPU=pxa (in cpu/pxa/config.mk) are:
PLATFORM_CPPFLAGS += -march=armv5 -mtune=xscale .
When I change it to
PLATFORM_CPPFLAGS += -march=armv5te -mtune=xscale
all of this warnings disappear.

The manual says, all generations of XScale processors comply with
the "armv5te" architecture.

For comparison I have looked in another XScale cpu/ixp/config.mk:
PLATFORM_CPPFLAGS +=
                  -mbig-endian -march=armv5te -mtune=strongarm1100
Here we have "-march=armv5te".
I don't have a IXP cpu, but from theory: is it better to set
"-mtune=xscale" here to for the CPU=ixp :
PLATFORM_CPPFLAGS += -mbig-endian -march=armv5te -mtune=xscale
because Strongarm1100 was the predecessor of XScale ?

There are no changes of PLATFORM_CPPFLAGS for CPU=pxa and ixp
between U-Boot-1.2.0 and U-Boot-1.3.0-rc2.

Therefore my question: are there special reasons to use
-march=armv5           for pxa   and
-mtune=strongarm1100   for ixp   ?

Kind regards
Wolfgang Gartz

Development engineer
Aastra DeTeWe GmbH
Zeughofstr. 1
D-10997 Berlin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-06 17:42 [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp Wolfgang Gartz
@ 2007-10-06 18:35 ` Robert Schwebel
  2007-10-07 22:25   ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Schwebel @ 2007-10-06 18:35 UTC (permalink / raw)
  To: u-boot

On Sat, Oct 06, 2007 at 07:42:30PM +0200, Wolfgang Gartz wrote:
> I'm using U-Boot-1.2.0 on a board from Phytec with PXA270 processor
> (ARCH=arm, CPU=pxa, board=pcm027).

Are you using the patches we provide for Phytec plus
OSELAS.Toolchain-1.1.0, or is it your own patch stack?

Is there a reason why you don't use an iwmmxt toolchain for the PXA270?
That way you can use one toolchain for u-boot, kernel and userland.

Robert
-- 
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-06 18:35 ` Robert Schwebel
@ 2007-10-07 22:25   ` Wolfgang Denk
  2007-10-08  5:43     ` Robert Schwebel
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2007-10-07 22:25 UTC (permalink / raw)
  To: u-boot

In message <20071006183510.GC23573@pengutronix.de> you wrote:
> 
> Are you using the patches we provide for Phytec plus
> OSELAS.Toolchain-1.1.0, or is it your own patch stack?

Have these patches been submitted here on the list?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Uncontrolled power will turn even saints into savages. And we can all
be counted on to live down to our lowest impulses.
	-- Parmen, "Plato's Stepchildren", stardate 5784.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-07 22:25   ` Wolfgang Denk
@ 2007-10-08  5:43     ` Robert Schwebel
  2007-10-08  7:47       ` Wolfgang Gartz
  2007-10-08 12:44       ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Schwebel @ 2007-10-08  5:43 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 08, 2007 at 12:25:15AM +0200, Wolfgang Denk wrote:
> In message <20071006183510.GC23573@pengutronix.de> you wrote:
> >
> > Are you using the patches we provide for Phytec plus
> > OSELAS.Toolchain-1.1.0, or is it your own patch stack?
>
> Have these patches been submitted here on the list?

No. So the OSELAS.Phytec mailing list might be a better forum.

http://www.pengutronix.de/mailinglists/index_de.html

Robert
-- 
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-08  5:43     ` Robert Schwebel
@ 2007-10-08  7:47       ` Wolfgang Gartz
  2007-10-08  8:05         ` Robert Schwebel
  2007-10-08 12:44       ` Wolfgang Denk
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Gartz @ 2007-10-08  7:47 UTC (permalink / raw)
  To: u-boot

Robert Schwebel wrote:
> On Mon, Oct 08, 2007 at 12:25:15AM +0200, Wolfgang Denk wrote:
>> In message <20071006183510.GC23573@pengutronix.de> you wrote:
>>> Are you using the patches we provide for Phytec plus
>>> OSELAS.Toolchain-1.1.0, or is it your own patch stack?
>> Have these patches been submitted here on the list?
> 
> No. So the OSELAS.Phytec mailing list might be a better forum.

Together with the Phytec board "pcm027" I received a patch
based on U-Boot-1.1.4. I have adapted this patch to U-Boot-1.2.0..

Robert, how do you think about submitting this patch to the
U-Boot list ? (Advantages for us all don't must be explained.)

The Pengutronix patch for the Phytec board "pcm027" don't
touches the PLATFORM_CPPFLAGS from my origin question.
The question should be right here on the U-Boot list.
The question concerns the CPUs "pxa" and "ixp" and can be
reproduced with each other board based on this CPUs.

Kind regards
Wolfgang Gartz

Development engineer
Aastra DeTeWe GmbH, Zeughofstr. 1, D-10997 Berlin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-08  7:47       ` Wolfgang Gartz
@ 2007-10-08  8:05         ` Robert Schwebel
  0 siblings, 0 replies; 8+ messages in thread
From: Robert Schwebel @ 2007-10-08  8:05 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 08, 2007 at 09:47:11AM +0200, Wolfgang Gartz wrote:
> Together with the Phytec board "pcm027" I received a patch
> based on U-Boot-1.1.4. I have adapted this patch to U-Boot-1.2.0..

Note that we'll update the board support for the phyCORE-PXA270CE to
u-boot-v2 during the next weeks.

> Robert, how do you think about submitting this patch to the
> U-Boot list? (Advantages for us all don't must be explained.)
>
> The Pengutronix patch for the Phytec board "pcm027" don't
> touches the PLATFORM_CPPFLAGS from my origin question.
> The question should be right here on the U-Boot list.
> The question concerns the CPUs "pxa" and "ixp" and can be
> reproduced with each other board based on this CPUs.

I'll post our current patch series here.

Robert
-- 
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-08  5:43     ` Robert Schwebel
  2007-10-08  7:47       ` Wolfgang Gartz
@ 2007-10-08 12:44       ` Wolfgang Denk
  2007-10-08 12:56         ` Robert Schwebel
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2007-10-08 12:44 UTC (permalink / raw)
  To: u-boot

In message <20071008054359.GH23573@pengutronix.de> you wrote:
>
> > > Are you using the patches we provide for Phytec plus
> > > OSELAS.Toolchain-1.1.0, or is it your own patch stack?
> >
> > Have these patches been submitted here on the list?
> 
> No. So the OSELAS.Phytec mailing list might be a better forum.

Actually it would be even better if U-Boot patches were posted on the
U-Boot mailing list.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Things are not as simple as they seem at first.        - Edward Thorp

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp
  2007-10-08 12:44       ` Wolfgang Denk
@ 2007-10-08 12:56         ` Robert Schwebel
  0 siblings, 0 replies; 8+ messages in thread
From: Robert Schwebel @ 2007-10-08 12:56 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 08, 2007 at 02:44:28PM +0200, Wolfgang Denk wrote:
> Actually it would be even better if U-Boot patches were posted on the
> U-Boot mailing list.

Right you are; unfoartunately, not every project has the budget to go
through the mailing list review, so in this case there was simply nobody
who had enough spare time to make things ready for mainline.

Robert
-- 
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-08 12:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 17:42 [U-Boot-Users] PLATFORM_CPPFLAGS for CPU=pxa and ixp Wolfgang Gartz
2007-10-06 18:35 ` Robert Schwebel
2007-10-07 22:25   ` Wolfgang Denk
2007-10-08  5:43     ` Robert Schwebel
2007-10-08  7:47       ` Wolfgang Gartz
2007-10-08  8:05         ` Robert Schwebel
2007-10-08 12:44       ` Wolfgang Denk
2007-10-08 12:56         ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox