Difference between revisions of "OpenBTS: E110 Kalibrasi Clock"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  tar zxvf fftw-3.3.2.tar.gz
 
  tar zxvf fftw-3.3.2.tar.gz
 
  cd ~/src/fftw-3.3.2
 
  cd ~/src/fftw-3.3.2
  ./configure
+
  ./configure --enable-float --enable-sse --enable-3dnow --enable-shared --disable-static
 
  make clean
 
  make clean
 
  make
 
  make
Line 36: Line 36:
 
  opkg update
 
  opkg update
 
  opkg install libfftw3
 
  opkg install libfftw3
 
 
  
 
==Compile==
 
==Compile==

Revision as of 09:01, 14 August 2012

Download ttsou Kal

Download dari mesin lain & scp ke E110

https://github.com/ttsou/kalibrate-uhd/zipball/master
cd ~/Downloads
scp ttsou-kalibrate-uhd-8200e28.zip root@192.168.0.148:

Atau via git (kadang gagal sih ini)

cd ~/src
git clone git://github.com/ttsou/kalibrate-uhd.git kalibrate-uhd

Compile FFTW3

Download dari

http://www.fftw.org/download.html

Lakukan

mv fftw-3.3.2.tar.gz ~/src
cd ~/src
tar zxvf fftw-3.3.2.tar.gz
cd ~/src/fftw-3.3.2
./configure --enable-float --enable-sse --enable-3dnow --enable-shared --disable-static
make clean
make
make all
make check
make instal

Alternatif Lain

Install dari repo

opkg update
opkg install libfftw3

Compile

Jika di download via web

opkg remove --force-depends fftwf fftwf-dev task-sdk-gnuradio-native
opkg install fftwf fftwf-dev task-sdk-gnuradio-native
cd ~
mv ttsou-kalibrate-uhd-8200e28.zip src/
cd src
unzip ttsou-kalibrate-uhd-8200e28.zip 
cd ~/src/ttsou-kalibrate-uhd-8200e28
./bootstrap && CXXFLAGS='-W -Wall -O3' ./configure && make


Jika di download via git

opkg remove --force-depends fftwf fftwf-dev task-sdk-gnuradio-native
opkg install fftwf fftwf-dev task-sdk-gnuradio-native
cd ~/src/kalibrate-uhd
./bootstrap && CXXFLAGS='-W -Wall -O3 -fPIC' ./configure && make


Error fftw3

Saat ./configure keluar error

checking for FFTW3... configure: error: Package requirements (fftw3 >= 3.0) were not met:

No package 'fftw3' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FFTW3_CFLAGS
and FFTW3_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


SOLUSI: Mungkin dengan -fPIC dalam CFLAGS jadi

cd ~/src/kalibrate-uhd
./bootstrap && CXXFLAGS='-W -Wall -O3 -fPIC' ./configure && make

Melakukan Kalibrasi

Gunakan Kalibrate atau Kalibrate-UHD untuk mengukur offset frekuensi,

[root@openBTS kal-0.2]# ./kal -f 946600000 -u
USRP side: B
FPGA clock: 52000000
Decimation: 192
Antenna: RX2
Sample rate: 270833.343750
average [min, max] (range, stddev)
501.351685 [461, 546] (85, 19.314581)
overruns: 0
not found: 0

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video