All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Mach - LPC22xx Support
@ 2007-03-08  9:35 Preetam Joshi
  2007-03-08 13:13 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 6+ messages in thread
From: Preetam Joshi @ 2007-03-08  9:35 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Is there no support for Mach-LPC22xx because i have applied the patch adeos
adeos-ipipe-2.6.14-arm-1.3-04.patch for ARM but no where in the patch file
do i find support for mach-LPC22xx. THere is support for mach-integrator due
to which i get  compilation errors.  I have linux running on ARM LPC22xx
platform for which i would like to know whether there is any support????

[-- Attachment #2: Type: text/html, Size: 398 bytes --]

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

* Re: [Xenomai-help] Mach - LPC22xx Support
  2007-03-08  9:35 [Xenomai-help] Mach - LPC22xx Support Preetam Joshi
@ 2007-03-08 13:13 ` Gilles Chanteperdrix
  2007-03-08 14:08   ` Preetam Joshi
  0 siblings, 1 reply; 6+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-08 13:13 UTC (permalink / raw)
  To: Preetam Joshi; +Cc: xenomai-help

Preetam Joshi wrote:
> Is there no support for Mach-LPC22xx because i have applied the patch
> adeos adeos-ipipe-2.6.14-arm-1.3-04.patch for ARM but no where in the
> patch file do i find support for mach-LPC22xx. THere is support for
> mach-integrator due to which i get  compilation errors.  I have linux
> running on ARM LPC22xx platform for which i would like to know whether
> there is any support????

Adeos I-pipe for ARM needs to be adapted to support a new machine. So,
some work is needed to have Adeos run on Mach-LPC22xx. I do not seem to
find LPC22xx in the kernel configuration, is there some separated patch
? Maybe LPC22xx is supported by ucLinux ?

-- 
                                                 Gilles Chanteperdrix


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

* Re: [Xenomai-help] Mach - LPC22xx Support
  2007-03-08 13:13 ` Gilles Chanteperdrix
@ 2007-03-08 14:08   ` Preetam Joshi
  2007-03-08 14:30     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 6+ messages in thread
From: Preetam Joshi @ 2007-03-08 14:08 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

But i am applying this on kernel that i have in my uClinux-dist

On 3/8/07, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
>
> Preetam Joshi wrote:
> > Is there no support for Mach-LPC22xx because i have applied the patch
> > adeos adeos-ipipe-2.6.14-arm-1.3-04.patch for ARM but no where in the
> > patch file do i find support for mach-LPC22xx. THere is support for
> > mach-integrator due to which i get  compilation errors.  I have linux
> > running on ARM LPC22xx platform for which i would like to know whether
> > there is any support????
>
> Adeos I-pipe for ARM needs to be adapted to support a new machine. So,
> some work is needed to have Adeos run on Mach-LPC22xx. I do not seem to
> find LPC22xx in the kernel configuration, is there some separated patch
> ? Maybe LPC22xx is supported by ucLinux ?
>
> --
>                                                  Gilles Chanteperdrix
>

[-- Attachment #2: Type: text/html, Size: 1494 bytes --]

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

* Re: [Xenomai-help] Mach - LPC22xx Support
  2007-03-08 14:08   ` Preetam Joshi
@ 2007-03-08 14:30     ` Gilles Chanteperdrix
       [not found]       ` <e45fe62b0703080713x6e6bc227n86d9f026a6cb4015@domain.hid>
  0 siblings, 1 reply; 6+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-08 14:30 UTC (permalink / raw)
  To: Preetam Joshi; +Cc: xenomai-help

Preetam Joshi wrote:
> But i am applying this on kernel that i have in my uClinux-dist

I-pipe over ucLinux for ARM is not supported, LPC22xx is not supported.
So I am afraid you will have to do this port yourself. We will try and
help you as much as possible.

-- 
                                                 Gilles Chanteperdrix


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

* Re: [Xenomai-help] Mach - LPC22xx Support
       [not found]       ` <e45fe62b0703080713x6e6bc227n86d9f026a6cb4015@domain.hid>
@ 2007-03-10 18:00         ` Gilles Chanteperdrix
  2007-03-13  6:28           ` Preetam Joshi
  0 siblings, 1 reply; 6+ messages in thread
From: Gilles Chanteperdrix @ 2007-03-10 18:00 UTC (permalink / raw)
  To: Preetam Joshi; +Cc: xenomai

Preetam Joshi wrote:
 > Hi Gilles,
 >            Thanks a lot for your quick response. I am doing the same
 > activity. I am trying to port the xenomai patchfor LPC22xx on uClinux. I am
 > getting Undefined references for the symbols in ipipe-core.c,  ipipe-root.c.
 > So i am trying to map and define the correct values  from those files to
 > LPC22xx related files in arch/arm/mach-lpc22xx and in arch/arm/kernel. Is
 > this right thing i am doing? If you have any idea about how to port , Please
 > Let me know. It would be a great help from you.

Yes, you are doing the right thing. A simple way to do it is to have a
look at other machines. What needs to be written for a new ARM machine is:
- the hardware timer interrupt handling and timestamp counter emulation,
  if your timer hardware is based on a decrementer, have a look at the
  integrator implementation, if your timer hardware is based on a
  free-running counter with match register, have a look at the PXA
  implementation;
- if needed, the GPIOs interrupt demultiplexing, all implemented ARMs so
  far have this, so have a look at any of them.

-- 


					    Gilles Chanteperdrix.


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

* Re: [Xenomai-help] Mach - LPC22xx Support
  2007-03-10 18:00         ` Gilles Chanteperdrix
@ 2007-03-13  6:28           ` Preetam Joshi
  0 siblings, 0 replies; 6+ messages in thread
From: Preetam Joshi @ 2007-03-13  6:28 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 2396 bytes --]

Hi Gilles,

i would like to know, the behavior of the following structure ! What do the
members imply?

static struct map_desc intcp_io_desc[] __initdata = {
 { IO_ADDRESS(INTEGRATOR_HDR_BASE),   INTEGRATOR_HDR_BASE,   SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_SC_BASE),    INTEGRATOR_SC_BASE,    SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_EBI_BASE),   INTEGRATOR_EBI_BASE,   SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_CT_BASE),    INTEGRATOR_CT_BASE,    SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_IC_BASE),    INTEGRATOR_IC_BASE,    SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_UART0_BASE), INTEGRATOR_UART0_BASE, SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_UART1_BASE), INTEGRATOR_UART1_BASE, SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_DBG_BASE),   INTEGRATOR_DBG_BASE,   SZ_4K,
