get_software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
get_software [2013/09/12 13:21] – abunimeh | get_software [2014/09/29 11:54] (current) – abunimeh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | ====== QuickStart ====== |
- | # Some Envs | + | This setup helps you create standalone |
- | PASSWORD= | + | |
- | SVNUSERNAME=$USER | + | |
- | SYSTEM=linx64 | + | |
- | RELEASE_NO=20130829 | + | |
- | GETPATH=~/GET-$RELEASE_NO | + | |
- | mkdir -p $GETPATH/ | + | * 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/ | + | * edit update2.sh and change the release |
- | export PATH=$PREFIX/ | + | |
- | export PKG_CONFIG_PATH=$PREFIX/ | + | * when done, cd ~/GET-2014XXXX or whatever |
- | + | * then cd runtime, make any changes to your *.xcfg files | |
- | # Install Compound TinyXML | + | * you have to synchronize all your macmini farm. open a new terminal window, |
- | cd $GETPATH/ | + | * 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:// | + | * If there is a new getHwServer-release-2014XXXX.out on the wiki then download it and copy it to /mnt/local/export/filesystem/ then edit startup.vxsh accordingly. |
- | cd TinyXml | + | |
- | ./autogen.sh | + | |
- | mkdir -p build/ | + | * in multiple tabs |
- | cd build/ | + | * run getEccServer and getEccClient then GetController |
- | ../ | + | |
- | make install | + | |
- | + | ||
- | # Install CompoundConfig | + | |
- | cd $GETPATH/ | + | |
- | svn co --username $SVNUSERNAME --password $PASSWORD https:// | + | |
- | cd CompoundConfig | + | |
- | ./ | + | |
- | mkdir -p build/ | + | |
- | cd build/ | + | |
- | ../ | + | |
- | make install | + | |
- | + | ||
- | # Install Utilities | + | |
- | cd $GETPATH/ | + | |
- | svn co --username $SVNUSERNAME --password $PASSWORD | + | |
- | cd Utilities | + | |
- | ./autogen.sh | + | |
- | mkdir -p build/ | + | |
- | cd build/ | + | |
- | ../ | + | |
- | make install | + | |
- | + | ||
- | # Install ConfigWidgets | + | |
- | cd $GETPATH/software/ | + | |
- | svn co --username $SVNUSERNAME --password $PASSWORD https:// | + | |
- | cd ConfigWidgets | + | |
- | ./ | + | |
- | mkdir -p build/ | + | |
- | cd build/ | + | |
- | ../ | + | |
- | make install | + | |
- | + | ||
- | # Install MDaq | + | |
- | cd $GETPATH/ | + | |
- | svn co --username $SVNUSERNAME --password $PASSWORD https:// | + | |
- | cd MDaq | + | |
- | ./autogen.sh | + | |
- | mkdir -p build/ | + | |
- | cd build/ | + | |
- | ../ | + | |
- | make install | + | |
- | + | ||
- | # Install Multiframe | + | |
- | cd $GETPATH/ | + | |
- | svn co --username $SVNUSERNAME --password $PASSWORD | + | |
- | cd MultiFrame | + | |
- | ./autogen.sh | + | |
- | mkdir -p build/ | + | |
- | cd build/$SYSTEM | + | |
- | ../ | + | |
- | make install | + | |
- | + | ||
- | # Install StateMachine | + | |
- | cd $GETPATH/software/ | + | |
- | svn co --username $SVNUSERNAME --password $PASSWORD | + | |
- | cd StateMachine | + | |
- | ./ | + | |
- | mkdir -p build/ | + | |
- | cd build/ | + | |
- | ../ | + | |
- | 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: | ||
+ | * 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/ | ||
+ | Then type: fpga –f download.bit | ||
+ | This should download the bitstream and immediately start the vxworks OS. | ||
- | # Install GetBench | ||
- | cd $GETPATH/ | ||
- | svn co --username $SVNUSERNAME --password $PASSWORD https:// | ||
- | cd GetBench | ||
- | ./ | ||
- | mkdir -p build/ | ||
- | cd build/ | ||
- | ../ | ||
- | make install | ||
- | |||
- | # Install GetController | ||
- | cd $GETPATH/ | ||
- | svn co --username $SVNUSERNAME --password $PASSWORD https:// | ||
- | cd GetController | ||
- | ./ | ||
- | mkdir -p build/ | ||
- | cd build/ | ||
- | ../ | ||
- | make install | ||
- | |||
- | # Done. load example configs | ||
- | cd $GETPATH | ||
- | mkdir runtime && cd runtime | ||
- | cp $GETPATH/ | ||
- | cp $GETPATH/ | ||
- | ln -s $GETPATH/ | ||
- | ln -s $GETPATH/ | ||
- | </ |
get_software.1379006470.txt.gz · Last modified: 2013/09/12 13:21 by abunimeh