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