...
- Send email to Ken Brobeck requesting:
- create controls infrastructure for a new linuxRT CPU and / or IOC to a specific facility production server.
- includes $EPICS_IOCS/<cpu,ioc> directories
- includes $IOC_DATA/<ioc>/<autosave,autosave-req,restore,iocInfo,archive> directories
- add CPU boot information to the DHCP configuration file, and reboot the DHCP server. Ken will need the following details:
- Which facility the CPU will boot (e.g. facet, lcls, lcls2, testfac). This indicates the path to the startup.cmd script and the DHCP server.
- MAC Address of the CPU
- The CPU EPICS target architecture (e.g. linuxRT-x86,linuxRT-x86_64,etc)
- Proceed to Development Step #3
Development: dev
- Add ipxe in $TFTPBOOT/LinuxRT/boot/ipxe/<cpu>.ipxe
- Proceed to Development Step #3
...
- , note the buildroot version must correspond to the Application buildroot version defined based on the EPICS base version
- 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#>
- Setup cpu directory files
- cd cpu-<area>-<subsystem-prefix><2-digit#>
Original Method: (steps 3b and 3c) - 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 - 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": 71, "requestCorrelationId": "bc5ba482f62d4c65"}