Difference between revisions of "OpenBTS: RangeNetwork Compile GNURadio UHD"

From OnnoWiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Instalasi Pendukung==
 
==Instalasi Pendukung==
  
  sudo apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev \
+
  sudo apt-get -y --force-yes install libfontconfig1-dev libxrender-dev libpulse-dev \
 
  gcc-4.7 g++ automake libtool python-dev libfftw3-dev \
 
  gcc-4.7 g++ automake libtool python-dev libfftw3-dev \
 
  libcppunit-dev libboost-all-dev libusb-dev fort77 \
 
  libcppunit-dev libboost-all-dev libusb-dev fort77 \
Line 24: Line 24:
 
Sebaiknya jangan mengcompile dari source code karena membuat pusing kepala.
 
Sebaiknya jangan mengcompile dari source code karena membuat pusing kepala.
 
Install sdcc sebaiknya langsung dari file .deb saja.
 
Install sdcc sebaiknya langsung dari file .deb saja.
 +
 +
===64 bit===
  
 
  cd /usr/local/src
 
  cd /usr/local/src
Line 29: Line 31:
 
  wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
 
  wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
 
  dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb
 
  dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb
 +
 +
===32 bit===
 +
Tampaknya terpaksa compile. Download source code sdcc dari
 +
 +
http://sourceforge.net/projects/sdcc/files/sdcc/2.9.0/sdcc-src-2.9.0.tar.bz2/download
 +
 +
Lakukan
 +
 +
cp sdcc-src-2.9.0.tar.bz2 /usr/local/src
 +
cd /usr/local/src
 +
tar jxvf sdcc-src-2.9.0.tar.bz2
 +
cd sdcc
 +
./configure
 +
make
 +
make install
  
 
==Download Source Code UHD==
 
==Download Source Code UHD==
Line 71: Line 88:
 
===Rewrite Image UHD===
 
===Rewrite Image UHD===
  
  cd /home/openbts/software/public/openbts/tags/rP3.1.3/TransceiverRAD1
+
'''Sesudah compile OpenBTS 2.8.0''', lakukan
 +
 
 +
  cd /usr/local/src/openbts-2.8.0/openbts/tags/rP2.8.0/TransceiverRAD1
  
 
  cp ezusb.ihx /usr/local/share/uhd/images/usrp1_fw.ihx
 
  cp ezusb.ihx /usr/local/share/uhd/images/usrp1_fw.ihx
Line 78: Line 97:
 
==Install UHD USRP ke udev==
 
==Install UHD USRP ke udev==
  
  cd /usr/local/share/uhd/utils
+
  cd /usr/local/lib/uhd/utils
 
  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
 
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 17:01, 9 August 2014

Instalasi Pendukung

sudo apt-get -y --force-yes install libfontconfig1-dev libxrender-dev libpulse-dev \
gcc-4.7 g++ automake libtool python-dev libfftw3-dev \
libcppunit-dev libboost-all-dev libusb-dev fort77 \
libsdl1.2-dev python-wxgtk2.8 subversion git-core guile-1.8-dev \
libqt4-dev python-numpy ccache python-opengl libgsl0-dev \
python-cheetah python-lxml doxygen qt4-dev-tools \
libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools \
libpcre3 libpcre3-dbg libpcre3-dev libpcrecpp0 \
python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev libgtk2.0-dev \
autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ erlang bison flex \
apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli php5-curl \
mysql-client mysql-server libphp-adodb libgd2-xpm libgd2-xpm-dev \
php5-curl php-pear autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ erlang libreadline6-dev libboost-all-dev \
cmake build-essential subversion \
build-essential autoconf cvs sox pkg-config git-core subversion \
libgsm1-dev libgsm1 php5-cli python-setuptools python-pip

Install SDCC

Sebaiknya jangan mengcompile dari source code karena membuat pusing kepala. Install sdcc sebaiknya langsung dari file .deb saja.

64 bit

cd /usr/local/src
wget -c http://launchpadlibrarian.net/38703081/sdcc_2.9.0-5_amd64.deb
wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb

32 bit

Tampaknya terpaksa compile. Download source code sdcc dari

http://sourceforge.net/projects/sdcc/files/sdcc/2.9.0/sdcc-src-2.9.0.tar.bz2/download

Lakukan

cp sdcc-src-2.9.0.tar.bz2 /usr/local/src
cd /usr/local/src
tar jxvf sdcc-src-2.9.0.tar.bz2
cd sdcc
./configure
make
make install

Download Source Code UHD

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

Compile UHD

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

Download GNURadio

cd /usr/local/src
wget -c http://gnuradio.org/releases/gnuradio/gnuradio-3.7.4.tar.gz

Compile GNURadio

cd /usr/local/src
tar -zxf gnuradio-3.7.4.tar.gz
cd gnuradio-3.7.4
mkdir build
cd build
cmake ../ -DENABLE_BAD_BOOST=ON
make
make test
make install
ldconfig
/usr/local/lib/uhd/utils/uhd_images_downloader.py

Image UHD ada di /usr/local/share/uhd/images

Rewrite Image UHD

Sesudah compile OpenBTS 2.8.0, lakukan

cd /usr/local/src/openbts-2.8.0/openbts/tags/rP2.8.0/TransceiverRAD1
cp ezusb.ihx /usr/local/share/uhd/images/usrp1_fw.ihx
cp fpga.rbf /usr/local/share/uhd/images/usrp1_fpga.rbf

Install UHD USRP ke udev

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

Pranala Menarik

Persiapan

Script

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

OpenBTS 3.1.x

Ettus E110

Ettus N210

RangeNetworks

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS