Difference between revisions of "OpenBTS: E110 GNURadio"

From OnnoWiki
Jump to navigation Jump to search
Line 9: Line 9:
 
Jika ada hasilnya maka [[GNURadio]] sudah terinstalasi.
 
Jika ada hasilnya maka [[GNURadio]] sudah terinstalasi.
 
Jika tidak ada, maka [[GNURadio]] belum terinstalasi.
 
Jika tidak ada, maka [[GNURadio]] belum terinstalasi.
 +
 +
==Compile GNURadio==
 +
 +
opkg remove --force-depends gnuradio gnuradio-dev gnuradio-examples task-gnuradio
 +
git clone http://gnuradio.org/git/gnuradio.git gnuradio.git
 +
cd gnuradio.git
 +
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 -DCMAKE_BUILD_TYPE=release  ../
 +
make
 +
make install
 +
ldconfig
 +
  
 
==Cek GNURadio==
 
==Cek GNURadio==

Revision as of 10:30, 4 March 2012

Tergantung versi SD Card yang kita miliki, kadang kala GNURadio sudah terinstalasi.

Cek menggunakan perintah

updatedb &
locate gr-
locate gnuradio

Jika ada hasilnya maka GNURadio sudah terinstalasi. Jika tidak ada, maka GNURadio belum terinstalasi.

Compile GNURadio

opkg remove --force-depends gnuradio gnuradio-dev gnuradio-examples task-gnuradio
git clone http://gnuradio.org/git/gnuradio.git gnuradio.git
cd gnuradio.git
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 -DCMAKE_BUILD_TYPE=release  ../
make
make install
ldconfig


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
Wed, 07 Dec 2011 21:58:55

cek prefix

gnuradio-config-info --prefix
/usr


Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah