CAPSDAQ: Difference between revisions
Jump to navigation
Jump to search
| Line 55: | Line 55: | ||
startup script (s) : /usr/local/coda/LaTechCoda/kern/bootscripts/roc2.boot | startup script (s) : /usr/local/coda/LaTechCoda/kern/bootscripts/roc2.boot | ||
other (o) : | other (o) : | ||
</pre> | |||
===New bootscript=== | |||
<pre> | |||
# Boot file for CODA ROC 2.0 | |||
# PowerPC version | |||
hostAdd "daq1","10.1.1.1" | |||
# up the sliding window | |||
tcp_sendspace=0x8000 | |||
tcp_recvspace=0x8000 | |||
# Setup environment / load coda_roc | |||
putenv "MSQL_TCP_HOST=localdaq" | |||
putenv "EXPID=LDS" | |||
putenv "TCL_LIBRARY=/usr/local/coda/2.5/common/lib/tcl7.4" | |||
putenv "ITCL_LIBRARY=/usr/local/coda/2.5/common/lib/itcl2.0" | |||
putenv "DP_LIBRARY=/usr/local/coda/2.5/common/lib/dp" | |||
putenv "CMLOG_PORT=8102" | |||
putenv "TOKEN_PORT=5555" | |||
putenv "SESSION=DAQ" | |||
# Download Message logging libraries/client | |||
ld < /usr/local/coda/LaTechCoda/cmlog/2.0/bin/ppc-5.4/cmlogClientD | |||
ld < /usr/local/coda/LaTechCoda/cmlog/2.0/lib/ppc-5.4/libcmlog.a | |||
ld < /usr/local/coda/LaTechCoda/cmlog/2.0/bin/ppc-5.4/cmlogVxLogMsg | |||
#cd "/usr/local/coda/2.5/VXWORKSPPC55/lib" | |||
#ld < libcamac.o | |||
cd "/usr/local/coda/LaTechCoda/VXWORKSPPC54/bin" | |||
ld < coda_roc | |||
#ld < caSrvr | |||
</pre> | </pre> | ||
Revision as of 17:46, 12 April 2009
The DAQ configuration at LaTech
ROC configuration
[VxWorks Boot]: c '.' = clear field; '-' = go to previous field; ^D = quit boot device : fei0 processor number : 0 host name : capsdaq file name : /daq/vxworks/kern/5.4/vx5110-256MB inet on ethernet (e) : 138.47.37.31:fffffc00 inet on backplane (b): host inet (h) : 138.47.37.25 gateway inet (g) : user (u) : daq ftp password (pw) (blank = use rsh): flags (f) : 0x20 target name (tn) : roc2 startup script (s) : /daq/vxworks/kern/bootscripts/roc2.boot other (o) :
Steps to installing Their MVME5100 into ISUs CODA system
It looks like they were using VxWorks 5.4 and I use version 5.5
Now I need to make a choice to either
- install VxWorks version 5.4 and run their kernel or
- upgrade their kernel to using VxWorks version 5.5
Install their ROC OS
ROC config changes
[VxWorks Boot]: c '.' = clear field; '-' = go to previous field; ^D = quit boot device : fei0 processor number : 0 host name : daq1 file name : /usr/local/coda/LaTechCoda/kern/5.4/vx5110-256MB inet on ethernet (e) : 134.50.3.216 138:fffffc00 inet on backplane (b): host inet (h) : 134.50.3.210 gateway inet (g) : user (u) : daq ftp password (pw) (blank = use rsh): flags (f) : 0x20 target name (tn) : roc2 startup script (s) : /usr/local/coda/LaTechCoda/kern/bootscripts/roc2.boot other (o) :
New bootscript
# Boot file for CODA ROC 2.0 # PowerPC version hostAdd "daq1","10.1.1.1" # up the sliding window tcp_sendspace=0x8000 tcp_recvspace=0x8000 # Setup environment / load coda_roc putenv "MSQL_TCP_HOST=localdaq" putenv "EXPID=LDS" putenv "TCL_LIBRARY=/usr/local/coda/2.5/common/lib/tcl7.4" putenv "ITCL_LIBRARY=/usr/local/coda/2.5/common/lib/itcl2.0" putenv "DP_LIBRARY=/usr/local/coda/2.5/common/lib/dp" putenv "CMLOG_PORT=8102" putenv "TOKEN_PORT=5555" putenv "SESSION=DAQ" # Download Message logging libraries/client ld < /usr/local/coda/LaTechCoda/cmlog/2.0/bin/ppc-5.4/cmlogClientD ld < /usr/local/coda/LaTechCoda/cmlog/2.0/lib/ppc-5.4/libcmlog.a ld < /usr/local/coda/LaTechCoda/cmlog/2.0/bin/ppc-5.4/cmlogVxLogMsg #cd "/usr/local/coda/2.5/VXWORKSPPC55/lib" #ld < libcamac.o cd "/usr/local/coda/LaTechCoda/VXWORKSPPC54/bin" ld < coda_roc #ld < caSrvr