Version 5 (modified by 12 years ago) ( diff ) | ,
---|
Installation procedure for UHD 003.005.002 and GNU Radio v3.6.4.1 on Ubuntu v12.04
- Load baseline image onto node
- Build UHD from source code (http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Build)
- Download source tar ball:
wget https://github.com/EttusResearch/UHD-Mirror/archive/release_003_005_002.tar.gz tar -zxvf release_003_005_002.tar.gz mv UHD-Mirror-release_003_005_002/ uhd
- Download prerequisites for UHD
apt-get -y install emacs libboost1.48-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils git cmake libncurses5-dev libfftw3-3 libfftw3-dev
- Build UHD (http://files.ettus.com/uhd_docs/manual/html/build.html#build-dependencies)
cd uhd/host mkdir build cd build cmake ../ make make test make install
- Set up library path
echo "include /root/uhd/host/build/lib" >> /etc/ld.so.conf ldconfig
- Update network interfaces to enable eth2. Add following line to /etc/network/interfaces
auto eth2 iface eth2 inet static address 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255
- Add following lines to /etc/sysctl.conf
net.core.rmem_max=50000000 net.core.wmem_max=1048576
- Download source tar ball:
- Build GNU from source code (http://gnuradio.org/redmine/projects/gnuradio/wiki/BuildGuide)
- Get source code in tarball
wget http://gnuradio.org/releases/gnuradio/gnuradio-3.6.4.1.tar.gz tar -zxvf gnuradio-3.6.4.1.tar.gz mv gnuradio-3.6.4.1 gnuradio
- Download pre-reqs (http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall)
apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost1.48-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk2.8 git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev python-docutils gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 libasound2-dev python-gtk2
- Build GNU Radio (http://gnuradio.org/redmine/projects/gnuradio/wiki/BuildGuide#III-Start-the-build-process)
cd gnuradio mkdir build cd build cmake ../ make make test make install
- Set up Python path variable
PYTHONPATH=/usr/local/lib/python2.7/dist-packages/ export PYTHONPATH ldconfig
- Get source code in tarball
- Finally reboot the node.
- To test out the UHD install
uhd_find_devices
anduhd_usrp_probe
- To test out gnu radio install
gnuradio-config-info -v
Note:
See TracWiki
for help on using the wiki.