#**************************************************************************** # $Id: transfer.ref,v 1.8 2008/03/28 13:46:53 nmn Exp $ #**************************************************************************** # WARNING: File generated from database. Can be overwritten at any time ! # # ***** IOCONFIG Information ***** # ln mln bus mtno module-type lu W AM DPsz basaddr1 range1 W AM DPsz basaddr2 range2 testoff sz sl ss #+# 1 0 VME 186 RIO3-8064RD 0 N -- DP16 0 0 N -- ---- 0 0 0 0 1 -1 # ln sln bus mtno module-type lu evno subaddr A1 F1 D1 A2 F2 D2 # # ***** Program Startup before drivers ***** # # # access to /user/fesa directories #% mkdir -p /nfs/cs-ccr-nfs6/vol25; mount -o rsize=8192,wsize=8192 cs-ccr-nfs6:/vol25 /nfs/cs-ccr-nfs6/vol25 #% # # access to /user/timing directories #% mkdir -p /nfs/cs-ccr-nfs6/vol8; mount -o rsize=8192,wsize=8192 cs-ccr-nfs6:/vol8 /nfs/cs-ccr-nfs6/vol8 # # Creating RAM disk of size 8M and mounting it on /ldisk #% rm -f /ldisk; mkdir -p /ldisk; #% [ `uname` = "LynxOS" ] && { rdc -a 8M /dev/rd1; mkfs /dev/rd1; mount /dev/rd1 /ldisk; } || mount -ttmpfs -osize=8M tmpfs /ldisk; #% # # Create destination dir, copy original if not empty, then Remove original and create symbolic link #% [ -d /tmp ] || mkdir -p /tmp || exit 2; chmod /tmp; [ -d /ldisk/tmp -a ! -L /ldisk/tmp ] && (cd /ldisk/tmp; tar cf - .) | (cd /tmp; tar xvf -) ; rm -rf /ldisk/tmp; ln -s /tmp /ldisk/tmp; # #% cd /usr/local/drivers/ctr; gsictr.sh # #% upfiles -all #% wreboot -all #% end # # ***** Program Startup after drivers ***** # # Install data used by ioconfig library /usr/local/bin ioconfigInstall /usr/local/bin ioconfigInstall root root 555 command 5 % ioconfigInstall >/dev/con 2>&1 % # # Load the CTIMs into the CTRx /usr/local/tim timload /usr/local/tim timload root root 555 command 10 % /usr/local/tim/timload -utc 1 >/dev/con 2>&1 % # Tgm RT using TIM or DTM # Use -edtm option to allow DTM telegram reception if no hardware available /usr/local/tgm get_tgm_tim /usr/local/tgm get_tgm_tim root root 755 command -100 % /usr/local/tgm/get_tgm_tim % # /usr/local/tgm wait_tgm /usr/local/tgm wait_tgm root root 555 command 5 % echo -n Waiting for CPS telegram...>/dev/con; wait_tgm CPS >/dev/con 2>&1; echo Ok >/dev/con % # ## Start real-time and CMW server for FESA class LTIM #/dsc/local/bin LTIM_M /dsc/local/bin LTIM_M root root 555 server -25 % ./LTIM_M >/dev/con 2>&1 % # ##/dsc/local/bin FesaStartup /dsc/local/bin FesaStartup root root 755 command -50 % /dsc/local/bin/FesaStartup >/dev/null % # # creating datatable for GM equipment without any saved control data. #/dsc/local/bin creadt /dsc/local/bin creadt root root 555 command - % creadt >/dev/con 2>&1 % # # start doforever CMW Server /dsc/local/bin cmwserver /dsc/local/bin cmwserver root root 555 command -29 % while :; do cmwserver ;sleep 10;done % # End of file transfer.ref : all OK.