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: Installing EPICS on the Raspberry Pi
From: Emmanuel Mayssat <[email protected]>
To: Pete Jemian <[email protected]>, EPICS mailing list <[email protected]>
Date: Thu, 20 Feb 2014 18:13:52 -0800
There are at least 4 ways to bring EPICS on Raspberry Pi
1. Compile directly on target as you suggested (slow)
2. NFS mount the raspberry Pi and cross compile on build host (fast)
3. Mount Fash EEPROM on build host and cross compile (faster)
4. Mirror the Flash EEPROM from another one where EPICS was previously built for Pi (fastest)

Cross-compiling for the Pi is an interesting exercise on its own.
1. Install the crosstool chain (gcc and the like for arm platform on the intel-based build host)
2. In your configure directory, add the CROSS_COMPILER_TARGET_ARCHS=linux-arm in the CONFIG_SITE
3. Make sure that in the configure/os directory you have all the CONFIG.<build_host_arch>.<target_arch>
    i.e. CONFIG.linux-x86_64.linux-arm
4. In the CONFIG_SITE.Common.linux-arm set
  #Cross tool location
  GNU_DIR=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2
  #gcc target?
  GNU_TARGET = arm-linux
  #Build libs and bins
  VALID_BUILDS = Ioc Host
5. Compile epics base on build host for target architecture
6.
When you work with embedded system, here you normally would have to deploy the newly compiled binaries to the target host (using scp for example). But because with the raspPi you can (method 2) NFS mount, or (3,4) move the Flash disk you don't have to do that.

When cross compiling EPICS, you don't have to install epics-base, synapps, etc on the target hardware, but just the final statically-built IOC binary file. With the RaspPi, we can obviously follow both approaches.

Thank you for the doc.
--
Emmanuel




> Date: Wed, 19 Feb 2014 12:24:49 -0600
> From: [email protected]
> To: [email protected]
> Subject: Installing EPICS on the Raspberry Pi
>
>
> I've just published a how_I_did_it for the Raspberry Pi
>
> http://prjemian.github.io/epicspi/
>
> As for last year's discussion, it does not use the I/O pins on the PI.
>
> * Raspberry Pi Distribution
> * Preparing for EPICS
> * EPICS Base
> * synApps
> * PyEpics
>
>
> --
> ----------------------------------------------------------
> Pete R. Jemian, Ph.D. <[email protected]>
> Beam line Controls and Data Acquisition, Group Leader
> Advanced Photon Source, Argonne National Laboratory
> Argonne, IL 60439 630 - 252 - 3189
> -----------------------------------------------------------
> Education is the one thing for which people
> are willing to pay yet not receive.
> -----------------------------------------------------------
>

References:
Installing EPICS on the Raspberry Pi Pete Jemian

Navigate by Date:
Prev: RE: CSS BOY - EDL to OPI Converter development progress? Zelazny, Michael Stanley
Next: Re: CSS BOY - EDL to OPI Converter development progress? Xihui Chen
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: Installing EPICS on the Raspberry Pi Pete Jemian
Next: Re: Installing EPICS on the Raspberry Pi Pete Jemian
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 ·