get_software
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| get_software [2013/09/04 11:05] – created abunimeh | get_software [2014/09/29 11:54] (current) – abunimeh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | ====== QuickStart ====== |
| - | # Some Envs | + | This setup helps you create standalone |
| - | PASSWORD= | + | |
| - | 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 date and the password. If macports and Ice are still screwed up un-comment the export command there. |
| - | export PATH=$PREFIX/ | + | * execute update.sh and wait for some time. |
| - | export PKG_CONFIG_PATH=$PREFIX/ | + | * when done, cd ~/GET-2014XXXX or whatever |
| - | + | * then cd runtime, | |
| - | # Install Compound TinyXML | + | * you have to synchronize all your macmini farm. open a new terminal window, |
| - | cd $GETPATH/ | + | * This should copy the new release |
| - | svn co --username attpc --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 attpc --password $PASSWORD https:// | + | |
| - | cd CompoundConfig | + | |
| - | ./autogen.sh | + | |
| - | mkdir -p build/ | + | |
| - | cd build/ | + | |
| - | ../ | + | |
| - | make install | + | |
| - | + | ||
| - | # Install ConfigWidgets | + | |
| - | cd $GETPATH/software/ | + | |
| - | svn co --username attpc --password $PASSWORD https:// | + | |
| - | cd ConfigWidgets | + | |
| - | ./ | + | |
| - | mkdir -p build/ | + | |
| - | cd build/ | + | |
| - | ../ | + | |
| - | make install | + | |
| - | + | ||
| - | # Install Utilities | + | |
| - | cd $GETPATH/ | + | |
| - | svn co --username attpc --password $PASSWORD | + | |
| - | cd Utilities | + | |
| - | ./ | + | |
| - | mkdir -p build/ | + | |
| - | cd build/ | + | |
| - | ../../ | + | |
| - | make install | + | |
| - | + | ||
| - | # Install MDaq | + | |
| - | cd $GETPATH/ | + | |
| - | svn co --username attpc --password $PASSWORD https:// | + | |
| - | cd MDaq | + | |
| - | ./autogen.sh | + | |
| - | mkdir -p build/ | + | |
| - | cd build/ | + | |
| - | ../ | + | |
| - | make install | + | |
| - | + | ||
| - | # Install Multiframe | + | |
| - | cd $GETPATH/ | + | |
| - | svn co --username attpc --password $PASSWORD | + | |
| - | cd MultiFrame | + | |
| - | ./autogen.sh | + | |
| - | mkdir -p build/ | + | |
| - | cd build/$SYSTEM | + | |
| - | ../ | + | |
| - | make install | + | |
| - | + | ||
| - | # Install StateMachine | + | |
| - | cd $GETPATH/software/ | + | |
| - | svn co --username attpc --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 attpc --password $PASSWORD https:// | ||
| - | cd GetBench | ||
| - | ./ | ||
| - | mkdir -p build/ | ||
| - | cd build/ | ||
| - | ../ | ||
| - | make install | ||
| - | |||
| - | # Install GetController | ||
| - | cd $GETPATH/ | ||
| - | svn co --username attpc --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.1378307136.txt.gz · Last modified: 2013/09/04 11:05 by abunimeh