All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE
@ 2007-03-03  1:50 Jeff Koftinoff
  2007-03-03  5:45 ` Heikki Lindholm
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Koftinoff @ 2007-03-03  1:50 UTC (permalink / raw)
  To: xenomai

Hi Everyone. I would really like to get Xenomai working on the new 
Freescale 8641D dual core G4.

I see that for linux 2.6.19, Xenomai does not support CONFIG_PPC_MERGE 
or architectures=powerpc instead of 'ppc'.

Please forgive my ignorance; What exactly is the difference between 
arch=ppc and arch=powerpc?

What is involved in changing adeos to work under arch=powerpc on the 
8641D in single core mode?

How much more work is involved in changing adeos to support SMP on powerpc?

Thanks for any information;

Best Regards,

Jeff Koftinoff
jeffk@domain.hid


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

* Re: [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE
  2007-03-03  1:50 [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE Jeff Koftinoff
@ 2007-03-03  5:45 ` Heikki Lindholm
  2007-03-03  8:03   ` Wolfgang Grandegger
  0 siblings, 1 reply; 5+ messages in thread
From: Heikki Lindholm @ 2007-03-03  5:45 UTC (permalink / raw)
  To: Jeff Koftinoff; +Cc: xenomai

Jeff Koftinoff kirjoitti:
> Hi Everyone. I would really like to get Xenomai working on the new 
> Freescale 8641D dual core G4.
> 
> I see that for linux 2.6.19, Xenomai does not support CONFIG_PPC_MERGE 
> or architectures=powerpc instead of 'ppc'.

Weren't there some experimental powerpc ports already posted some time 
ago (by Wolfgang, I think)? See the list archive.

> Please forgive my ignorance; What exactly is the difference between 
> arch=ppc and arch=powerpc?
> 
> What is involved in changing adeos to work under arch=powerpc on the 
> 8641D in single core mode?
> 
> How much more work is involved in changing adeos to support SMP on powerpc?

The 64-bit powerpc target is under powerpc and supports SMP. The work 
required somewhat depends on the specific architecture implementation of 
SMP, but shouldn't be too difficult.

-- Heikki Lindholm


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

* Re: [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE
  2007-03-03  5:45 ` Heikki Lindholm
@ 2007-03-03  8:03   ` Wolfgang Grandegger
  2007-03-03 15:32     ` Jeff Koftinoff
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Grandegger @ 2007-03-03  8:03 UTC (permalink / raw)
  To: Heikki Lindholm; +Cc: xenomai

Heikki Lindholm wrote:
> Jeff Koftinoff kirjoitti:
>> Hi Everyone. I would really like to get Xenomai working on the new 
>> Freescale 8641D dual core G4.
>>
>> I see that for linux 2.6.19, Xenomai does not support CONFIG_PPC_MERGE 
>> or architectures=powerpc instead of 'ppc'.
> 
> Weren't there some experimental powerpc ports already posted some time 
> ago (by Wolfgang, I think)? See the list archive.

I started porting to the powerpc tree some time ago but realized that it 
was not straight-forward. My quick hack didn't boot and then I stopped 
because of lack of free time.

>> Please forgive my ignorance; What exactly is the difference between 
>> arch=ppc and arch=powerpc?

Mainly the use of the generic IRQ layer and time of day. It requires an
in-depth review and design of the corresponding Adeos/I-pipe 
implementation. Well, the general design is already there for x86 
implemented by Philippe but needs to be adapted. Nevertheless, the port 
is planned for the near future. Funding would help, of course.

>> What is involved in changing adeos to work under arch=powerpc on the 
>> 8641D in single core mode?
>>
>> How much more work is involved in changing adeos to support SMP on 
>> powerpc?
> 
> The 64-bit powerpc target is under powerpc and supports SMP. The work 
> required somewhat depends on the specific architecture implementation of 
> SMP, but shouldn't be too difficult.

That's also my impression, and a system for porting and testing is also 
required.

Wolfgang.



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

