EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Porting EPICS to a new OS
From: Stephen Beckwith <[email protected]>
To: Eric Norum <[email protected]>
Cc: EPICS mailing list <[email protected]>
Date: Fri, 6 Jun 2014 13:03:09 -0400
Emmanuel,
   I just completed setting up EPICS for a customer's platform, based upon Timesys Embedded Linux.  Linux does not "follow" POSIX, it follows the LSB (Linux Standard Base:  http://en.wikipedia.org/wiki/Linux_Standard_Base). 
   All I had to do was (1) above, plus add another tweak to point to the Timesys generated cross compiler. 
   The setup is cross compiled on Linux Host (Ubuntu based) and then loaded up on the customer's platform.
As noted by Eric Norum, any custom driver work will need special care.  Also, since QNX is an RTOS, you may have to lean on some of the VxWorks setups in EPICS rather than Linux when it comes to getting things started on the IOC.

Regard,
Stephen Beckwith
Embedded Linux Engineer
http://www.timesys.com




On Fri, Jun 6, 2014 at 12:15 PM, Eric Norum <[email protected]> wrote:
At a quick estimate, and assuming that POSIX-compiiant really means what you and the EPICS developers think it means, I’d expect that porting EPICS base might just be a ‘1’ on the scale you’ve shown.  Are you planning on native or cross development?
Of course I wouldn’t be surprised if Mr. Murphy’s Law requires a little of ‘3’, too.

The real work comes when you want to provide driver support — especially if you want to get at local hardware I/O space and even more so if you need the ability to deal with hardware interrupts.  If all you want is ASYN-style serial and network ports things should be pretty simple.

On Jun 6, 2014, at 9:01 AM, Emmanuel Mayssat <[email protected]> wrote:


Hello,

I am interested in porting EPICS to a new OS, namely QNX.
QNX is a real-time OS with a microkernel.
It is POSIX compliant.

How much work will that take?
or rather what needs to be done?

0/ Because QNX is POSIX compliant, epics-base compiles out of the box
1/ It compiles provided that I create/change files in the $(TOP)/configure directory
2/ It compile but I have to change the master Makefile of epics-base
3/ I have to change the epics-base code itself
4/ It compiles, but requires a combination of all the above
5/ ... something even more time consuming ...
6/ It is impossible.

So on the scale of 0 to 6, how big of a job is that?

Regards,
--
Emmanuel

-- 
Eric Norum
[email protected]






References:
Porting EPICS to a new OS Emmanuel Mayssat
Re: Porting EPICS to a new OS Eric Norum

Navigate by Date:
Prev: RE: EPICS database Feature request Emmanuel Mayssat
Next: Re: areaDetector acquirePeriod and acquireTime Zenon Szalata
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Porting EPICS to a new OS Eric Norum
Next: Writing areadetector driver- Getting array data to NDArray properly? Gomella, Andrew (NIH/NHLBI) [F]
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·