Two questions about Xenomai 3
Dear all:
Recently,i prepared to using Xenomai 3 in our zedboard considering to port a RT-PREEMT embedded application.There are two questions that i am not sure about.
First,The Xenomai 3 architecture says that Xenomai 3 can run natively over mainline Linux kernels.If like that,the mainline kernel can be supplemented by the RT-PRERMPT patch.I want to know whether this means that Xenomai 3 can be patched to a RT-PREEMPT kernels.If yes,is there a version limit in PT-PREEMPT?If no,how to install Xenomai 3 to make that?If it solves, can the PT-PREEMT embedded application work normally?
Second,actually our zedboard used Xenomai 2.x in the past,so it has some Xenomai 2.x embedded application.If i work the first problem out,that kernels can support the old Xenomai 2.x embedded application or not?
My English is not so good.Anywhere i have't made it clear,please mail to me.
Thanks,guys.
--Fei.
Quoted 4 lines · On 08/31/2016 07:14 AM, [email protected] wrote:
Dear all:
Recently,i prepared to using Xenomai 3 in our zedboard considering to port a RT-PREEMT embedded application.There are two questions that i am not sure about.First,The Xenomai 3 architecture says that Xenomai 3 can run natively over mainline Linux kernels.If like that,the mainline kernel can be supplemented by the RT-PRERMPT patch.I want to know whether this means that Xenomai 3 can be patched to a RT-PREEMPT kernels.If yes,is there a version limit in PT-PREEMPT?If no,how to install Xenomai 3 to make that?If it solves, can the PT-PREEMT embedded application work normally?
The RTOS _APIs_ Xenomai provides can run indifferently over a dual kernel or native system, as stated here:
http://xenomai.org/start-here/#What_is_Xenomai_about
Whether you may want to consider using a dual kernel or native system is explained here:
http://xenomai.org/start-here/#Preparation_checklist
Some projects even combine a dual kernel system with preempt-rt, by merging the interrupt pipeline and preempt-rt kernel patches.
A dependency on a particular kernel release exists when one uses Xenomai's dual kernel support which is named "Cobalt" (alone, or side by side with preempt-rt). The interrupt pipeline (I-pipe) patch is logically part of such support, although it is maintained in a separate GIT tree.
With Xenomai 3, all non-POSIX RTOS APIs are implemented in user-space, so there is no particular dependency on a kernel release starting from v3.10 onward, which is the earliest version officially supported by Xenomai 3.
Quoted 2 lines
Second,actually our zedboard used Xenomai 2.x in the past,so it has some Xenomai 2.x embedded application.If i work the first problem out,that kernels can support the old Xenomai 2.x embedded application or not?
You may want to have a look to this migration guide to estimate the
effort: http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/
Signature · 1 line
Philippe.