Difference between revisions of "OpenBTS: N210 GNURadio"

From OnnoWiki
Jump to navigation Jump to search
Line 26: Line 26:
 
  sudo cp uhd-usrp.rules /etc/udev/rules.d/
 
  sudo cp uhd-usrp.rules /etc/udev/rules.d/
 
  sudo udevadm control --reload-rules
 
  sudo udevadm control --reload-rules
 +
 +
==Install Image 003.005.000==
 +
 +
Download UHD image
 +
 +
cd ~
 +
wget http://files.ettus.com/binaries/master_images/archive/uhd-images_003.005.000-release.tar.gz
 +
 +
Install
 +
 +
rm -Rf /usr/share/uhd/images/*
 +
rm -Rf /usr/local/share/uhd/images/*
 +
cd ~
 +
tar zxvf uhd-images_003.004.002-180-gb6bb13bc.tar.gz
 +
cp -Rf uhd-images_003.004.002-180-gb6bb13bc/share/uhd/images/ /usr/local/share/uhd/
 +
 +
Dalam /usr/local/share/uhd/images/ , file
 +
 +
* usrp1_fpga_4rx.rbf
 +
* usrp1_fpga.rbf
 +
 +
digunakan untuk USRP1
  
 
==Referensi==
 
==Referensi==

Revision as of 07:16, 21 July 2013

Persiapan

sudo apt-get install libboost-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils \
git python cmake

Download Source Code GNURadio

echo "/usr/local/lib" >> /etc/ld.so.conf
cd /usr/local/src
git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git

Compile

cd /usr/local/src/uhd.git/host/
mkdir build
cd /usr/local/src/uhd.git/host/build
cmake -DENABLE_LIBUHD=ON -DENABLE_EXAMPLES=ON -DENABLE_UTILS=ON -DENABLE_TESTS=ON ../
make
make test
make install
ldconfig

Install UHD USRP ke udev

cd /usr/local/share/uhd/utils
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules

Install Image 003.005.000

Download UHD image

cd ~
wget http://files.ettus.com/binaries/master_images/archive/uhd-images_003.005.000-release.tar.gz

Install

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
tar zxvf uhd-images_003.004.002-180-gb6bb13bc.tar.gz
cp -Rf uhd-images_003.004.002-180-gb6bb13bc/share/uhd/images/ /usr/local/share/uhd/

Dalam /usr/local/share/uhd/images/ , file

  • usrp1_fpga_4rx.rbf
  • usrp1_fpga.rbf

digunakan untuk USRP1

Referensi