The dual kernel configuration's questions
Dear all:
Yesterday,Philippe answered my questions but there are some new questions in my mind.
Both Xenomai 2 and Xenomai 3 can support the dual kernel configuration.This should mean that Xenomai 2 can run side by side with RT-PREEMT.So Xenomai 2 just can solve the proting a RT-PREEMT embedded application's problem.
Is there any difference between Xenomai 2 with Xenomai 3 in dual kernel which's native kernel is RT-PREEMT?I know a point that Xenomai 2 and Xenomai 3 are dependency on different linux kernels.
How do i set up the dual kernel configuration if i want the native kernel to be RT-PREEMT kernel?
Thanks,guys.
--Fei.
Quoted 5 lines · On 09/01/2016 03:07 AM, [email protected] wrote:
Dear all:
Yesterday,Philippe answered my questions but there are some new questions in my mind.Both Xenomai 2 and Xenomai 3 can support the dual kernel configuration.This should mean that Xenomai 2 can run side by side with RT-PREEMT.So Xenomai 2 just can solve the proting a RT-PREEMT embedded application's problem.
Is there any difference between Xenomai 2 with Xenomai 3 in dual kernel which's native kernel is RT-PREEMT?I know a point that Xenomai 2 and Xenomai 3 are dependency on different linux kernels.
The main difference is that the Cobalt core from Xenomai 3 was implemented with the possibility of such combination in mind, whereas only the latest Xenomai 2.6.x releases have been fixed occasionally to support this when an issue popped up in a specific project. This said, most of the work for getting this combination to work happens in the I-pipe code, not in the Xenomai code base.
Quoted 3 lines
How do i set up the dual kernel configuration if i want the native kernel to be RT-PREEMT kernel?
You need to merge the interrupt pipeline (aka I-pipe) patch into the preempt-rt enabled kernel sources. Since the I-pipe is developed against the mainline kernel tree, you may have a few conflicting changes to fix up. If unlucky, in some cases, you might stumble upon runtime issues as well, but they tend to be seldom seen with recent kernels.
Signature · 1 line
Philippe.