MT_DEVICE },
 { IO_ADDRESS(INTEGRATOR_GPIO_BASE),  INTEGRATOR_GPIO_BASE,  SZ_4K,
MT_DEVICE },
 { 0xfc900000, 0xc9000000, SZ_4K, MT_DEVICE },
 { 0xfca00000, 0xca000000, SZ_4K, MT_DEVICE },
 { 0xfcb00000, 0xcb000000, SZ_4K, MT_DEVICE },
};

Ur inputs wud be valuable.

Thanks and Regards,

Preetam
On 3/10/07, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
>
> Preetam Joshi wrote:
> > Hi Gilles,
> >            Thanks a lot for your quick response. I am doing the same
> > activity. I am trying to port the xenomai patchfor LPC22xx on uClinux. I
> am
> > getting Undefined references for the symbols in ipipe-core.c,
> ipipe-root.c.
> > So i am trying to map and define the correct values  from those files to
> > LPC22xx related files in arch/arm/mach-lpc22xx and in arch/arm/kernel.
> Is
> > this right thing i am doing? If you have any idea about how to port ,
> Please
> > Let me know. It would be a great help from you.
>
> Yes, you are doing the right thing. A simple way to do it is to have a
> look at other machines. What needs to be written for a new ARM machine is:
> - the hardware timer interrupt handling and timestamp counter emulation,
>   if your timer hardware is based on a decrementer, have a look at the
>   integrator implementation, if your timer hardware is based on a
>   free-running counter with match register, have a look at the PXA
>   implementation;
> - if needed, the GPIOs interrupt demultiplexing, all implemented ARMs so
>   far have this, so have a look at any of them.
>
> --
>
>
>                                             Gilles Chanteperdrix.
>

[-- Attachment #2: Type: text/html, Size: 3438 bytes --]

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

end of thread, other threads:[~2007-03-13  6:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08  9:35 [Xenomai-help] Mach - LPC22xx Support Preetam Joshi
2007-03-08 13:13 ` Gilles Chanteperdrix
2007-03-08 14:08   ` Preetam Joshi
2007-03-08 14:30     ` Gilles Chanteperdrix
     [not found]       ` <e45fe62b0703080713x6e6bc227n86d9f026a6cb4015@domain.hid>
2007-03-10 18:00         ` Gilles Chanteperdrix
2007-03-13  6:28           ` Preetam Joshi

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.