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_DATA
  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#>
    4. Modify your application to add the cpu boot scripts.  If your IOC runs on a Shared Platform cpu then modify the SharedPlatform IOC
  3. Application to
    1. Application  :
      1.  add your cpu st.cmd file  to
          1.  add  cpuBoot/<faciilti>/<cpu node>/st.cmd
          2. add any dhcp.config or ethercat xml scripts
          3. tag and push shared the SharedPlatform  tag to production  using cram.
      2. Add ipxe in $TFTPBOOT/LinuxRT/boot/ipxe/<cpu>.ipxe
        1. note the buildroot version must correspond to the Application buildroot version defined based on the EPICS base version
      3. Setup cpu directory files
        Original Method: (steps 3b and 3c)
        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
          for examples click  here.
          New Method: (steps 3d and 3e) - must be base release R7.0.3.1-1.0 or greater
        4. Automatic:  
          1. createLinuxRTCpu --help
        5. Manual:
          1. cd cpu-<area>-<subsystem-prefix><2-digit#> 
          2. Setup relative symbolic like to the TOP of the IOC Application  first time only, thereafter use cram to upgrade link.
            1. ln -s ../../iocTop/<app> iocSpecificRelease
          3.  cp ../template/startup.cmd.linuxRT.cpu startup.cmd
            1. replace <cpu> with your cpu name
            2. replace <full path> with the full path to the directory with the cpu boot st.cmd file
      4. Setup ioc directory files
        1. cd sioc-<area>-<subsystem-prefix><2-digit# 
        2. copy the ioc startup.cmd script from  $EPICS_IOCS/templat
          1. for linuxRT running iocsh:    cp ../template/startup.cmd.linuxRT          startup.cmd
          2. for  linuxRT running cexp:     cp ../template/startup.cmd.linuxRT.cexp  startup.cm
        3. edit startup.cmd
          1. replace <ioc>  with your ioc name and for cexp replace <facility>
          2. change path of the EPICS_IOC_APP if your st.cmd file is in a non-standard location.
        1. cp ../template/screenrc   screenrc
        2. edit screenrc and replace <ioc> with your ioc name
        3. Setup a relative symbolic link to the TOP of the IOC Application release.

      ...