All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xenomai-3 and native RTDM question
@ 2014-02-28 12:03 Anders Blomdell
  2014-02-28 15:02 ` Philippe Gerum
  0 siblings, 1 reply; 3+ messages in thread
From: Anders Blomdell @ 2014-02-28 12:03 UTC (permalink / raw)
  To: Xenomai

With Xenomai-3, will it be possible to use the native RTDM an a vanilla kernel, or
only on PREEMPT_RT kernels? The reason that I ask, is that I need to upgrade the
software in our labs (vanilla kernels, mostly) and would like to get comedi 
(www.comedi.org) to work with RTDM (so I get all the drivers from comedi,
the analogy double effort seems like a bad idea to me).

In the best of worlds, native RTDM could be pushed into the kernel staging area 
where comedi currently lives, and perhaps make the RTAI part of comedi easier
to support.

/Anders


-- 
Anders Blomdell                  Email: anders.blomdell@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] Xenomai-3 and native RTDM question
  2014-02-28 12:03 [Xenomai] Xenomai-3 and native RTDM question Anders Blomdell
@ 2014-02-28 15:02 ` Philippe Gerum
  2014-02-28 15:44   ` Anders Blomdell
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2014-02-28 15:02 UTC (permalink / raw)
  To: Anders Blomdell, Xenomai

On 02/28/2014 01:03 PM, Anders Blomdell wrote:
> With Xenomai-3, will it be possible to use the native RTDM an a vanilla kernel, or
> only on PREEMPT_RT kernels?

Any kernel will do, provided it fits the user requirements in terms of 
response and execution time. PREEMPT_RT is not a pre-requisite for x3, 
it's an option, just like the Cobalt co-kernel is. There are projects 
currently based on x3 over plain 3.x kernels, only to leverage the 
legacy RTOS emulation capabilities.

  The reason that I ask, is that I need to upgrade the
> software in our labs (vanilla kernels, mostly) and would like to get comedi
> (www.comedi.org) to work with RTDM (so I get all the drivers from comedi,
> the analogy double effort seems like a bad idea to me).

In all fairness, Alex - the Analogy author - tried hard to contribute to 
Comedi at a time when the project was stalled, and also to avoid 
duplicate effort:
http://osdir.com/ml/comedi/2006-04/msg00017.html
https://lkml.org/lkml/2009/5/6/543

The intent was to port Comedi over RTDM since day one. Apparently, it 
turned out that Alex could not find anyone to work with from the Comedi 
team for evolving the code, hence Analogy.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] Xenomai-3 and native RTDM question
  2014-02-28 15:02 ` Philippe Gerum
@ 2014-02-28 15:44   ` Anders Blomdell
  0 siblings, 0 replies; 3+ messages in thread
From: Anders Blomdell @ 2014-02-28 15:44 UTC (permalink / raw)
  To: Philippe Gerum, Xenomai; +Cc: comedi_list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-02-28 16:02, Philippe Gerum wrote:
> On 02/28/2014 01:03 PM, Anders Blomdell wrote:
>> With Xenomai-3, will it be possible to use the native RTDM an a
>> vanilla kernel, or only on PREEMPT_RT kernels?
> 
> Any kernel will do, provided it fits the user requirements in terms
> of response and execution time. PREEMPT_RT is not a pre-requisite for
> x3, it's an option, just like the Cobalt co-kernel is. There are
> projects currently based on x3 over plain 3.x kernels, only to
> leverage the legacy RTOS emulation capabilities.
> 
> The reason that I ask, is that I need to upgrade the
>> software in our labs (vanilla kernels, mostly) and would like to
>> get comedi (www.comedi.org) to work with RTDM (so I get all the
>> drivers from comedi, the analogy double effort seems like a bad
>> idea to me).
> 
> In all fairness, Alex - the Analogy author - tried hard to contribute
> to Comedi at a time when the project was stalled, and also to avoid
> duplicate effort: http://osdir.com/ml/comedi/2006-04/msg00017.html 
> https://lkml.org/lkml/2009/5/6/543
> 
> The intent was to port Comedi over RTDM since day one. Apparently, it
> turned out that Alex could not find anyone to work with from the
> Comedi team for evolving the code, hence Analogy.
Yes, that comedi got into the kernel staging area really made realtime stuff hard. If I 
understand it correctly, RTDM was also not possible for vanilla kernels at that time?

I think it might be worth a new try.

/Anders
- -- 
Anders Blomdell                  Email: anders.blomdell@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTEK7eAAoJENZYyvaDG8Nc/UsH/3DeOqtv2eI0wigdirbU2jTV
2jbSiPZHymKZ6oMTPxJWZiSHmDPxNir+F0AFhg37yjgP5f+nJu9IVpXnawOBKsM2
GfjnULt1nSBTkIsZsBDI6Y7izFQIZLd8fxwHXJDC0Yfb0JMOxwG1/SuO4c7gIuDe
ZJP7Cuep2PbfhCinLbltCN5oZ8XiSsDbCrypE8PjUfJhKLh1yTUuNhVwtlCpg2Kw
w5xRbx9ZRy9GqOjNXfJyBJbDEh21SDYHmz8YeWz4D/OIVI4Wqx/59n/UArg7b4H/
7xkjEP4HXfUx3fhrmIp+K6qAiNrVE4E9CfZw4DR1aQyuxKf+lZS5qK9FEmh18Zs=
=xW94
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-28 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 12:03 [Xenomai] Xenomai-3 and native RTDM question Anders Blomdell
2014-02-28 15:02 ` Philippe Gerum
2014-02-28 15:44   ` Anders Blomdell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.