Difference between revisions of "GNURadio: UHD"

From OnnoWiki
Jump to navigation Jump to search
(Undo revision 37840 by Onnowpurbo (Talk))
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Siapkan Aplikasi Pendukung==
 +
 +
apt-get install git python-cheetah python
 +
 +
==Download==
 +
 +
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 -DENABLE_USRP1=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.004.002-180-gb6bb13bc==
 +
 +
Download UHD image
 +
 +
cd ~
 +
wget http://files.ettus.com/binaries/master_images/archive/uhd-images_003.004.002-180-gb6bb13bc.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
 +
 +
==Test==
 +
 +
===Test clock 52MHz===
 +
 +
cd /usr/local/bin
 +
./uhd_usrp_probe --args="master_clock_rate=52e6"
 +
 +
Hasilnya kira-kira
 +
 +
linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.003-175-g09de3c07
 +
 +
-- Loading firmware image: /usr/local/share/uhd/images/usrp1_fw.ihx... done
 +
-- Opening a USRP1 device...
 +
-- Loading FPGA image: /usr/local/share/uhd/images/usrp1_fpga.rbf... done
 +
-- Using FPGA clock rate of 52.000255MHz...
 +
 +
UHD Warning:
 +
    Detected RX daughterboard Flex 900 Classic
 +
    This board requires modification to use.
 +
    See the daughterboard application notes.
 +
 +
  _____________________________________________________
 +
  /
 +
|      Device: USRP1 Device
 +
|    _____________________________________________________
 +
|    /
 +
|  |      Mboard: USRP1
 +
|  |  serial: 0R24X5U1
 +
|  |  mcr: 52000255
 +
|  | 
 +
|  |  Time sources: none
 +
|  |  Clock sources: internal
 +
|  |  Sensors:
 +
|  |    _____________________________________________________
 +
|  |    /
 +
|  |  |      RX DSP: 0
 +
|  |  |  Freq range: -26.000 to 26.000 Mhz
 +
|  |    _____________________________________________________
 +
|  |    /
 +
 +
===Test Benchmark===
 +
 +
cd /usr/local/src/uhd.git/host/build/examples
 +
./benchmark_rate --rx_rate 1000000 --tx_rate 1000000
 +
 +
Hasilnya kira-kira
 +
 +
linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.003-175-g09de3c07
 +
 +
*** Warning! ***
 +
Benchmark results will be inaccurate on USRP1 due to insufficient features.
 +
 +
Creating the usrp device with: ...
 +
-- Opening a USRP1 device...
 +
-- Using FPGA clock rate of 52.000255MHz...
 +
 +
Using Device: Single USRP:
 +
  Device: USRP1 Device
 +
  Mboard 0: USRP1
 +
  RX Channel: 0
 +
    RX DSP: 0
 +
    RX Dboard: B
 +
    RX Subdev: Unknown (0x0005) - 0
 +
  TX Channel: 0
 +
    TX DSP: 0
 +
    TX Dboard: B
 +
    TX Subdev: Unknown (0x0009) - 0
 +
 +
Testing receive rate 1.000005 Msps
 +
Testing transmit rate 1.000005 Msps
 +
 +
Benchmark rate summary:
 +
  Num received samples:    9998336
 +
  Num dropped samples:    0
 +
  Num overflows detected:  0
 +
  Num transmitted samples: 10054912
 +
  Num sequence errors:    0
 +
  Num underflows detected: 1
 +
 +
Done!
 +
 
==Referensi==
 
==Referensi==
  
Line 14: Line 144:
  
 
* [[OpenBTS]]
 
* [[OpenBTS]]
 +
* [[OpenBTS: Arsitektur secara umum]]
  
 
===Persiapan===
 
===Persiapan===
Line 23: Line 154:
 
* [[USRP: Instalasi Board]]
 
* [[USRP: Instalasi Board]]
 
* [[OpenBTS: GIT Source Code]]
 
* [[OpenBTS: GIT Source Code]]
 +
* [[USRP: Rangkaian Board USRP]]
 +
* [[OpenBTS: Tethr untuk Bencana Alam]]
 +
* [[USRP: Tip Pemesanan]]
  
 
===OpenBTS 2.6===
 
===OpenBTS 2.6===
Line 28: Line 162:
 
* [[GNURadio]]
 
* [[GNURadio]]
 
* [[GNURadio: Ubuntu Install]]
 
* [[GNURadio: Ubuntu Install]]
* [[GNURadio: Ubuntu Install GNURadio 3.4.2]] '''*RECOMMENDED*'''
+
* [[GNURadio: Menggunakan UHD]]
* [[GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz]] '''*RECOMMENDED*'''
+
* [[GNURadio: Ubuntu Install GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz]] '''RECOMMENDED'''
 
* [[GNURadio: Contoh Aplikasi]]
 
* [[GNURadio: Contoh Aplikasi]]
 
* [[GNURadio: Spectrum Analizer GSM]]
 
* [[GNURadio: Spectrum Analizer GSM]]
 
* [[GNURadio: Mengubah board RFX1800 menjadi RFX900]]
 
