Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create the $IOC_DATA directory for your cpu and iocs  as follows:
      1. cd $IOC_DAT
  2.  Create the $EPICS_IOCS cpu and ioc boot directories
    1. cd $EPICS_IOCS
    2. mkdir cpu-<area>-<subsystem-prefix><2-digit#>  
    3. mkdir  sioc-<area>-<subsystem-prefix><2-digit#>
  3. Setup cpu directory files
    1. cd cpu-<area>-<subsystem-prefix><2-digit#>
    2. Setup relative symbolic links to the common startup script and EPICS version:.
      1. ln -s ../common/st.cmd.linuxRT.cpu    startup.cmd
      2. ln -s ../common/bin/<epics base version>     epicsSpecificRelease
    3. Generate the file kernel-module.cmd. This file load kernels modules and drivers: kernel-modules.cmd
      1. for examples click  here.
  4. Setup ioc directory files
    1. cd sioc-<area>-<subsystem-prefix><2-digit#>
    1. copy our ioc startup.cmd script fro  $EPICS_IOCS/template
      1.  for linuxRT running iocsh:    cp ../template/startup.cmd.linuxRT    startup.cmd
      2. for  linuxRT running cexp:    cp ../template/startup.cmd.linuxRT.cexp  startup.cmd
    2. edit startup.cmd
      1.  replace <ioc> <ioc>  with your ioc name . and for cexp replace <facility>
      2.  change path of the EPICS_IOC_APP in your st,cmd file is in a non-standard location.
    1. cp ../template/screenrc   screenrcscreeenrc
    2. edit screenrc and replace <ioc> with your ioc name.
    3. Setup a relative symbolic link to the TOP of the IOC Application release.
      1. ln -s ../../iocTop/<app>/<version> iocSpecificRelease
  5. Modify $EPICS_IOCS/screeniocs   
    1. add line for cpu
      format:  cpu-<area>-<subsystem-prefix><2-digit #>      <ts>   <ts port #t>   <screen  host>   [ # comment]
    2. add line for each ioc
      format:  sioc-<area>-<subsystem prefix><2-digit #>  cpu-<area>-<subsystem-prefix><2-digit #>    <account>   [ # comment]
    3. The "comment" field in screeeniocsis optional and must be precede but  "#".

...