Project

General

Profile

LimeSDR Build From Source » History » Version 4

pespin, 08/17/2018 02:48 PM

1 3 laforge
h1. Building OsmoTRX for LimeSDR from source
2 1 laforge
3 4 pespin
h2. Build osmo-trx-lms
4 4 pespin
5 4 pespin
Building OsmoTRX or its dependencies from source is not required unless you want to build a specific version or test some modifications. If that's not your case and your distro is supported, please use [[cellular-infrastructure:MacroBinaryPackages]].
6 4 pespin
7 4 pespin
<pre>
8 4 pespin
### Build LimeSuite
9 4 pespin
git clone https://github.com/myriadrf/LimeSuite.git
10 4 pespin
cd LimeSuite
11 4 pespin
mkdir builddir && cd builddir
12 4 pespin
cmake ../
13 4 pespin
make -j5
14 4 pespin
sudo make install
15 4 pespin
sudo ldconfig
16 4 pespin
cd ../
17 4 pespin
sudo sh LimeSuite/udev-rules/install.sh 
18 4 pespin
cd ../
19 4 pespin
20 4 pespin
### Build libosmocore
21 4 pespin
git clone git://git.osmocom.org/libosmocore
22 4 pespin
cd libsomocore
23 4 pespin
autoreconf -fi
24 4 pespin
./configure --without-uhd --with-lms
25 4 pespin
make -j5
26 4 pespin
sudo make install
27 4 pespin
sudo ldconfig
28 4 pespin
cd ../
29 4 pespin
30 4 pespin
### Build osmo-trx-lms
31 4 pespin
git clone git://git.osmocom.org/osmo-trx
32 4 pespin
cd osmo-trx
33 4 pespin
autoreconf -fi
34 4 pespin
./configure
35 4 pespin
make -j5
36 4 pespin
sudo make install
37 4 pespin
sudo ldconfig
38 4 pespin
cd ../
39 4 pespin
</pre>
40 4 pespin
41 4 pespin
run on terminal: (if rt-prio is set in .cfg file, running as root may be required).
42 4 pespin
43 4 pespin
<pre>
44 4 pespin
osmo-trx-lms -C osmo-trx.git/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
45 4 pespin
</pre>
46 4 pespin
47 4 pespin
h2. Old osmo-trx-uhd for LimeSuite
48 4 pespin
49 3 laforge
This page used to contain instructions on how to build osmo-trx[-uhd] with uhd, soapy-uhd, soapysdr and LimeSuite on an Ubuntu 16.04.
50 1 laforge
51 3 laforge
Since meanwhile, @osmo-trx-lms@ has been introduced, there is no longer any need for this complex chain of dependency.  With @osmo-trx-lms@, @osmo-trx@ can directly use LimeSuite without any intermediaries such as UHD, SoapyUHD, SoapySDR or the like.  If you're interested in the previous instructions for the older versions, please look at the History of this wiki page using the "History" tab above.
52 1 laforge
53 3 laforge
Also note:
54 1 laforge
55 3 laforge
{{include(cellular-infrastructure:MacroBinaryPackages)}}
Add picture from clipboard (Maximum size: 48.8 MB)