* [[GNURadio: Mengubah board RFX1800 menjadi RFX900]]
 
* [[GNURadio: Programming Untuk Pemula]]
 
* [[GNURadio: Programming Untuk Pemula]]
* [[OpenBTS: Ubuntu Install]]
+
* [[OpenBTS: Ubuntu Install]] '''RECOMMENDED'''
* [[OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz]]
+
* [[OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz]] '''RECOMMENDED'''
* [[OpenBTS: Konfigurasi]]
+
* [[OpenBTS: Konfigurasi]] '''RECOMMENDED'''
 
* [[OpenBTS: Kalibrasi]]
 
* [[OpenBTS: Kalibrasi]]
* [[OpenBTS: Konfigurasi Asterisk untuk OpenBTS]]
+
* [[OpenBTS: Konfigurasi Asterisk untuk OpenBTS]] '''RECOMMENDED'''
 
* [[OpenBTS: Menjalankan smqueue]]
 
* [[OpenBTS: Menjalankan smqueue]]
* [[OpenBTS: Mengoperasikan BTS]]
+
* [[OpenBTS: Mengoperasikan BTS]] '''RECOMMENDED'''
 
* [[OpenBTS: Tampilan di Nokia saat pakai OpenBTS]]
 
* [[OpenBTS: Tampilan di Nokia saat pakai OpenBTS]]
 
* [[OpenBTS: Operasi 1800 MHz]]
 
* [[OpenBTS: Operasi 1800 MHz]]
Line 53: Line 188:
 
* [[GNURadio: Ubuntu 11.10 Install]] ''NOT RECOMMENED''
 
* [[GNURadio: Ubuntu 11.10 Install]] ''NOT RECOMMENED''
 
* [[GNURadio: Ubuntu 11.10 instalasi menggunakan Repo]] ''NOT RECOMMENDED''
 
* [[GNURadio: Ubuntu 11.10 instalasi menggunakan Repo]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Download GNURadio]]
 +
* [[GNURadio: Install UHD]]
 
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0]]
 
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]]
+
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] '''RECOMMENDED'''
+
* [[GNURadio: Ubuntu 12.04 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.0]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.3.2]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.6.0]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] ''NOT RECOMMENDED''
 
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
 
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
* [[GNURadio: UHD]]
+
* [[GNURadio: UHD]] ''NOT RECOMMENDED''
 +
* [[GNURadio: UHD Image]] ''NOT RECOMMENDED''
 +
* [[GNURadio: UHD burn EEPROM RFX Board di USRP1]] ''NOT RECOMMENDED''
 
* [[GNURadio: UHD Identifikasi Device]]
 
* [[GNURadio: UHD Identifikasi Device]]
 
* [[OpenBTS: Ubuntu 11.10 Install]]
 
* [[OpenBTS: Ubuntu 11.10 Install]]
* [[OpenBTS: 2.8 dari SVN Install]] '''RECOMMENDED'''
+
* [[OpenBTS: dari GIT ttsou]]
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]]
+
* [[OpenBTS: 2.8 dari SVN Install]]
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz dengan UHD tanpa GNURadio]] ''NOT RECOMMENDED''
 +
* [[OpenBTS: 2.8 Edit User di sqlite3.db]] '''RECOMMEND'''
 +
* [[OpenBTS: Yate Softswitch]] '''RECOMMENDED'''
 +
* [[OpenBTS: Yate Config Test]]
 +
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 Menjalankan]] '''RECOMMENDED'''
 
* [[OpenBTS: 2.8 Konfigurasi]]
 
* [[OpenBTS: 2.8 Konfigurasi]]
 +
* [[OpenBTS: 2.8 Konfigurasi Subscriber Registery]]
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Database SQLite]]
 +
 +
===Multi OpenBTS 2.8===
 +
 +
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 +
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
  
 
===Ettus E110===
 
===Ettus E110===
  
 
* [[OpenBTS: E110 Cara Login]]
 
* [[OpenBTS: E110 Cara Login]]
* [[OpenBTS: E110 Install Image di MicroSD]]
+
* [[OpenBTS: E110 Install Image di MicroSD]] '''*RECOMMENDED*'''
 
* [[OpenBTS: E110 Cek Daughter Board]]
 
* [[OpenBTS: E110 Cek Daughter Board]]
 
* [[OpenBTS: E110 Mengubah Master Clock]]
 
* [[OpenBTS: E110 Mengubah Master Clock]]
Line 74: Line 230:
 
* [[OpenBTS: E110 Bekerja dengan opkg]]
 
* [[OpenBTS: E110 Bekerja dengan opkg]]
 
* [[OpenBTS: E110 GNURadio]]
 
* [[OpenBTS: E110 GNURadio]]
* [[OpenBTS: E110 Install UHD Image]]
+
* [[OpenBTS: E110 Compile UHD]] '''*RECOMMENDED*'''
 +
* [[OpenBTS: E110 UHD burn EEPROM RFX Board]] '''*RECOMMENDED*'''
 +
