安装需求:
- USB3 interface
- Modern multicore CPU (Intel Core i5, Core i7 or equivalent with SSE4.1 SSE4.2 and AVX support)
- UHD driver installed (for Ettus SDRs)
- GNURadio
With an Ettus radio (B200, B210) you will need the latest UHD driver besides GNURadio.
安装OpenLTE之前需要安装好最新版UHD和GNURadio.安装教程参见:
GNU Radio安装教程: Ubuntu14.04 + uhd3.10.0 + gnuradio3.7.10.1
Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux
安装PolarSSL:
Ubuntu系统执行如下命令
1 $ sudo apt-get update 2 $ sudo apt-get install libpolarssl-dev
安装Osmosdr
Osmosdr源码获取
$ git clone git://git.osmocom.org/gr-osmosdr
如果GNURadiio版本是3.6,需要使用如下命令将分支切换到gr3.6,3.7版本无需此操作
$ cd gr-osmosdr/ $ git checkout gr3.6
编译安装
$ cd gr-osmosdr/ $ mkdir build $ cd build/ $ cmake ../ $ make $ sudo make install $ sudo ldconfig
如需卸载,在build目录下运行
$ sudo make uninstall
如需生成API文档,编译时使用以下命令
$ cd build/ $ cmake ../ -DENABLE_DOXYGEN=1 $ make -C docs
安装完成之后,在gr-osmosdr/build/docs/doxygen/html/index.html目录下有API文档。
安装LibbladeRF
源码获取
$ git clone https://github.com/Nuand/bladeRF.git
编译安装
$ cd host/ $ mkdir build $ cd build/ $ cmake ../ $ make $ sudo make install $ sudo ldconfig
如需卸载,在build目录下运行
$ sudo make uninstall
安装OpenLTE
源码获取
https://sourceforge.net/projects/openlte/files/
Download and extract the latest version and go to the extracted folder.
编译安装
$ cd <源码所在文件夹> $ mkdir build $ cd build/ $ cmake ../ $ make $ sudo make install $ sudo ldconfig
如需卸载,在build目录下运行
$ sudo make uninstall
参考文献
OpenLTE官网连接: https://sourceforge.net/projects/openlte/
installing openlte: https://sourceforge.net/p/openlte/wiki/Installing%20OpenLTE/
Osmosdr安装:http://osmocom.org/projects/sdr/wiki/GrOsmoSDR
bladeRF安装:https://github.com/Nuand/bladeRF/wiki/Getting-Started%3A-Linux