Changes between Version 4 and Version 5 of Internal/SDR/NodeImage
- Timestamp:
- May 6, 2013, 2:54:36 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/SDR/NodeImage
v4 v5 1 = Installation procedure for UHD 003.005.00 0 and GNU Radio v3.6.3on Ubuntu v12.04 =1 = Installation procedure for UHD 003.005.002 and GNU Radio v3.6.4.1 on Ubuntu v12.04 = 2 2 3 1. Load baseline -5.4.ndzonto node3 1. Load baseline image onto node 4 4 2. Build UHD from source code (http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Build) 5 5 a. Download source tar ball: 6 6 {{{ 7 > wget https://github.com/EttusResearch/UHD-Mirror/archive/release_003_005_000.tar.gz8 > tar -zxvf release_003_005_000.tar.gz9 > mv uhd_003_005_000uhd7 wget https://github.com/EttusResearch/UHD-Mirror/archive/release_003_005_002.tar.gz 8 tar -zxvf release_003_005_002.tar.gz 9 mv UHD-Mirror-release_003_005_002/ uhd 10 10 }}} 11 11 b. Download prerequisites for UHD 12 12 {{{ 13 > apt-get install libboost1.48-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils 14 > apt-get install git cmake libncurses5-dev libfftw3-3 libfftw3-dev 13 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 15 14 }}} 16 15 c. Build UHD (http://files.ettus.com/uhd_docs/manual/html/build.html#build-dependencies) 17 16 {{{ 18 >cd uhd/host19 >mkdir build20 >cd build21 >cmake ../22 >make23 >make test24 >make install17 cd uhd/host 18 mkdir build 19 cd build 20 cmake ../ 21 make 22 make test 23 make install 25 24 }}} 26 25 d. Set up library path 27 26 {{{ 28 >echo "include /root/uhd/host/build/lib" >> /etc/ld.so.conf29 >ldconfig27 echo "include /root/uhd/host/build/lib" >> /etc/ld.so.conf 28 ldconfig 30 29 }}} 31 30 e. Update network interfaces to enable eth2. Add following line to /etc/network/interfaces … … 46 45 a. Get source code in tarball 47 46 {{{ 48 > wget http://gnuradio.org/releases/gnuradio/gnuradio-3.6.3.tar.gz49 > tar -zxvf gnuradio-3.6.3.tar.gz50 > mv gnuradio-3.6.3gnuradio47 wget http://gnuradio.org/releases/gnuradio/gnuradio-3.6.4.1.tar.gz 48 tar -zxvf gnuradio-3.6.4.1.tar.gz 49 mv gnuradio-3.6.4.1 gnuradio 51 50 }}} 52 51 b. Download pre-reqs (http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall) … … 56 55 c. Build GNU Radio (http://gnuradio.org/redmine/projects/gnuradio/wiki/BuildGuide#III-Start-the-build-process) 57 56 {{{ 58 >cd gnuradio59 >mkdir build60 >cd build61 >cmake ../62 >make63 >make test64 >make install57 cd gnuradio 58 mkdir build 59 cd build 60 cmake ../ 61 make 62 make test 63 make install 65 64 }}} 66 65 d. Set up Python path variable 67 66 {{{ 68 >PYTHONPATH=/usr/local/lib/python2.7/dist-packages/69 >export PYTHONPATH70 >ldconfig67 PYTHONPATH=/usr/local/lib/python2.7/dist-packages/ 68 export PYTHONPATH 69 ldconfig 71 70 }}} 72 71 73 Finally reboot the node. To test out the UHD install 72 4. Finally reboot the node. 73 5. To test out the UHD install 74 74 {{{ 75 > uhd_find_devices 75 uhd_find_devices 76 }}} 77 and 78 {{{ 79 uhd_usrp_probe 76 80 }}} 77 81 78 To test out gnu radio install82 6. To test out gnu radio install 79 83 {{{ 80 >gnuradio-config-info -v84 gnuradio-config-info -v 81 85 }}}