srsRAN on PlutoSDR(一)


这是一个系列文章,记录将srsRAN部署在PlutoSDR上的过程

srsRAN简介

srsRAN是一个开源的基于SDR的4G和5G通信系统。

srsRAN的安装

srsRAN的安装需要前端的驱动,其我们先解决这部分

RF前端驱动

SopaySDR

SopaySDR可以用来驱动一些SDR,他提供了一些API和库。前端将不同类型的SDR打包,中间调用SopaySDR库,后端支持用gunradio或pothos与用户交互。相当于一个通用的中间件,让不同的平台可以统一基于SopaySDR来控制不用的SDR。

安装SopaySDR

添加包

#core framework and toolkits (required)
sudo add-apt-repository -y ppa:pothosware/framework

#support libraries for pothos (required)
sudo add-apt-repository -y ppa:pothosware/support

#supplies soapysdr, and drivers (optional)
sudo add-apt-repository -y ppa:myriadrf/drivers

安装pothos和工具包

sudo apt-get install pothos-all

#install development files for python blocks
sudo apt-get install pothos-python-dev

安装SopaySDR包

#soapy sdr runtime and utilities
sudo apt-get install soapysdr-tools

#python3 language bindings
sudo apt-get install python3-soapysdr python3-numpy

检查安装是否成功

#print information about the install
PothosUtil --system-info
SoapySDRUtil --info

#run the design GUI -- there should also be a menu shortcut
PothosFlow

SopayPlutoSDR

SopayPlutoSDR就是上文说的前端之一,用于将PLUTO打包。

安装依赖

SopayPlutoSDR有三个依赖,分别是:libiio,libad9361,SoapySDR
libiio的安装:(the .deb file can be downloaded from https://github.com/analogdevicesinc/libiio)
if you meet the problem about dependends, you can refer https://blog.csdn.net/qq_41566366/article/details/121244177

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libxml2 libxml2-dev bison flex libcdk5-dev cmake
sudo apt-get install libaio1
sudo apt --fix-broken install
sudo dpkg -i Ubuntu-20.04_latest_master_libiio.deb

libad9361的安装
到https://github.com/analogdevicesinc/libad9361-iio下载包,解压后进入文件夹,运行如下指令

cmake ./CMakeLists.txt
make
sudo make install
安装SopaySDR
git clone https://github.com/jocover/SoapyPlutoSDR
cd SoapyPlutoSDR
mkdir build
cd build
sudo apt-get install libsoapysdr-dev
cmake ..
make
sudo make install

srsRAN的依赖

至此RF前端完成,安装srsRAN的依赖:
必装依赖

sudo apt-get install build-essential cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev

可选依赖:
GUI

sudo apt-get install qtbase5-dev
sudo apt-get install libboost-thread-dev
sudo apt-get install libboost-test-dev
git clone https://github.com/srsLTE/srsGUI.git
cd srsGUI
mkdir build
cd build
cmake ../
make 
sudo make install

安装srsRAN包

git clone https://github.com/srsRAN/srsRAN.git
cd srsRAN
mkdir build
cd build
cmake ../
make
make test
sudo make install
srsran_install_configs.sh user
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
srsran官方网站是一个面向公众的在线平台,专门为用户提供关于srsran项目的相关信息和资源。srsran是一个开源的软件无线电系统,旨在让用户能够搭建自己的私有无线电网络,从而实现更高的灵活性和自主性。 srsran官方网站提供了关于srsran的详细介绍,包括项目的背景、目标和特点等。网站上还有完整的安装指南和操作教程,帮助用户轻松地部署和配置srsran系统。此外,用户还可以在网站上找到最新版本的软件下载链接,以及官方社区的访问途径,方便用户交流和分享使用经验。 在srsran官方网站上,用户可以了解到srsran的支持范围,包括各种无线电技术与频段的覆盖情况。网站上提供了详细的技术文档和示例代码,用户可以根据自己的需求进行二次开发和定制。此外,网站还提供了一些实用的工具和软件包,帮助用户进行性能测试和故障排除等。 对于想要深入了解和学习srsran的用户来说,srsran官方网站提供了一些培训资源和学习资料,包括在线课程和培训视频等。用户可以随时访问网站,获取最新的学习资源,提高自己在srsran系统上的应用能力。 总之,srsran官方网站是一个重要的信息交流平台,为用户提供了全面的srsran项目相关资源和支持。通过该网站,用户可以了解最新的开发动态、获取相关资料、参与讨论,并且能够与全球的srsran社区保持联系,共同推动srsran技术的发展和应用。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值