User Tools

Site Tools


get_software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
get_software [2013/09/09 09:59] abunimehget_software [2014/09/29 11:54] (current) abunimeh
Line 1: Line 1:
-<code> +====== QuickStart ====== 
-# Some Envs +This setup helps you create standalone GET software releases which you can load and test without overwriting your old settings.
-PASSWORD= +
-SVNUSERNAME=$USER +
-SYSTEM=linx64 +
-RELEASE_NO=20130829 +
-GETPATH=~/GET-$RELEASE_NO+
  
-mkdir -p $GETPATH/software/src +  * Download {{:getscripts.tar.bz2|Getscripts}} 
- +  * extract it to your home directory. 
-# Before building from source load these +  * copy update2.sh and mmSync to your home directory
-export PREFIX=$GETPATH/software/pkg +  * edit update2.sh and change the release date and the passwordIf macports and Ice are still screwed up un-comment the export command there
-export PATH=$PREFIX/bin:$PATH +  * execute update.sh and wait for some time
-export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH +  * when done, cd ~/GET-2014XXXX or whatever release number you have
- +  * then cd runtime, make any changes to your *.xcfg files 
-# Install Compound TinyXML +    * you have to synchronize all your macmini farmopen a new terminal window, cd ~ then execute ./mmSync GET-20140516 or whatever version you have 
-cd $GETPATH/software/src +    * This should copy the new release to all mac minis (if you change *.xcfg you have to redo this) 
-svn co --username $SVNUSERNAME --password $PASSWORD https://dsm-trac.cea.fr/svn/cconfig/TinyXml/trunk TinyXml +  * If there is a new getHwServer-release-2014XXXX.out on the wiki then download it and copy it to /mnt/local/export/filesystemthen edit startup.vxsh accordingly
-cd TinyXml +  cd ~/GET-2014XXXX/runtime then open multiple tabs 
-./autogen.sh +  * type source ../GETUP 
-mkdir -p build/$SYSTEM +    * in multiple tabs 
-cd build/$SYSTEM +  * run getEccServer and getEccClient then GetController
-../../configure --prefix=$PREFIX +
-make install +
- +
-# Install CompoundConfig +
-cd $GETPATH/software/src +
-svn co --username $SVNUSERNAME --password $PASSWORD https://dsm-trac.cea.fr/svn/cconfig/CompoundConfig/tags/CompoundConfig-release-$RELEASE_NO CompoundConfig +
-cd CompoundConfig +
-./autogen.sh +
-mkdir -p build/$SYSTEM +
-cd build/$SYSTEM +
-../../configure --prefix=$PREFIX +
-make install +
- +
-# Install ConfigWidgets +
-cd $GETPATH/software/src +
-svn co --username $SVNUSERNAME --password $PASSWORD https://dsm-trac.cea.fr/svn/cconfig/ConfigWidgets/tags/ConfigWidgets-release-$RELEASE_NO ConfigWidgets +
-cd ConfigWidgets +
-./autogen.sh +
-mkdir -p build/$SYSTEM +
-cd build/$SYSTEM +
-../../configure --prefix=$PREFIX +
-make install +
- +
-# Install Utilities +
-cd $GETPATH/software/src +
-svn co --username $SVNUSERNAME --password $PASSWORD  https://dsm-trac.cea.fr/svn/mordicus/Utilities/tags/Utilities-release-20130620patch01 Utilities +
-cd Utilities +
-./autogen.sh +
-mkdir -p build/$SYSTEM +
-cd build/$SYSTEM +
-../../configure --prefix=$PREFIX +
-make install +
- +
-# Install MDaq +
-cd $GETPATH/software/src +
-svn co --username $SVNUSERNAME --password $PASSWORD https://dsm-trac.cea.fr/svn/mordicus/MDaq/tags/MDaq-release-$RELEASE_NO MDaq +
-cd MDaq +
-./autogen.sh +
-mkdir -p build/$SYSTEM +
-cd build/$SYSTEM +
-../../configure --prefix=$PREFIX --with-ice +
-make install +
- +
-# Install Multiframe +
-cd $GETPATH/software/src +
-svn co --username $SVNUSERNAME --password $PASSWORD  https://dsm-trac.cea.fr/svn/mordicus/MultiFrame/tags/MultiFrame-release-$RELEASE_NO MultiFrame +
-cd MultiFrame +
-./autogen.sh +
-mkdir -p build/$SYSTEM +
-cd build/$SYSTEM +
-../../configure --prefix=$PREFIX +
-make install  +
- +
-# Install StateMachine +
-cd $GETPATH/software/src +
-svn co --username $SVNUSERNAME --password $PASSWORD  https://dsm-trac.cea.fr/svn/mordicus/StateMachine/tags/StateMachine-release-$RELEASE_NO StateMachine +
-cd StateMachine +
-./autogen.sh +
-mkdir -p build/$SYSTEM +
-cd build/$SYSTEM +
-../../configure --prefix=$PREFIX --with-ice +
-make install+
  
 +====== Storing misc data in Flash ======
 +Make sure CoBo is connected to [[microtca_development|JTAG]] and powered up. To store the above information in NOR flash. You should have Xilinx EDK/SDK installed. Start Xilinx command prompt environment (if you are in GNU/Linux just source the settings.sh file) if you are using Windows, go to start -> Xilinx Design Tools -> Accessories -> ISE Design Suite command prompt, once it is launched
    
 +Change Directory to the folder where the configuration files (attached) are stored e.g. C:\CoBos_Info\configure
 +  * To store vxworks type:
 +xmd -nx -tcl flashwriter.tcl vx.tcl
 +  * To store the mac address:
 +    * edit mac.tcl
 +    * for the board labeled 1233 (serial number sticker) you should use mac_addr_temac-1233.bin
 +    * for the board labeled 1234 use mac_addr_temac-1234.bin
 +    * You should run xmd -nx -hw system.xml -tcl flashwriter.tcl mac.tcl
 + 
 + If you want to try a firmware just start xmd by typing xmd in Xilinx shells/command prompt
 +Then type: fpga –f download.bit
 +This should download the bitstream and immediately start the vxworks OS.
  
-# Install GetBench 
-cd $GETPATH/software/src 
-svn co --username $SVNUSERNAME --password $PASSWORD https://dsm-trac.cea.fr/svn/get/GetBench/tags/GetBench-software-release-$RELEASE_NO GetBench 
-cd GetBench 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX --with-ice 
-make install 
- 
-# Install GetController 
-cd $GETPATH/software/src 
-svn co --username $SVNUSERNAME --password $PASSWORD https://dsm-trac.cea.fr/svn/get/GetController/tags/GetController-release-$RELEASE_NO GetController 
-cd GetController 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX --with-ice --with-qwt5 
-make install 
- 
-# Done. load example configs 
-cd $GETPATH 
-mkdir runtime && cd runtime 
-cp $GETPATH/software/pkg/share/doc/GetController/examples/workspace.xcfg . 
-cp $GETPATH/software/pkg/share/doc/GetController/examples/pedestals.xcfg . 
-ln -s $GETPATH/software/pkg/share/get-bench/format/CoboFormats* . 
-ln -s $GETPATH/software/pkg/share/get-bench/config/hardwareDescription_fullCoBoStandAlone.xcfg . 
-</code> 
get_software.1378735178.txt.gz · Last modified: 2013/09/09 09:59 by abunimeh