* [[OpenBTS: E110 Install UHD Image]] '''*RECOMMENDED*'''
 
* [[OpenBTS: E110 Instalasi OpenBTS]]
 
* [[OpenBTS: E110 Instalasi OpenBTS]]
* [[OpenBTS: E110 Instalasi OpenBTS 2.6]] '''*NOT RECOMMENDED*'''
+
* [[OpenBTS: E110 Instalasi OpenBTS 2.6]] ''NOT RECOMMENDED''
 +
* [[OpenBTS: E110 Instalasi OpenBTS 2.8 untuk MultiBTS]] '''*RECOMMENDED*'''
 +
 
 +
===GPRS===
 +
 
 +
* [[OpenBTS: GPRS]]
 +
 
 +
===Power Amplifier===
 +
 
 +
* [[Driver 900MHz]]
 +
* [[Power Amplifier 900MHz]]
 +
* [[Duplexer]]
  
 
===Lain Lain===
 
===Lain Lain===
Line 98: Line 267:
 
* [[Siapa Bilang OpenBTS Ilegal?]]
 
* [[Siapa Bilang OpenBTS Ilegal?]]
 
* [[OpenBTS: Catatan MNC dan MCC Indonesia]]
 
* [[OpenBTS: Catatan MNC dan MCC Indonesia]]
 +
* [[OpenBTS: Catatan MNC dan MCC COOL]]
 
* [[OpenBTS : Alokasi Frekuensi Operator GSM Indonesia]]
 
* [[OpenBTS : Alokasi Frekuensi Operator GSM Indonesia]]
 +
* [[GSM: Daftar Channel Frekuensi]]
  
 
===Catatan Sejarah===
 
===Catatan Sejarah===
Line 105: Line 276:
 
* [[OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan]]
 
* [[OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan]]
 
* [[OpenBTS: Daftar Artikel di Media]]
 
* [[OpenBTS: Daftar Artikel di Media]]
 +
 +
===Dokumentasi Video===
 +
 +
* http://youtu.be/8ogOcUSpINU (1/6)
 +
* http://youtu.be/F5d7HGuhppk (2/6)
 +
* http://youtu.be/90Jgq6bOgrQ (3/6)
 +
* http://youtu.be/cNkx_qNqdfc (4/6)
 +
* http://youtu.be/6LCuoeI57ak (5/6)
 +
* http://youtu.be/-dEqcHoIlYk (6/6)
  
 
[[Category: Wireless]]
 
[[Category: Wireless]]
 
[[Category: Selular]]
 
[[Category: Selular]]

Latest revision as of 07:27, 21 July 2013

Siapkan Aplikasi Pendukung

apt-get install git python-cheetah python

Download

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 -DENABLE_USRP1=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.004.002-180-gb6bb13bc

Download UHD image

cd ~
wget http://files.ettus.com/binaries/master_images/archive/uhd-images_003.004.002-180-gb6bb13bc.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

Test

Test clock 52MHz

cd /usr/local/bin
./uhd_usrp_probe --args="master_clock_rate=52e6"

Hasilnya kira-kira

linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.003-175-g09de3c07

-- Loading firmware image: /usr/local/share/uhd/images/usrp1_fw.ihx... done
-- Opening a USRP1 device...
-- Loading FPGA image: /usr/local/share/uhd/images/usrp1_fpga.rbf... done
-- Using FPGA clock rate of 52.000255MHz...

UHD Warning:
    Detected RX daughterboard Flex 900 Classic
    This board requires modification to use.
    See the daughterboard application notes.
  _____________________________________________________
 /
|       Device: USRP1 Device
|     _____________________________________________________
|    /
|   |       Mboard: USRP1
|   |   serial: 0R24X5U1
|   |   mcr: 52000255
|   |   
|   |   Time sources: none
|   |   Clock sources: internal
|   |   Sensors: 
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |   Freq range: -26.000 to 26.000 Mhz
|   |     _____________________________________________________
|   |    /

Test Benchmark

cd /usr/local/src/uhd.git/host/build/examples
./benchmark_rate --rx_rate 1000000 --tx_rate 1000000

Hasilnya kira-kira

linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.003-175-g09de3c07

*** Warning! ***
Benchmark results will be inaccurate on USRP1 due to insufficient features.

Creating the usrp device with: ...
-- Opening a USRP1 device...
-- Using FPGA clock rate of 52.000255MHz...

Using Device: Single USRP:
  Device: USRP1 Device
  Mboard 0: USRP1
  RX Channel: 0
    RX DSP: 0
    RX Dboard: B
    RX Subdev: Unknown (0x0005) - 0
  TX Channel: 0
    TX DSP: 0
    TX Dboard: B
    TX Subdev: Unknown (0x0009) - 0 

Testing receive rate 1.000005 Msps
Testing transmit rate 1.000005 Msps

Benchmark rate summary:
  Num received samples:    9998336
  Num dropped samples:     0
  Num overflows detected:  0
  Num transmitted samples: 10054912
  Num sequence errors:     0
  Num underflows detected: 1 
Done!

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

GPRS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video