Skip to contentSkip to conversation

arm and ppc plattforms

DISCUSSION Peter Feuerer 6 participants 9 messages Apr 20, 2007

lore
Share & tools
lore
#0 lore raw

Hello everybody,

what ARM and PowerPC processors have been tested with the rt-preempt patch?
Which evalkits or developement boards for those processors are you using?

kind regards,
--peter

#1 lore raw

Hi Peter,

Quoted 3 lines · Peter Feuerer

what ARM and PowerPC processors have been tested with the rt-preempt patch? Which evalkits or developement boards for those processors are you using?

We have it running on

- MPC5200B (PowerPC 603e), phyCORE-MPC5200B-tiny module (Phytec AG) Works like a charm...

- PXA270 (XScale ARMv5), phyCORE-PXA270 (Phytec AG) Still under development, we've seen sporadic hangs with the last kernels we checked, have to re-test on -rt-current.

- netX (ARM926EZ-J), all Hilscher Boards (Hilscher) Works, although more testing needs to be done.

- IXP425 (XScale Big Endian), customer specific board Works perfectly.

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9
#2 lore raw

Does anybody have experience with Atmel's "AT91RM9200" CPU? E.g. assembled on conitec's "ARM&EVA" board?
( http://www.conitec.net/english/linuxboard.htm )

Quoted 16 lines · Robert Schwebel

Hi Peter,

Quoted 3 lines · Peter Feuerer

what ARM and PowerPC processors have been tested with the rt-preempt patch? Which evalkits or developement boards for those processors are you using?

We have it running on

- MPC5200B (PowerPC 603e), phyCORE-MPC5200B-tiny module (Phytec AG) Works like a charm...

- PXA270 (XScale ARMv5), phyCORE-PXA270 (Phytec AG) Still under development, we've seen sporadic hangs with the last kernels we checked, have to re-test on -rt-current.

Quoted 7 lines

- netX (ARM926EZ-J), all Hilscher Boards (Hilscher) Works, although more testing needs to be done.

- IXP425 (XScale Big Endian), customer specific board Works perfectly.

Robert

Hi Robert,

thank you very much for the quick answer.

--peter

#3 lore raw
In reply to Robert Schwebel

Hi Robert

Quoted 8 lines

We have it running on

- MPC5200B (PowerPC 603e), phyCORE-MPC5200B-tiny module (Phytec AG) Works like a charm...

- PXA270 (XScale ARMv5), phyCORE-PXA270 (Phytec AG) Still under development, we've seen sporadic hangs with the last kernels we checked, have to re-test on -rt-current.

<snip..>

I tried the 2.6.21-rc6-rt0 for MPC5200B (ARCH=ppc CROSS_COMPILE=ppc_6xx-) and it died with a bunch of compile errors. So I was under the impression that the port for PowerPC was'nt complete. So I hacked up a small patch (attached) through I could atleast get it to compile. But of course it was far from having the implementation for the complete -rt patch set.

But this is good news. So I assume this will enter the upstream kernel 2.6.22 ?

thanks in advance
regards
prady

#4 lore raw
Quoted 6 lines · Pradyumna Sampath

I tried the 2.6.21-rc6-rt0 for MPC5200B (ARCH=ppc CROSS_COMPILE=ppc_6xx-) and it died with a bunch of compile errors. So I was under the impression that the port for PowerPC was'nt complete. So I hacked up a small patch (attached) through I could atleast get it to compile. But of course it was far from having the implementation for the complete -rt patch set.

You'll probably have no luck with ARCH=ppc, our port runs with ARCH=powerpc (and still has some crude hacks inside). You can find the code in the OSELAS.BSP() for the phyCORE-MPC5200B-tiny module, which can be found here:

http://www.pengutronix.de/oselas/bsp/phytec/index_en.html#phyCORE-MPC5200B-tiny

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9
#5 lore raw
Quoted 3 lines · Robert Schwebel

You'll probably have no luck with ARCH=ppc, our port runs with ARCH=powerpc (and still has some crude hacks inside).

I am in the same situation: I have a board (MVME3100, PPC8540) that uses the ARCH=ppc, but I have some strict realtime requirements. As far as I understand from the discussions on this list (and on other places) the ARCH=ppc will be dropped in favor of ARCH=powerpc, and the -rt patch will not support the ppc-architecture.

But before I start working on the powerpc-version of the BSP I would like to know how stable the patch runs on powerpc (and specifically on ppc85xx), and how good the realtime performance of the patch is on powerpc. Are there any (recent) performance measurements available for the patch on a powerpc platform?

Also a question that is not directly related to this list, but maybe someone can help me with it. Is there some information available on porting a BSP from ppc to powerpc? I was not able to find information on this except for the fact that the ppc architecture will be dropped, but no information on what impact this has on a BSP.

Kind regards,
Johan Borkhuis

#6 lore raw
Quoted 4 lines · Johan Borkhuis
Quoted 2 lines · Robert Schwebel

You'll probably have no luck with ARCH=ppc, our port runs with ARCH=powerpc (and still has some crude hacks inside).

I am in the same situation: I have a board (MVME3100, PPC8540) that uses the ARCH=ppc, but I have some strict realtime requirements. As far as I understand from the discussions on this list (and on other places) the ARCH=ppc will be dropped in favor of ARCH=powerpc, and the -rt patch will not support the ppc-architecture.

Not dropped but almost frozen. Already today there is little interest in maintaining the ppc tree. And for real-time preemption and the high-resolution timers the generic IRQ and timer layer seems now mandatory, which is not available for ppc. What is mainly missing for PowerPC is the support of clock events to get the high-resolution timers working. Pengutronix has a temporary solution for that. See Robert's mail:

http://www.mail-archive.com/[email protected]/msg00343.html

Quoted 1 line

But before I start working on the powerpc-version of the BSP I would like to know how stable the patch runs on powerpc (and specifically on ppc85xx), and how good the realtime performance of the patch is on powerpc. Are there any (recent) performance measurements available for the patch on a powerpc platform?

I think MPC 85xx is well supported and in arch/powerpc/configs there are already a few MPC85xx boards available.

Quoted 1 line

Also a question that is not directly related to this list, but maybe someone can help me with it. Is there some information available on porting a BSP from ppc to powerpc? I was not able to find information on this except for the fact that the ppc architecture will be dropped, but no information on what impact this has on a BSP.

Unfortunately, porting takes some effort, especially because of the mandatory Open Firmware flattened device tree (DTF). Please read Documentation/powerpc/booting-without-of.txt for further information. But there are already examples for the MPC85xx. There are more new things like the generic IRQ and timer layer, but that should be already available for your boards. For more details, please ask on the linuxppc-embedded ML.

Wolfgang.

#7 lore raw
In reply to Robert Schwebel
Quoted 14 lines · Robert Schwebel
Quoted 3 lines · Peter Feuerer

what ARM and PowerPC processors have been tested with the rt-preempt patch? Which evalkits or developement boards for those processors are you using?

We have it running on

- MPC5200B (PowerPC 603e), phyCORE-MPC5200B-tiny module (Phytec AG) Works like a charm...

- PXA270 (XScale ARMv5), phyCORE-PXA270 (Phytec AG) Still under development, we've seen sporadic hangs with the last kernels we checked, have to re-test on -rt-current.

Quoted 5 lines

- netX (ARM926EZ-J), all Hilscher Boards (Hilscher) Works, although more testing needs to be done.

- IXP425 (XScale Big Endian), customer specific board Works perfectly.

Hi Robert,

You mind if I add these to along with your name/conctact to:

http://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch#Platforms_Tested_and_in_Use_with_CONFIG_PREEMPT_RT

... or maybe you could add these platforms yourself?

I think it would be useful if we had a collated set of tested platforms on the real-time wiki. I'm sure Peter isn't the only one who might be interested in this kind of information!

- Ted

#8 lore raw

Hi Ted,

[added Darren to Cc, as he is working on rt tests]

Quoted 9 lines · Theodore Tso

You mind if I add these to along with your name/conctact to:

http://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch#Platforms_Tested_and_in_Use_with_CONFIG_PREEMPT_RT

... or maybe you could add these platforms yourself?

I think it would be useful if we had a collated set of tested platforms on the real-time wiki. I'm sure Peter isn't the only one who might be interested in this kind of information!

Yep, good idea. Nevertheless, I'd like to see a "standardized" measurement process plus nice latency plots, like this one:

http://www.pengutronix.de/oselas/realtime/results/20070211-1/phyCORE-MPC5200B-tiny-20070211-1.png

to have a good comparism base. These plots are basically be done without a sane realtime workload (well, some while true; do find /; done loops, plus ping -f, but that can probably be done better).

Any idea for a good realtime workload scenario which is valid to all supported platforms?

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9