Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-08 Thread Gilles Chanteperdrix
Richard Cochran wrote: > On Fri, Apr 08, 2011 at 08:35:03AM +0200, Gilles Chanteperdrix wrote: > >> - the TSC emulation code is factored, so that when porting to a new >> port, we avoid copy-pasting the TSC emulation; > > The ARM porting page on the wiki is out of date with regards to this. Yes,

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
On Fri, Apr 08, 2011 at 08:35:03AM +0200, Gilles Chanteperdrix wrote: > - the TSC emulation code is factored, so that when porting to a new > port, we avoid copy-pasting the TSC emulation; The ARM porting page on the wiki is out of date with regards to this. > - it is ready for multi-SOCs kernel

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
On Fri, Apr 08, 2011 at 08:35:37AM +0200, Gilles Chanteperdrix wrote: > Ok. Thanks queued. I will also add the hostrt stuff. BTW, patch works for both 2.6.33 and 2.6.35. Both are booting fine, now. Thanks, Richard ___ Xenomai-core mailing list Xenomai-

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Gilles Chanteperdrix
Richard Cochran wrote: > On Fri, Apr 08, 2011 at 08:16:17AM +0200, Gilles Chanteperdrix wrote: >> Yes, you can try changing the #ifdef. But note also that the big endian >> code was never actually tested. So, you probably would be better >> compiling a little user-space application to test this tsc

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Richard Cochran wrote: >> I have been trying to bring my IXP425 based system up to date, and I >> have found an apparent regression. Everything worked fine with ipipe >> 2.6.30 and Xenomai 2.4. With 2.6.31 an ipipe kernel still boots, but >> starting with 2.6.33 the tr

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
On Fri, Apr 08, 2011 at 08:16:17AM +0200, Gilles Chanteperdrix wrote: > Yes, you can try changing the #ifdef. But note also that the big endian > code was never actually tested. So, you probably would be better > compiling a little user-space application to test this tsc code. Yes, it worked. I se

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Gilles Chanteperdrix
Richard Cochran wrote: > In ipipe_tsc_asm.S you have at the end of the file... > > /* User-space entry-point: r0 is the hardware counter virtual address */ > #ifndef CONFIG_CPU_BIG_ENDIAN > /* Little endian */ > > ... > > #else /* Big endian */ > /* Little endian */ > 1: ldr r1, .LCdec1

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Gilles Chanteperdrix
Richard Cochran wrote: > On Thu, Apr 07, 2011 at 10:26:02PM +0200, Gilles Chanteperdrix wrote: >> On my side, I meant to say, the issue is in the implementation of the >> I-pipe one-shot timer, the function ipipe_mach_set_dec... > > I couldn't find anything wrong there, but I did find this... > >

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
In ipipe_tsc_asm.S you have at the end of the file... /* User-space entry-point: r0 is the hardware counter virtual address */ #ifndef CONFIG_CPU_BIG_ENDIAN /* Little endian */ ... #else /* Big endian */ /* Little endian */ 1: ldrr1, .LCdec16_last_tsc + 4 ldrip, [r0] ldrr2, .Ld

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
On Thu, Apr 07, 2011 at 10:26:02PM +0200, Gilles Chanteperdrix wrote: > > On my side, I meant to say, the issue is in the implementation of the > I-pipe one-shot timer, the function ipipe_mach_set_dec... I couldn't find anything wrong there, but I did find this... In ipipe_tsc_asm.S you have #

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Gilles Chanteperdrix
Richard Cochran wrote: > On Thu, Apr 07, 2011 at 09:02:58PM +0200, Richard Cochran wrote: >> On Thu, Apr 07, 2011 at 08:32:52PM +0200, Gilles Chanteperdrix wrote: >>> I think the ixp is a 32 bits free-running counter with match register, >>> wich is a configuration I tested. So, I would tend to thi

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
On Thu, Apr 07, 2011 at 09:02:58PM +0200, Richard Cochran wrote: > On Thu, Apr 07, 2011 at 08:32:52PM +0200, Gilles Chanteperdrix wrote: > > I think the ixp is a 32 bits free-running counter with match register, > > wich is a configuration I tested. So, I would tend to think that the > > issue is r

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Richard Cochran
On Thu, Apr 07, 2011 at 08:32:52PM +0200, Gilles Chanteperdrix wrote: > Richard Cochran wrote: > > I have been trying to bring my IXP425 based system up to date, and I > > have found an apparent regression. Everything worked fine with ipipe > > 2.6.30 and Xenomai 2.4. With 2.6.31 an ipipe kernel st

Re: [Xenomai-core] [Adeos-main] ARM IXP: ipipe regression from 2.6.31 to .33 and .35

2011-04-07 Thread Gilles Chanteperdrix
Richard Cochran wrote: > I have been trying to bring my IXP425 based system up to date, and I > have found an apparent regression. Everything worked fine with ipipe > 2.6.30 and Xenomai 2.4. With 2.6.31 an ipipe kernel still boots, but > starting with 2.6.33 the trouble begins (see below). > > I s