* Re: [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE
  2007-03-03  8:03   ` Wolfgang Grandegger
@ 2007-03-03 15:32     ` Jeff Koftinoff
  2007-03-03 15:52       ` Heikki Lindholm
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Koftinoff @ 2007-03-03 15:32 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai

Thank you for your responses, Wolfgang.

I still have some confusion; I was able to build and run a xenomai 2.2.0 
patched linux 2.6.14 kernel on a Apple EMac, which has a 7447A processor 
in it - with no changes, and was able to get good latency results in my 
tests.

I am currently playing with a 8641D dual core power pc, it is basically 
two 7448 processors in one package which is almost identical to the 
7447A, along with peripherals (ethernet/serial/pcie).  Yet I can't seem 
to get xenomai compiled for it, even in non-smp mode.
The 8641D needs a newer kernel than 2.6.14 ( 2.6.19 is okay ). 

What should I do?

Regards,
Jeff Koftinoff

Wolfgang Grandegger wrote:
> Heikki Lindholm wrote:
>> Jeff Koftinoff kirjoitti:
>>> Hi Everyone. I would really like to get Xenomai working on the new 
>>> Freescale 8641D dual core G4.
>>>
>>> I see that for linux 2.6.19, Xenomai does not support 
>>> CONFIG_PPC_MERGE or architectures=powerpc instead of 'ppc'.
>>
>> Weren't there some experimental powerpc ports already posted some 
>> time ago (by Wolfgang, I think)? See the list archive.
>
> I started porting to the powerpc tree some time ago but realized that 
> it was not straight-forward. My quick hack didn't boot and then I 
> stopped because of lack of free time.
>
>>> Please forgive my ignorance; What exactly is the difference between 
>>> arch=ppc and arch=powerpc?
>
> Mainly the use of the generic IRQ layer and time of day. It requires an
> in-depth review and design of the corresponding Adeos/I-pipe 
> implementation. Well, the general design is already there for x86 
> implemented by Philippe but needs to be adapted. Nevertheless, the 
> port is planned for the near future. Funding would help, of course.
>
>>> What is involved in changing adeos to work under arch=powerpc on the 
>>> 8641D in single core mode?
>>>
>>> How much more work is involved in changing adeos to support SMP on 
>>> powerpc?
>>
>> The 64-bit powerpc target is under powerpc and supports SMP. The work 
>> required somewhat depends on the specific architecture implementation 
>> of SMP, but shouldn't be too difficult.
>
> That's also my impression, and a system for porting and testing is 
> also required.
>
> Wolfgang.
>



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

* Re: [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE
  2007-03-03 15:32     ` Jeff Koftinoff
@ 2007-03-03 15:52       ` Heikki Lindholm
  0 siblings, 0 replies; 5+ messages in thread
From: Heikki Lindholm @ 2007-03-03 15:52 UTC (permalink / raw)
  To: Jeff Koftinoff; +Cc: xenomai

Jeff Koftinoff kirjoitti:
> Thank you for your responses, Wolfgang.
> 
> I still have some confusion; I was able to build and run a xenomai 2.2.0 
> patched linux 2.6.14 kernel on a Apple EMac, which has a 7447A processor 
> in it - with no changes, and was able to get good latency results in my 
> tests.

I think the older kernels still supported Apple hardware under the "ppc" 
arch, but in the more recent kernels it's moved to the "powerpc" arch.

> I am currently playing with a 8641D dual core power pc, it is basically 
> two 7448 processors in one package which is almost identical to the 
> 7447A, along with peripherals (ethernet/serial/pcie).  Yet I can't seem 
> to get xenomai compiled for it, even in non-smp mode.
> The 8641D needs a newer kernel than 2.6.14 ( 2.6.19 is okay ).
> What should I do?

If you have followed Linux kernel development and understand the new 
genirq stuff (and eventually irq threads), or are willing to dig into 
it, then why not start a brave porting effort and try to, for example, 
first make your eMac work on newer kernels with adeos/xenomai stuff applied.

-- Heikki Lindholm


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

end of thread, other threads:[~2007-03-03 15:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-03  1:50 [Xenomai-core] MPC8641D and CONFIG_PPC_MERGE Jeff Koftinoff
2007-03-03  5:45 ` Heikki Lindholm
2007-03-03  8:03   ` Wolfgang Grandegger
2007-03-03 15:32     ` Jeff Koftinoff
2007-03-03 15:52       ` Heikki Lindholm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.