Osmocom GSM: Difference between revisions

Democratising Wireless Innovation
Jump to navigation Jump to search
(Created page with "This page details how to build an Osmocom GSM Network-in-the-Box (NITB) configuration that supports LimeSDR. == Dependencies == === Packaged === Packaged dependencies...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page details how to build an Osmocom GSM Network-in-the-Box (NITB) configuration that supports [[LimeSDR]].  
Notes on running the Osmocom GSM stack with  [[LimeSDR]] hardware.


== Dependencies ==
== Hardware support ==


=== Packaged ===
For details of Osmocom support for LimeSDR and dependencies such as [[Lime Suite]] and SoapyUHD that must be installed, see:


Packaged dependencies can be installed with:
* http://osmocom.org/projects/osmotrx/wiki/LimeSDR


<syntaxhighlight lang="bash">
$ sudo apt-add-repository ppa:george-edison55/cmake-3.x
$ sudo apt-add-repository ppa:myriadrf/drivers</syntaxhighlight>


$ sudo apt-get update
For information on the OsmoTRX GSM transceiver:


$ sudo apt-get install build-essential git cmake python-mako libsqlite3-dev libboost-all-dev libmnl-dev libssl-dev libpcap-dev libi2c-dev libusb-1.0-0-dev libsoapysdr-dev autoconf libtool libpcsclite-dev libortp-dev libdbi-dev libdbd-sqlite3
* http://osmocom.org/projects/osmotrx/wiki/OsmoTRX


=== Lime Suite ===
== Network-on-the-box (NITB) ==


At the present time Lime Suite should be built from source, instead of using packages. See the [[Lime Suite|wiki page]] for details.
For details of how to configure the OpenBSC software to run in network-in-the-box mode, see:


=== UHD ===
* https://osmocom.org/projects/osmonitb/wiki/OsmoNITB OsmoNITB


At the present time UHD should be built from source, instead of using packages.
== Running the transceiver ==


$ git clone https://github.com/EttusResearch/uhd
Update 2/21/2018
$ cd uhd/host
The  osmo-trx project page for LimeSDR  [https://osmocom.org/projects/osmotrx/wiki/LimeSDR_Family] now recommends :
$ git checkout maint
# osmo-trx -s 4 -b 4
$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo make install
$ sudo ldconfig
 
=== SoapyUHD ===
 
$ git clone https://github.com/pothosware/SoapyUHD
$ cd SoapyUHD
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
$ sudo ldconfig
 
== Osmocom software ==
 
=== OpenBSC, OsmoBTS and dependencies ===
 
''Tested commit (66af97ce0760c0c015b2bc5c8c3290345571b122)''.
 
$ git clone https://github.com/fairwaves/osmo-combo
$ cd osmo-combo
$ git submodule init
$ git submodule update
$ ./apply_patches.sh static-build
$ sudo make
 
=== OsmoTRX ===
 
''Tested commit (d22657a26d22d265cfeb57636a2fbe9c3e9c0f16)''.
 
$ git clone https://github.com/myriadrf/osmo-trx
$ cd osmo-trx
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
 
== Configuration ==
 
 
== Running ==


Although the -e (edge) option for LimeSDR still appears to work:
# osmo-trx -e -a 'driver=lime,device=0'


{{Community}}
{{Community}}

Latest revision as of 00:13, 22 February 2018

Notes on running the Osmocom GSM stack with LimeSDR hardware.

Hardware support

For details of Osmocom support for LimeSDR and dependencies such as Lime Suite and SoapyUHD that must be installed, see:


For information on the OsmoTRX GSM transceiver:

Network-on-the-box (NITB)

For details of how to configure the OpenBSC software to run in network-in-the-box mode, see:

Running the transceiver

Update 2/21/2018 The osmo-trx project page for LimeSDR [1] now recommends :

# osmo-trx -s 4 -b 4

Although the -e (edge) option for LimeSDR still appears to work:

# osmo-trx -e -a 'driver=lime,device=0'