Re: [Xenomai-core] porting xenomai on imx25

2012-04-19 Thread Gilles Chanteperdrix
On 04/19/2012 11:02 AM, Gilles Chanteperdrix wrote: > On 04/19/2012 11:01 AM, Roberto Bielli wrote: >> have you a .config for imx31 to give me so i can compare them? > > http://sisyphus.hd.free.fr/~gilles/config-mx31ads-2.6.33 > > This said, looking at the code, I do not understand how it can bre

Re: [Xenomai-core] porting xenomai on imx25

2012-04-19 Thread Gilles Chanteperdrix
On 04/19/2012 11:01 AM, Roberto Bielli wrote: > have you a .config for imx31 to give me so i can compare them? http://sisyphus.hd.free.fr/~gilles/config-mx31ads-2.6.33 This said, looking at the code, I do not understand how it can break irq delivery. --

Re: [Xenomai-core] porting xenomai on imx25

2012-04-19 Thread Roberto Bielli
have you a .config for imx31 to give me so i can compare them? Il 19/04/2012 10:54, Gilles Chanteperdrix ha scritto: On 04/19/2012 10:52 AM, Roberto Bielli wrote: Hi Gilles, i found the problem that disable interrupts when execute a task. My kernel for imx25 uses the properties CONFIG_MXC_IRQ_

Re: [Xenomai-core] porting xenomai on imx25

2012-04-19 Thread Gilles Chanteperdrix
On 04/19/2012 10:52 AM, Roberto Bielli wrote: > Hi Gilles, > > i found the problem that disable interrupts when execute a task. > My kernel for imx25 uses the properties CONFIG_MXC_IRQ_PRIOR in the .config. > This properties enable reentrant interrupts so it uses the NIMASK(normal > interrupt mas

Re: [Xenomai-core] porting xenomai on imx25

2012-04-19 Thread Roberto Bielli
Hi Gilles, i found the problem that disable interrupts when execute a task. My kernel for imx25 uses the properties CONFIG_MXC_IRQ_PRIOR in the .config. This properties enable reentrant interrupts so it uses the NIMASK(normal interrupt mask register ) register to disable interrupts with certain

Re: [Xenomai-core] porting xenomai on imx25

2012-04-18 Thread Gilles Chanteperdrix
On 04/18/2012 12:28 PM, Roberto Bielli wrote: > Hi Gilles, > > i try to give only another accurate information. > > i made another test: > i write a xenomai driver for reading the timer and avic register and i > see a strange behaviour. > when there is the problem the interrupt is NOT masquerade

Re: [Xenomai-core] porting xenomai on imx25

2012-04-18 Thread Roberto Bielli
Hi Gilles, i try to give only another accurate information. i made another test: i write a xenomai driver for reading the timer and avic register and i see a strange behaviour. when there is the problem the interrupt is NOT masqueraded in avic but the timer has the interrupt not acked. After

Re: [Xenomai-core] porting xenomai on imx25

2012-04-18 Thread Gilles Chanteperdrix
On 04/18/2012 10:44 AM, Roberto Bielli wrote: > Hi Gilles, > > here find the answers. > sorry for the delay. > > Il 13/04/2012 15:47, Gilles Chanteperdrix ha scritto: >> On 04/13/2012 10:44 AM, Roberto Bielli wrote: >>> Hi Gilles, >>> >>> you don't feel like to repeat. >>> I'm trying all the thin

Re: [Xenomai-core] porting xenomai on imx25

2012-04-13 Thread Gilles Chanteperdrix
On 04/13/2012 10:44 AM, Roberto Bielli wrote: > Hi Gilles, > > you don't feel like to repeat. > I'm trying all the things that you told me and i will do all the missing > test that you told me. So, what is the result of running your test with unpatched Linux, but with CONFIG_HIGH_RES_TIMERS enab

Re: [Xenomai-core] porting xenomai on imx25

2012-04-13 Thread Roberto Bielli
Hi Gilles, you don't feel like to repeat. I'm trying all the things that you told me and i will do all the missing test that you told me. And now this is the result of latency that i ran. It seems correct. root@AXC25:/usr/xenomai/bin# ./latency == Sampling period: 1000 us == Test mode: periodi

Re: [Xenomai-core] porting xenomai on imx25

2012-04-12 Thread Gilles Chanteperdrix
On 04/12/2012 06:58 PM, Roberto Bielli wrote: > Hi Gilles, > > you tell me that you are working on imx. > Do you know if there is a working xenomai on imx (any kernel or imx > version) ? I have tested Xenomai on imx31, imx51, imx53, imx6q. It works on these platforms. Now, what you are doing is