User Tools

Site Tools


code:work:lvisf:nonrt2017:start

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
code:work:lvisf:nonrt2017:start [2018/01/04 19:07] – [Spectrum Digitizer Drivers] davidcode:work:lvisf:nonrt2017:start [2018/01/04 22:54] (current) – [Auto-load Plx9030 Driver] david
Line 523: Line 523:
 </code> </code>
   - Build the drivers <code>   - Build the drivers <code>
 +# to disable IRQs in this driver, just use this code where the IRQ calls are commented out
 +cp init.c.no_irq init.c
 make make
 </code> </code>
-  - Load the drivers <code>+  - Load the drivers (this crashes when i load the bio1753 (IRQ!!! issue) <code>
 cd /home/lvis/src/MIC3753/linux_driver_source_3.2.7.0_64bit/drivers/bin cd /home/lvis/src/MIC3753/linux_driver_source_3.2.7.0_64bit/drivers/bin
 insmod biokernbase.ko insmod biokernbase.ko
Line 610: Line 612:
  
   - symlink the drivers into the kernel directory <code>   - symlink the drivers into the kernel directory <code>
-sudo ln -s /opt/lvisf/src/MIC3753/linux_driver_source_3.2.7.0_64bit/drivers/bin/*.ko /lib/modules/2.6.33.9-rt31.79.el6rt.x86_64/kernel/drivers/misc/+sudo ln -s /opt/lvisf/src/MIC3753/linux_driver_source_3.2.7.0_64bit/drivers/bin/*.ko /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/
 </code> </code>
   - add to our startup script **/etc/sysconfig/modules/lvisf.modules**   - add to our startup script **/etc/sysconfig/modules/lvisf.modules**
Line 630: Line 632:
  
   - symlink the driver into the kernel so it will come up on boot <code>   - symlink the driver into the kernel so it will come up on boot <code>
-sudo ln -s /opt/lvisf/src/PLX/PlxSdk/Driver/Source.Plx9000/Output/Plx9030.ko /lib/modules/2.6.33.9-rt31.79.el6rt.x86_64/kernel/drivers/misc/</code>+sudo ln -s /opt/lvisf/src/PLX/PlxSdk/Driver/Source.Plx9000/Output/Plx9030.ko /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/</code>
   - add to our startup script **/etc/sysconfig/modules/lvisf.modules**   - add to our startup script **/etc/sysconfig/modules/lvisf.modules**
     - modify the file <code>     - modify the file <code>
Line 650: Line 652:
 </code> </code>
  
 +===== Installing Boost Library =====
 +
 +The **boost** C++ library is required for the data system.  The tarball of the 1.6.2 version is in the repository.  Or download the latest from [[http://www.boost.org/users/download/]].  Here is the latest as of 2018.01.04 [[https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.bz2]]
 +
 +  - Uncompress the tar into **/opt** <code>
 +cd /opt
 +sudo tar -jxvf /opt/lvisf/src/tars/boost_1_62_0.tar.bz2
 +</code>
 +  - Symbolically link to a generic boost directory <code>
 +sudo ln -s /opt/boost_1_62_0 /opt/boost
 +</code>
 +  - Chown it all to **lvis** user <code>
 +sudo chown -R lvis:lvis /opt/boost_1_62_0
 +</code>
 +  - Set the environment variable for the **BOOST_ROOT** variable
 +    - Edit the file /home/lvis/.bash_profile <code>
 +nano /home/lvis/.bash_profile 
 +</code>
 +    - Add the line <code>
 +# Add the boost root directory
 +export BOOST_ROOT=/opt/boost
 +</code>
 +    - Run our profile to load this variable <code>
 +source /home/lvis/.bash_profile
 +</code>
 +  - Compile the **boost** libraries <code>
 +cd /opt/boost
 +./bootstrap.sh
 +./b2
 +</code>
 +
 +===== Installing USB Temperature Library =====
 +
 +Follow the instructions below to compile the USB temperature monitoring device libraries required.
 +
 +  * [[subsystem:datasystem:dev:hardware:mccdaq:usbtemp:start|Measurement Computing USB-TEMP-AI code instructions.
 +]]
  
 ====== Clean Boot Operations ====== ====== Clean Boot Operations ======
code/work/lvisf/nonrt2017/start.1515092822.txt.gz · Last modified: 2018/01/04 19:07 by david