Re: [Xenomai] How to fix error "incompatible ABI revision levels on Ubuntu Linux 3.6.38 on ARM?

2012-06-26 Thread AKS
Hi Gilles and Xenomai-ers

I have downloaded the Xenomai-2.6 the latest one, prepared the kernel
and built the kernel. The kernel works as it can be loaded. Next, I have
installed xenomai-runtime but I can install only the xenomai-run-time
version numbered 2.5.5.2 - both Ubuntu Natty (11.04) and Precise (12.04)
have the same 2.5.5.2

I wonder from where I can apt-get install the xenomai-runtime 2.6.0.x to
match my kernel. I am trying to avoid xcompiling Xenomai. Pls advise.
Thanks!

On 6/23/12, Gilles Chanteperdrix  wrote:
> On 06/23/2012 01:25 PM, AKS wrote:
>> Hi Gilles
>>
>> Thanks for the reply. Does that latest and greatest Xenomai 2.6 support
>> ARM?
>
> Yes, ARM is supported and actively maintained.
>
> --
> Gilles.
>

___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] ARM, exception #0 ?

2012-06-26 Thread Gilles Chanteperdrix
On 06/26/2012 03:23 PM, George Pontis wrote:
> Running Xenomai 2.6.0 on an ARM at91sam9g45. I recently updated from Adeos
> patch adeos-ipipe-3.0.13-arm-1.18-05 to adeos-ipipe-3.0.13-arm-1.18-09. Then
> built a new kernel and gave it to the application developers for a test.
> There were other changes in the root FS and a few tweaks in the kernel, but
> none that looked (to me) like they would affect Xenomai. They report this
> new error:
> 
>> Xenomai: Switching ADC Task to secondary mode after exception #0 from 
>> user-space at 0x0fbc (pid 723)
> 
> And then nothing about the app works any more. What does this mean ?

It means there is a fault, when the PC is around 0x0fbc, that is in 
the tsc emulation kernel helper. Could you try reverting this commit ?

http://git.xenomai.org/?p=ipipe-gch.git;a=commitdiff;h=b79850f3fbd541215d75c1352ad2a4f4d0e8583d;hp=610c6878b23c67daef286f947c59e60f7a204922

-- 
Gilles.

___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai


[Xenomai] ARM, exception #0 ?

2012-06-26 Thread George Pontis
Running Xenomai 2.6.0 on an ARM at91sam9g45. I recently updated from Adeos
patch adeos-ipipe-3.0.13-arm-1.18-05 to adeos-ipipe-3.0.13-arm-1.18-09. Then
built a new kernel and gave it to the application developers for a test.
There were other changes in the root FS and a few tweaks in the kernel, but
none that looked (to me) like they would affect Xenomai. They report this
new error:

> Xenomai: Switching ADC Task to secondary mode after exception #0 from 
> user-space at 0x0fbc (pid 723)

And then nothing about the app works any more. What does this mean ?

George



___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] RT_TASK isn't needed for every program, is it?

2012-06-26 Thread Gilles Chanteperdrix
On 06/26/2012 10:21 AM, Anisha Kaul wrote:
> From what I've read here:
> http://www.cs.ru.nl/lab/xenomai/exercises/ex01/Exercise-1.html
> I could figure out that `RT_TASK`  is a kind of real time "thread" concept.

It is an id for a xenomai thread, very much like pthread_t.

> 
> But in the cases where I don't need threads, can I simply write the
> program in main() using Xenomai/RTnet API? Creating RT_TASK isn't
> necessary for every program, is it?

A xenomai thread is needed to access some of the xenomai services (most
of them actually). By default, the main thread, when using xenomai
native API is not a xenomai thread.

If you want to turn the main thread into a xenomai native skin thread,
you should use rt_task_shadow.

xenomai sources distribution contains many examples of that.

-- 
Gilles.

___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] question: CONFIG_XENO_OPT_TIMING_SCHEDLAT

2012-06-26 Thread Philippe Gerum

On 06/26/2012 01:41 PM, ali hagigat wrote:

Is this kernel CONFIG_ variable indicates a minimum wait?



No, expected latency.


___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai




--
Philippe.



___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai


[Xenomai] question: CONFIG_XENO_OPT_TIMING_SCHEDLAT

2012-06-26 Thread ali hagigat
Is this kernel CONFIG_ variable indicates a minimum wait?

___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai


[Xenomai] RT_TASK isn't needed for every program, is it?

2012-06-26 Thread Anisha Kaul
>From what I've read here:
http://www.cs.ru.nl/lab/xenomai/exercises/ex01/Exercise-1.html
I could figure out that `RT_TASK`  is a kind of real time "thread" concept.

But in the cases where I don't need threads, can I simply write the
program in main() using Xenomai/RTnet API? Creating RT_TASK isn't
necessary for every program, is it?

-- 
Anisha Kaul

___
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai