Installation » History » Version 4
fixeria, 09/06/2018 01:48 PM
1 | 1 | ptrkrysik | h1. Software installation |
---|---|---|---|
2 | |||
3 | The signal processing part is based on [[gr-gsm:]] project, which is represented by a set of "GNU Radio":https://www.gnuradio.org/ blocks for GSM. So, first of all you need to install "GNU Radio":https://www.gnuradio.org/ with compiled-in "UHD driver":http://files.ettus.com/manual/ support. |
||
4 | |||
5 | h2. 1. "UHD driver":http://files.ettus.com/manual/ |
||
6 | |||
7 | Follow the "Installing and/or Building UHD" section of official project documentation. After the installation, make sure that your device is recognized properly: |
||
8 | |||
9 | <pre> |
||
10 | $ uhd_find_devices |
||
11 | $ uhd_usrp_probe |
||
12 | </pre> |
||
13 | |||
14 | h2. 2. "GNU Radio":https://www.gnuradio.org/ |
||
15 | |||
16 | 4 | fixeria | Follow the official documentation describing the process of "installing GNU Radio":https://wiki.gnuradio.org/index.php/InstallingGR. |
17 | 1 | ptrkrysik | |
18 | 4 | fixeria | Please note that despite "GNU Radio":https://www.gnuradio.org/ is available as a binary package on most Linux distributions, such binaries may be outdated. *Make sure the version you're installing is up to date!* It is also possible to "build GNU Radio from source":https://wiki.gnuradio.org/index.php/BuildGuide. |
19 | 1 | ptrkrysik | |
20 | 4 | fixeria | As soon as you have done, make sure you have at least the following components: |
21 | |||
22 | 1 | ptrkrysik | * python-support |
23 | * gr-digital |
||
24 | * gr-filter |
||
25 | * gr-blocks |
||
26 | * gr-uhd |
||
27 | |||
28 | 4 | fixeria | You can use the following command to get build info: |
29 | 1 | ptrkrysik | |
30 | <pre> |
||
31 | $ gnuradio-config-info --enabled-components |
||
32 | </pre> |
||
33 | |||
34 | h2. 3. [[Gr-gsm:]] transceiver |
||
35 | |||
36 | 3 | ptrkrysik | The transceiver implementation is a part of the master branch of [[gr-gsm:]] now. The information about installation process and list of dependences can be found in the [[gr-gsm:Installation|project's wiki]]. We also recommend to build it from source: |
37 | 1 | ptrkrysik | |
38 | <pre> |
||
39 | # Get the source code |
||
40 | $ git clone git://git.osmocom.org/gr-gsm |
||
41 | $ cd gr-gsm/ |
||
42 | |||
43 | # Configure and compile |
||
44 | $ mkdir build |
||
45 | $ cd build |
||
46 | $ cmake .. |
||
47 | $ make |
||
48 | |||
49 | # Install |
||
50 | $ sudo make install |
||
51 | $ sudo ldconfig |
||
52 | </pre> |
||
53 | |||
54 | The transceiver logic is represented by the following flow graph: |
||
55 | |||
56 | !grc_trx.png! |
||
57 | |||
58 | h2. 4. [[OsmocomBB:]] |
||
59 | |||
60 | You need to compile OsmocomBB with the [[OsmocomBB:TRX_Interface|TRX interface]] support. Please refer the corresponding [[OsmocomBB:TRX_Interface|wiki page]]. |