g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: embedded linux target with uClibC and PREEMPT_RT needs caRepeater
From: "Ernest L. Williams Jr." <ernesto@slac.stanford.edu>
To: EPICS Techtalk <tech-talk@aps.anl.gov>
Date: Tue, 22 May 2012 18:07:06 -0700
Hi,

We are now starting to do a lot of run time testing with our new embedded linux target IOC:

We are calling it:  "linuxRT-x86"

Some Ingredients:
Linux Kernel = 3.2.13-rt22 #1 SMP PREEMPT RT Mon May 21 16:55:55 PDT 2012 i686 GNU/Linux
uClibc
busybox
PREEMPT_RT

=========================================
Thanks to Till Strauman for this work. :)
=========================================

Meanwhile, I would like to know of any others out there doing this sort of thing as well?
What are you using? 
What has been your experience?

And now a technical EPICS build related question:

I found that I need to have caRepeater available for my target but EPICS BASE does not build it.
How have others done this? 
We build our target as a CROSS, so caRepeater only gets built for HOST builds.

Now for vxWorks and RTEMS, they use  "repeater.cpp"  which gets linked in.

What I have done for our embedded linux target is the following, is this acceptable?
=====================================================
Modify,  <BASE>/src/ca/Makefile
And added:

ifeq ($(T_A),linuxRT-x86)
 PROD_DEFAULT += caRepeater catime acctst caConnTest casw caEventRate
endif


Then, I did a build like so,
make CROSS_COMPILER_TARGET_ARCHS=linuxRT-x86


Thanks in advance for your comments and help. 


Cheers,
Ernest




Replies:
RE: embedded linux target with uClibC and PREEMPT_RT needs caRepeater michael.abbott
Re: embedded linux target with uClibC and PREEMPT_RT needs caRepeater Michael Davidsaver
Re: embedded linux target with uClibC and PREEMPT_RT needs caRepeater Rod Nussbaumer

Navigate by Date:
Prev: Re: EPICS hardware support Ralph Lange
Next: RE: embedded linux target with uClibC and PREEMPT_RT needs caRepeater michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: RE: EPICS hardware support david.hickin
Next: RE: embedded linux target with uClibC and PREEMPT_RT needs caRepeater michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·