Installation » History » Version 2
ptrkrysik, 09/06/2018 10:26 AM
Throw away images as they don't fit here well
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 | Despite "GNU Radio":https://www.gnuradio.org/ is available as a binary package on some distributions, we recommend to build the latest release version from source. Please follow the corresponding "building guide":https://wiki.gnuradio.org/index.php/BuildGuide. |
||
17 | |||
18 | During the build configuration process, make sure you have the following components: |
||
19 | |||
20 | * python-support |
||
21 | * gr-digital |
||
22 | * gr-filter |
||
23 | * gr-blocks |
||
24 | * gr-uhd |
||
25 | |||
26 | For binary or already installed builds, use the following command to get build info: |
||
27 | |||
28 | <pre> |
||
29 | $ gnuradio-config-info --enabled-components |
||
30 | </pre> |
||
31 | |||
32 | h2. 3. [[Gr-gsm:]] transceiver |
||
33 | |||
34 | 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:|project's wiki]]. We also recommend to build it from source: |
||
35 | |||
36 | <pre> |
||
37 | # Get the source code |
||
38 | $ git clone git://git.osmocom.org/gr-gsm |
||
39 | $ cd gr-gsm/ |
||
40 | |||
41 | # Configure and compile |
||
42 | $ mkdir build |
||
43 | $ cd build |
||
44 | $ cmake .. |
||
45 | $ make |
||
46 | |||
47 | # Install |
||
48 | $ sudo make install |
||
49 | $ sudo ldconfig |
||
50 | </pre> |
||
51 | |||
52 | The transceiver logic is represented by the following flow graph: |
||
53 | |||
54 | !grc_trx.png! |
||
55 | |||
56 | h2. 4. [[OsmocomBB:]] |
||
57 | |||
58 | You need to compile OsmocomBB with the [[OsmocomBB:TRX_Interface|TRX interface]] support. Please refer the corresponding [[OsmocomBB:TRX_Interface|wiki page]]. |