Difference between revisions of "OpenBTS: E110 GNURadio"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (→Test) |
Onnowpurbo (talk | contribs) (→Test) |
||
Line 99: | Line 99: | ||
===Test=== | ===Test=== | ||
− | Test | + | Test clock 52MHz |
+ | |||
+ | cd /usr/local/bin | ||
+ | ./uhd_usrp_probe --args="master_clock_rate=52e6" | ||
+ | |||
+ | Hasilnya | ||
+ | |||
+ | linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500; UHD_003.004.003-175-g09de3c07 | ||
+ | |||
+ | -- Opening device node /dev/usrp_e0... | ||
+ | -- Initializing FPGA clock to 52.000000MHz... | ||
+ | -- USRP-E100 clock control: 12 | ||
+ | -- r_counter: 2 | ||
+ | -- a_counter: 4 | ||
+ | -- b_counter: 19 | ||
+ | -- prescaler: 8 | ||
+ | -- vco_divider: 2 | ||
+ | -- chan_divider: 15 | ||
+ | -- vco_rate: 1560.000000MHz | ||
+ | -- chan_rate: 780.000000MHz | ||
+ | -- out_rate: 52.000000MHz | ||
+ | -- | ||
+ | .. dst | ||
+ | |||
+ | Test Benchmark | ||
cd ~/src/uhd.git/host/build/examples | cd ~/src/uhd.git/host/build/examples | ||
− | ./benchmark_rate --rx_rate | + | ./benchmark_rate --rx_rate 1000000 --tx_rate 1000000 |
Hasilnya kira-kira | Hasilnya kira-kira | ||
Line 133: | Line 157: | ||
TX DSP: 0 | TX DSP: 0 | ||
TX Dboard: A | TX Dboard: A | ||
− | TX Subdev: RFX1800 TX | + | TX Subdev: RFX1800 TX |
− | Testing receive rate | + | Testing receive rate 1.000000 Msps |
+ | Testing transmit rate 1.000000 Msps | ||
Benchmark rate summary: | Benchmark rate summary: | ||
− | Num received samples: | + | Num received samples: 9996012 |
Num dropped samples: 0 | Num dropped samples: 0 | ||
Num overflows detected: 0 | Num overflows detected: 0 | ||
− | Num transmitted samples: | + | Num transmitted samples: 10254075 |
Num sequence errors: 0 | Num sequence errors: 0 | ||
Num underflows detected: 0 | Num underflows detected: 0 |
Revision as of 07:51, 12 August 2012
Tergantung versi SD Card yang kita miliki, kadang kala GNURadio sudah terinstalasi.
Cek GNURadio
Menggunakan gnuradio-config-info
gnuradio-config-info
Program options: gnuradio [options]: -h [ --help ] print help message --prefix print gnuradio installation prefix --sysconfdir print gnuradio system configuration directory --prefsdir print gnuradio preferences directory --builddate print gnuradio build date (RFC2822 format) -v [ --version ] print gnuradio version
cek sysconf directory
gnuradio-config-info --sysconfdir
/usr/etc
cek kapan dibuat
gnuradio-config-info --builddate
hasilnya
Wed, 07 Dec 2011 21:58:55
cek prefix
gnuradio-config-info --prefix
hasilnya
/usr
Alternatif Cara Cek
Cek menggunakan perintah
updatedb & locate gr- locate gnuradio locate usrp locate uhd
Jika ada hasilnya maka GNURadio sudah terinstalasi. Jika tidak ada, maka GNURadio belum terinstalasi.
Compile UHD
Download
opkg remove --force-depends uhd uhd-dev uhd-examples uhd-tests echo "/usr/local/lib" >> /etc/ld.so.conf cd ~/src git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git
Compile
cd ~/src/uhd.git/host/ mkdir build cd ~/src/uhd.git/host/build cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/arm_cortex_a8_native.cmake -DENABLE_E100=ON -DENABLE_USRP_E_UTILS=TRUE -DENABLE_USRP2=OFF -DENABLE_USRP1=OFF -DENABLE_B100=OFF ../ make make test make install ldconfig
atau
cd ~/src/uhd.git/host/ mkdir build cd ~/src/uhd.git/host/build cmake -DCMAKE_CXX_FLAGS:STRING="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -g" -DENABLE_USRP_E100=TRUE -DENABLE_E100=ON -DENABLE_USRP_E_UTILS=TRUE -DENABLE_USB=OFF -DENABLE_USRP2=OFF ../ make make test make install ldconfig
Install Image 003.004.002-180-gb6bb13bc
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 mv ~/uhd-images_003.004.002-180-gb6bb13bc/share/uhd/images/* /usr/local/share/uhd/images/
Hack sedikit
cp /usr/local/bin/uhd_* /usr/bin/ cp ~/src/uhd.git/host/build/lib/libuhd.so* /usr/lib cp -Rf /usr/share/uhd/images/ /usr/local/share/uhd/
Test
Test clock 52MHz
cd /usr/local/bin ./uhd_usrp_probe --args="master_clock_rate=52e6"
Hasilnya
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500; UHD_003.004.003-175-g09de3c07 -- Opening device node /dev/usrp_e0... -- Initializing FPGA clock to 52.000000MHz... -- USRP-E100 clock control: 12 -- r_counter: 2 -- a_counter: 4 -- b_counter: 19 -- prescaler: 8 -- vco_divider: 2 -- chan_divider: 15 -- vco_rate: 1560.000000MHz -- chan_rate: 780.000000MHz -- out_rate: 52.000000MHz -- .. dst
Test Benchmark
cd ~/src/uhd.git/host/build/examples ./benchmark_rate --rx_rate 1000000 --tx_rate 1000000
Hasilnya kira-kira
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500; UHD_003.004.003-175-g09de3c07 Creating the usrp device with: ... -- Opening device node /dev/usrp_e0... -- Initializing FPGA clock to 64.000000MHz... -- USRP-E100 clock control: 10 -- r_counter: 2 -- a_counter: 0 -- b_counter: 20 -- prescaler: 8 -- vco_divider: 5 -- chan_divider: 5 -- vco_rate: 1600.000000MHz -- chan_rate: 320.000000MHz -- out_rate: 64.000000MHz -- -- Performing wishbone readback test... pass Using Device: Single USRP: Device: E-Series Device Mboard 0: E110 RX Channel: 0 RX DSP: 0 RX Dboard: A RX Subdev: RFX1800 RX TX Channel: 0 TX DSP: 0 TX Dboard: A TX Subdev: RFX1800 TX Testing receive rate 1.000000 Msps Testing transmit rate 1.000000 Msps Benchmark rate summary: Num received samples: 9996012 Num dropped samples: 0 Num overflows detected: 0 Num transmitted samples: 10254075 Num sequence errors: 0 Num underflows detected: 0 Done!
Compile GNURadio
Cara ini tampaknya aman
opkg remove --force-depends gnuradio gnuradio-dev gnuradio-examples task-gnuradio cd ~/src git clone git://gnuradio.org/git/gnuradio.git gnuradio.git cd ~/src/gnuradio.git mkdir build cd ~/src/gnuradio.git/build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/arm_cortex_a8_native.cmake -DQT_QTCORE_INCLUDE_DIR=/usr/include/qt4/QtCore -DQT_QTGUI_INCLUDE_DIR=/usr/include/qt4/QtGui -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DENABLE_GR_QTGUI=ON -DQT_LIBRARY_DIR=/usr/lib -DQT_INCLUDE_DIR=/usr/include/qt4/ -DQT_MOC_EXECUTABLE=/usr/bin/moc -DQT_UIC_EXECUTABLE=/usr/bin/uic -DQT_RCC_EXECUTABLE=/usr/bin/rcc -DCMAKE_BUILD_TYPE=release ../ make make install ldconfig
ALTERNATIF LAIN
buat script
clean-build-gnuradio
Berisi
#!/bin/sh cd ~/src/gnuradio.git && rm -rf build && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/arm_cortex_a8_native.cmake -DQT_QTCORE_INCLUDE_DIR=/usr/include/qt4/QtCore -DQT_QTGUI_INCLUDE_DIR=/usr/include/qt4/QtGui -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DENABLE_GR_QTGUI=ON -DQT_LIBRARY_DIR=/usr/lib -DQT_INCLUDE_DIR=/usr/include/qt4/ -DQT_MOC_EXECUTABLE=/usr/bin/moc -DQT_UIC_EXECUTABLE=/usr/bin/uic -DQT_RCC_EXECUTABLE=/usr/bin/rcc -DQT_QTCORE_LIBRARY=/usr/lib/libQtCore.so -DCMAKE_BUILD_TYPE=release ../ && make && make test && make install
ALTERNATIF LAIN LAGI
WARNING: Cara ini tidak bisa. Entah kenapa ./bootstrap & ./configure tidak ada.
cd ~/src git clone git://gnuradio.org/gnuradio.git gnuradio.git cd ~/src/gnuradio.git ./bootstrap ./configure --enable-uhd --disable-volk --disable-usrp2 --disable-usrp1 --disable-gr-video-sdl CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3" -with-qwt-incdir=/usr/include --enable-gr-wxgui make make check make install ldconfig
Referensi
- http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2011-September/002254.html
- http://www.ruby-forum.com/topic/2821191
Pranala Menarik
Persiapan
- USRP: High Precision Clock
- USRP: Menyambungkan ClockTamer ke USRP1
- USRP: Kalibrasi ClockTamer
- USRP: ClockTamer Control Protocol
- USRP: Instalasi Board
- OpenBTS: GIT Source Code
- USRP: Rangkaian Board USRP
- OpenBTS: Tethr untuk Bencana Alam
OpenBTS 2.6
- GNURadio
- GNURadio: Ubuntu Install
- GNURadio: Menggunakan UHD
- GNURadio: Ubuntu Install GNURadio 3.4.2 RECOMMENDED
- GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz RECOMMENDED
- GNURadio: Contoh Aplikasi
- GNURadio: Spectrum Analizer GSM
- GNURadio: Mengubah board RFX1800 menjadi RFX900
- GNURadio: Programming Untuk Pemula
- OpenBTS: Ubuntu Install RECOMMENDED
- OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz RECOMMENDED
- OpenBTS: Konfigurasi RECOMMENDED
- OpenBTS: Kalibrasi
- OpenBTS: Konfigurasi Asterisk untuk OpenBTS RECOMMENDED
- OpenBTS: Menjalankan smqueue
- OpenBTS: Mengoperasikan BTS RECOMMENDED
- OpenBTS: Tampilan di Nokia saat pakai OpenBTS
- OpenBTS: Operasi 1800 MHz
- OpenBTS: Beberapa Tips
- OpenBTS: USRP2
- OpenBTS: Amplifier
- OpenBTS: SMS
- AirProbe
OpenBTS 2.8
- GNURadio: Ubuntu 11.10 Install NOT RECOMMENED
- 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.4.2 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: UHD
- GNURadio: UHD Image
- GNURadio: UHD Identifikasi Device
- OpenBTS: Ubuntu 11.10 Install
- OpenBTS: dari GIT ttsou
- OpenBTS: 2.8 dari SVN Install
- OpenBTS: 2.8 dari SVN Install Clock 52MHz RECOMMENDED
- OpenBTS: 2.8 Edit User di sqlite3.db RECOMMEND
- OpenBTS: Yate Softswitch
- 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 Subscriber Registery
- OpenBTS: Database SQLite
Multi OpenBTS 2.8
Ettus E110
- OpenBTS: E110 Cara Login
- OpenBTS: E110 Install Image di MicroSD *RECOMMENDED*
- OpenBTS: E110 Cek Daughter Board
- OpenBTS: E110 Mengubah Master Clock
- OpenBTS: E110 Kalibrasi Clock
- OpenBTS: E110 Bekerja dengan opkg
- OpenBTS: E110 GNURadio *RECOMMENDED*
- OpenBTS: E110 Install UHD Image *RECOMMENDED*
- OpenBTS: E110 Instalasi OpenBTS
- OpenBTS: E110 Instalasi OpenBTS 2.6 NOT RECOMMENDED
- OpenBTS: E110 Instalasi OpenBTS 2.8 untuk MultiBTS *RECOMMENDED*
Power Amplifier
Lain Lain
- OpenBTS: Materi Magang di ICTWATCH
- OpenBTS: Seminar Outline
- OpenBTS: Workshop Outline
- Membuat Base Station GSM Open Source
- Teknologi Selular
- GSM: Daftar Channel Frekuensi
- Wireless Internet
- OpenBSC
- AirProbe
- Base station subsystem
- GSM
- Asterisk
- Mobile phone
Catatan Legal dan Pendukung
- Siapa Bilang OpenBTS Ilegal?
- OpenBTS: Catatan MNC dan MCC Indonesia
- OpenBTS: Catatan MNC dan MCC COOL
- OpenBTS : Alokasi Frekuensi Operator GSM Indonesia
- GSM: Daftar Channel Frekuensi
Catatan Sejarah
- 2011/04/30 - Workshop OpenBTS Pertama di Indonesia dilakukan di Univ Gajah Putih Takengon Aceh Tengah
- OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan
- 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)