On Wed, 15 Sep 2010 08:11 +0200, "Lars Segerlund" <[email protected]> wrote: > Hello, > > I have a question about EMC and the underlying realtime kernel, since > the Linux RT-Preempt patches are 'almost' included in the mainline > now, is there any effort to port EMC to this platform ? > > Also does anybody have a 'educated guess' about the complexity of > this operation ? > > RT-Preempt basicly uses POSIX for the realtime stuff, but I have not > used RTAI for about 5 years ... so I don't know the extent of changes > necessary.
EMC2 uses something called RTAPI as a wrapper for the realtime OS. Adding support for RT-Preempt basically means writing the code to implement all the RTAPI calls under RT-Preempt. The RTAPI calls are defined in rtapi.h http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/rtapi/rtapi.h The implementations live in the src/rtapi directory: http://git.linuxcnc.org/gitweb?p=emc2.git;a=tree;f=src/rtapi There are currently implementations for RTAI, RTLinux (probably a little bitrotted), and a simulation wrapper that lets a non-RT version of Linux run EMC2 (without hard realtime, and without hardware drivers). You could use the existing code as the basis for the RT-Preempt implementation. (IIRC, RTLinux is somewhat posix-like, and might be the best to start with.) > I might be willing to give it a go, and the question is then, which > version ? If I have read everything right a new 2.4 release is about > to be released soon ? Not sure I understand this question. Version 2.4 of EMC2 is already released. Any work like this should be done as a branch off of "master", then merged when it is working. John Kasunich -- John Kasunich [email protected] ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
