Building the Entire System: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
A multi-stage make is required to build the .munch files for the IOCs. Munch files are raw binary executable for the MVME5500's VxWorks operating system generated by a cross compiler. The cross compiler resides on machine con6, a Sun Solaris machine. This machine has no internal hard disk, it connects to the network file server. This means files ''can'' be copied willy-nilly but that doesn't mean they ''should'' be. Yes, physicists, I speak to you. '''DO NOT TOUCH /dk/fs2/dgs/global_sanbox EVER. NO, NEVER!!''' | A multi-stage make is required to build the .munch files for the IOCs. Munch files are raw binary executable for the MVME5500's VxWorks operating system generated by a cross compiler. The cross compiler resides on machine con6, a Sun Solaris machine. This machine has no internal hard disk, it connects to the network file server. This means files ''can'' be copied willy-nilly but that doesn't mean they ''should'' be. Yes, physicists, I speak to you. '''DO NOT TOUCH /dk/fs2/dgs/global_sanbox EVER. NO, NEVER!!''' | ||
=== Compiling the Code === | === Compiling the Code used in the VME IOCs === | ||
# ssh -XY dgs@con6 | # ssh -XY dgs@con6 | ||
# cd /global/devel/dgsDrivers/dgsDriverApp/src | # cd /global/devel/dgsDrivers/dgsDriverApp/src | ||
Line 17: | Line 17: | ||
# cd /global/ioc/bin/vxWorks-ppc604_long | # cd /global/ioc/bin/vxWorks-ppc604_long | ||
# ./CopyNewMunch.sh | # ./CopyNewMunch.sh | ||
=== Ensuring EPICS databases are up to date === | |||
# ssh -XY dgs@dgs1 | |||
# cd /global/ioc/db | |||
# ./Export_SVN_Databases.sh | |||
# You will have to reboot all the VME IOCs to load the new databases. | |||
# You will have to stop and restart the Soft IOC to load the new databases. |
Revision as of 00:30, April 1, 2023
A multi-stage make is required to build the .munch files for the IOCs. Munch files are raw binary executable for the MVME5500's VxWorks operating system generated by a cross compiler. The cross compiler resides on machine con6, a Sun Solaris machine. This machine has no internal hard disk, it connects to the network file server. This means files can be copied willy-nilly but that doesn't mean they should be. Yes, physicists, I speak to you. DO NOT TOUCH /dk/fs2/dgs/global_sanbox EVER. NO, NEVER!!
Compiling the Code used in the VME IOCs
- ssh -XY dgs@con6
- cd /global/devel/dgsDrivers/dgsDriverApp/src
- ./Export_SVN_ParameterFiles.sh
- cd ../..
- make clean
- make
- There should be ZERO errors and ZERO warnings. Anything else is a fatal, full, stop.
- cd ../dgsIoc
- make clean
- make
- There should be ZERO errors and ZERO warnings. Anything else is a fatal, full, stop.
- Log out of con6
- Log into dgs1 as dgs
- cd /global/ioc/bin/vxWorks-ppc604_long
- ./CopyNewMunch.sh
Ensuring EPICS databases are up to date
- ssh -XY dgs@dgs1
- cd /global/ioc/db
- ./Export_SVN_Databases.sh
- You will have to reboot all the VME IOCs to load the new databases.
- You will have to stop and restart the Soft IOC to load the new databases.