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
5
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
7
<pre>
8
### Build LimeSuite
9
git clone https://github.com/myriadrf/LimeSuite.git
10
cd LimeSuite
11
mkdir builddir && cd builddir
12
cmake ../
13
make -j5
14
sudo make install
15
sudo ldconfig
16
cd ../
17
sudo sh LimeSuite/udev-rules/install.sh 
18
cd ../
19
20
### Build libosmocore
21
git clone git://git.osmocom.org/libosmocore
22
cd libsomocore
23
autoreconf -fi
24
./configure --without-uhd --with-lms
25
make -j5
26
sudo make install
27
sudo ldconfig
28
cd ../
29
30
### Build osmo-trx-lms
31
git clone git://git.osmocom.org/osmo-trx
32
cd osmo-trx
33
autoreconf -fi
34
./configure
35
make -j5
36
sudo make install
37
sudo ldconfig
38
cd ../
39
</pre>
40
41
run on terminal: (if rt-prio is set in .cfg file, running as root may be required).
42
43
<pre>
44
osmo-trx-lms -C osmo-trx.git/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
45
</pre>
46
47
h2. Old osmo-trx-uhd for LimeSuite
48
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)