code:work:lvisf:nonrt2017:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:work:lvisf:nonrt2017:start [2018/01/04 19:07] – [Spectrum Digitizer Drivers] david | code:work:lvisf:nonrt2017:start [2018/01/04 22:54] (current) – [Auto-load Plx9030 Driver] david | ||
---|---|---|---|
Line 523: | Line 523: | ||
</ | </ | ||
- Build the drivers < | - Build the drivers < | ||
+ | # 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 | ||
</ | </ | ||
- | - Load the drivers < | + | - Load the drivers |
cd / | cd / | ||
insmod biokernbase.ko | insmod biokernbase.ko | ||
Line 610: | Line 612: | ||
- symlink the drivers into the kernel directory < | - symlink the drivers into the kernel directory < | ||
- | sudo ln -s / | + | sudo ln -s / |
</ | </ | ||
- add to our startup script **/ | - add to our startup script **/ | ||
Line 630: | Line 632: | ||
- symlink the driver into the kernel so it will come up on boot < | - symlink the driver into the kernel so it will come up on boot < | ||
- | sudo ln -s / | + | sudo ln -s / |
- add to our startup script **/ | - add to our startup script **/ | ||
- modify the file < | - modify the file < | ||
Line 650: | Line 652: | ||
</ | </ | ||
+ | ===== Installing Boost Library ===== | ||
+ | |||
+ | The **boost** C++ library is required for the data system. | ||
+ | |||
+ | - Uncompress the tar into **/opt** < | ||
+ | cd /opt | ||
+ | sudo tar -jxvf / | ||
+ | </ | ||
+ | - Symbolically link to a generic boost directory < | ||
+ | sudo ln -s / | ||
+ | </ | ||
+ | - Chown it all to **lvis** user < | ||
+ | sudo chown -R lvis:lvis / | ||
+ | </ | ||
+ | - Set the environment variable for the **BOOST_ROOT** variable | ||
+ | - Edit the file / | ||
+ | nano / | ||
+ | </ | ||
+ | - Add the line < | ||
+ | # Add the boost root directory | ||
+ | export BOOST_ROOT=/ | ||
+ | </ | ||
+ | - Run our profile to load this variable < | ||
+ | source / | ||
+ | </ | ||
+ | - Compile the **boost** libraries < | ||
+ | cd /opt/boost | ||
+ | ./ | ||
+ | ./b2 | ||
+ | </ | ||
+ | |||
+ | ===== Installing USB Temperature Library ===== | ||
+ | |||
+ | Follow the instructions below to compile the USB temperature monitoring device libraries required. | ||
+ | |||
+ | * [[subsystem: | ||
+ | ]] | ||
====== Clean Boot Operations ====== | ====== Clean Boot Operations ====== |
code/work/lvisf/nonrt2017/start.1515092822.txt.gz · Last modified: 2018/01/04 19:07 by david