« Previous - Version 6/101 (diff) - Next » - Current version
Thomas Tsou, 05/26/2011 08:47 pm


OpenBTS: USRP E100

There are multiple ways to setup an OpenBTS environment on the E100. OpenBTS has a small number of dependent packages, which can be built from source on the device, cross-compiled with OpenEmbedded, or supplied on a pre-built file system image.

Using a pre-built image with all dependencies and compiling only OpenBTS natively is strongly recommended for the majority of users and developers not interested in setting up a cross-compile environment.

General Information

Prebuilt Images

  • Root file system
    (to be posted)

Download

The source code for all UHD devices is identical. No code changes are necessary.

git clone git://github.com/ttsou/openbts-uhd.git
or
git clone http://github.com/ttsou/openbts-uhd.git

A generated tarball is also available for download.

Build

./bootstrap
./configure --with-uhd 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" 
make

Configure

cp OpenBTS.config.example OpenBTS.config

Set the desired band and frequency.

# Valid band values are 850, 900, 1800, 1900.
GSM.Band 900

# Valid ARFCN range depends on the band.
GSM.ARFCN 51

Select the 52 MHz transceiver.

# Path to transceiver binary
#TRX.Path ../Transceiver/transceiver
TRX.Path ../Transceiver52M/transceiver

Set the transmit power attenuation range.

# Maximum attenuation (sets MINIMUM power level).
GSM.PowerManager.MaxAttenDB 30
# Minimum attenuation (sets MAXIMUM power level).
GSM.PowerManager.MinAttenDB  7

Run

Start Asterisk server

asterisk

Start OpenBTS
./OpenBTS

Wait for the handset to associate

Dial "600" on a handset to connect to the echo server

Notes

  • Additional notes go here
  • Currently tested with calls up to 12 hours in duration in a lightly loaded scenario