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  <20102011  2012  2013  2014  2015  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS on ARM (continued)
From: Rod Nussbaumer <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Wed, 27 Oct 2010 13:08:06 -0700
Andrew Johnson wrote:
On Wednesday 27 October 2010 13:31:00 [email protected] wrote:

In src/catools/Makefile you find:
LIBRARY_HOST += catools
PROD_HOST += caget camonitor cainfo caput
This builds caget etc only for the host, not for the cross targets.
To build the tools for all cross Linux IOCs, you may try to add:
LIBRARY_IOC_Linux += catools
PROD_IOC_Linux += caget camonitor cainfo caput

I didn't try the above. But I found I simply needed VALID_BUILDS += Host in my CONFIG_SITE.Common.linux-arm4vtl In linux-arm, we already have VALID_BUILDS = Ioc (which basically means build the libs)

True, although that will also cause all of the host tools to be built and installed as well; not really a problem, but it will slow up your builds a bit. Dirk's instructions should also work, but they do result in some benign warnings from the build system.

I've made a change for 3.14.12 which will build the catools for all
architectures except vxWorks and RTEMS.

It would be nice it these tools could be included in an IOC image and register
themselves with the iocsh (a long time ago there were such CA commands in the
vxWorks IOC), but that's probably a fair bit of work to do properly — Ralph,
one for the Codeathon wish-list maybe?

- Andrew

As I reported to Emmanual in a note offline (and credit to Daron Chabot for pointing this out), you can build the host-based tools for an architecture that is not the build-host by commenting-out the entry in


CONFIG_SITE.Common.linux-arm:

# VALID_BUILDS = Ioc

This seems to work for me. It does exactly what I had hoped, and puts everything in base/bin/linux-arm_el. A quick test of caget/caput shows that they seem to work on the target host.

Rod Nussbaumer
ISAC Controls, TRIUMF
Vancouver, Canada.



References:
RE: Thread model for EPICS on ARM CPU michael.abbott
Re: EPICS on ARM (continued) Dirk Zimoch
Re: EPICS on ARM (continued) emmanuel_mayssat
Re: EPICS on ARM (continued) Andrew Johnson

Navigate by Date:
Prev: OMS MAXv announces fix Ron Sluiter
Next: Re: OMS MAXv announces fix Kurt Goetze
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS on ARM (continued) Andrew Johnson
Next: EPICS R3.14.11, sequencer 2.0.12 crash on device support write error Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 27 Oct 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·