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 20:16] – [MIC 3753 DIO 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 (this crashes when i load the bio1753) <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 671: Line 673:
 # Add the boost root directory # Add the boost root directory
 export BOOST_ROOT=/opt/boost export BOOST_ROOT=/opt/boost
 +</code>
 +    - Run our profile to load this variable <code>
 +source /home/lvis/.bash_profile
 </code> </code>
   - Compile the **boost** libraries <code>   - Compile the **boost** libraries <code>
code/work/lvisf/nonrt2017/start.1515097006.txt.gz · Last modified: 2018/01/04 20:16 by david