OpenBTS: E110 Install UHD Image

From OnnoWiki
Jump to navigation Jump to search

Download

Download dari

http://files.ettus.com/binaries/uhd_stable/
http://files.ettus.com/binaries/uhd_stable/releases/uhd_003.004.002-release/
http://files.ettus.com/binaries/uhd_stable/uhd_003.005.003-release/

Download file

*.tar.gz

WARNING: Pastikan men-download versi UHD Image yang sama dengan UHD yang kita compile

Instalasi

003.004.002-release

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
tar zxvf uhd-images_003.004.002-release.tar.gz 
mv ~/uhd-images_003.004.002-release/share/uhd/images/* /usr/local/share/uhd/images/

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/

003.004.003-205-g4896bf78

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
tar zxvf uhd-images_003.004.003-205-g4896bf78.tar.gz
mv ~/uhd-images_003.004.003-205-g4896bf78/share/uhd/images/* /usr/local/share/uhd/images/

003.004.005

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
wget http://files.ettus.com/binaries/uhd_stable/uhd_003.004.005-release/uhd-images_003.004.005-release.tar.gz
tar zxvf uhd-images_003.004.005-release.tar.gz
mv uhd-images_003.004.005-release/share/uhd/images/* /usr/local/share/uhd/images/

003.005.000

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
wget http://files.ettus.com/binaries/uhd_stable/uhd_003.005.000-release/uhd-images_003.005.000-release.tar.gz
tar zxvf uhd-images_003.005.000-release.tar.gz
mv uhd-images_003.005.000-release/share/uhd/images/* /usr/local/share/uhd/images/

003.005.003

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
wget http://files.ettus.com/binaries/uhd_stable/uhd_003.005.003-release/uhd-images_003.005.003-release.tar.gz
tar zxvf uhd-images_003.005.003-release.tar.gz
mv uhd-images_003.005.003-release/share/uhd/images/* /usr/local/share/uhd/images/

Install Image Terakhir

Cara yang yang tampaknya lebih baik adalah dengan download Image UHD

sudo rm -Rf /usr/share/uhd/images/*
sudo rm -Rf /usr/local/share/uhd/images/*
sudo /usr/local/lib/uhd/utils/uhd_images_downloader.py

Akan keluar

Downloading images from: http://files.ettus.com/binaries/master_images/archive/uhd-images_003.005.003-128-g504c2e1f.zip
 8.31 MB/8.31 MB (100.00%)
Images successfully installed to: /usr/local/share/uhd/images

Test

Setelah menginstalasi Image biasakan cek, karena belum tentu Image akan compatible. Cek menggunakan perintah

 /usr/local/bin/uhd_usrp_probe

Akan keluar

linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500; UHD_003.005.003-129-g95e6bfea

-- Loading FPGA image: /usr/local/share/uhd/images/usrp_e110_fpga.bin... done = 1
-- Configuration complete.
-- 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
-- 
-- Opening device node /dev/usrp_e0...

Error

Error Versi UHD Image

Jika keluar error berikut saat uhd_usrp_probe

-- Opening device node /dev/usrp_e0...
Error: RuntimeError: Expected module compatibility number 0x4, but got 0x3:
The module build is not compatible with the host code build.

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