当前位置:网站首页>OAI 5G NR+USRP B210安装搭建
OAI 5G NR+USRP B210安装搭建
2022-07-06 12:34:00 【InfoQ】
前言
1. 设备环境
1.1 硬件环境
- Intel Core i7 6900K (8 cores), 16GB DDR, 480GB SSD。允许SW LDPC运行在3个核上(高达30Mb/s),或者LDPC运行在FPGA(在80MHz SISO上高达 300Mb/s)。
- Intel Core i9 7980EX (18 cores)。允许LDPC SW 解码器并行在 9 或 12 个内核上(高达140Mb/s),或者LDPC运行在FPGA(同上)。
- Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz with 18 cores and 2x10Gbit Ethernet
1.2 USRP
- USRP N310
1.3 系统安装
- 安装系统Ubuntu 18.04。
sudo cp /etc/apt/sources.list /etc/apt/sources_bak.list
sudo vim /etc/apt/sources.list
2. 编译运行
2.1 OAI编译
- 下载OAI源码

2.2 OAI运行
- 修改配置文件
vim ../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1. 106PRB.usrpb210.conf
plmn_list = ({
mcc = 460;
mnc = 03;
amf_ip_address = ( { ipv4 = "192.168.88.31"; //5GC IP
ipv6 = "192:168:30::17";
active = "yes";
preference = "ipv4";
}
);
NETWORK_INTERFACES :
{
GNB_INTERFACE_NAME_FOR_NG_AMF = "eth0";
GNB_IPV4_ADDRESS_FOR_NG_AMF = "192.168.88.31/24"; //oai本地IP
GNB_INTERFACE_NAME_FOR_NGU = "eth0";
GNB_IPV4_ADDRESS_FOR_NGU = "192.168.88.31/24";
GNB_PORT_FOR_S1U = 2152; # Spec 2152
};
- 5G-NR RRC 连接设置
- NAS 认证和安全
- 5G-NR AS 安全程序
- 5G-NR RRC 重配置
- 开始下行和上行数据传输
2.3 接入测试
2.4 注意事项
- 由于源码库在国外,如果编译过程中某个源码目录下载困难,可以从build_helper中将对应的git语句或wget语句复制出来,在前台直接下载,下载完成后,即刻注释掉对应rm语句和git语句,避免重复下载。
- 如果ubuntu 某个国内源由于更新出现问题,在本地apt-get update时出现错误,可以更换其他的国内源。
- 第一次编译完成,为节省后续修改代码后的编译时间,可以将build_helper中源码下载命令注释掉:
3. 拓展
- LTE用户: lte-uesoftmodem
- 5G用户端: nr-uesoftmodem
- LTE eNodeB: lte-softmodem
- 5G gNodeB: nr-softmodem
- LTE PHY 模拟器:dlsim和ulsim
- 5G PHY 模拟器: nr_dlschsim nr_dlsim nr_pbchsim nr_pucchsim nr_ulschsim nr_ulsim polartest smallblocktest ulsim ldpctest
- 该-I选项是安装先决条件,仅在第一次构建 softmodem 或某些 oai 依赖项发生更改时才需要它。
- 该-w选项是选择射频板支持。
- --eNB是构建lte-softmodem可执行文件和所有必需的共享库
- --gNB是构建nr-softmodem可执行文件和所有必需的共享库
- --UE是构建lte-uesoftmodem可执行文件和所有必需的共享库
- --nrUE是构建nr-uesoftmodem可执行文件和所有必需的共享库
边栏推荐
- Utilisation de l'écran OLED
- Quel genre de programmation les enfants apprennent - ils?
- [diy] self designed Microsoft makecode arcade, official open source software and hardware
- Jupyter launch didn't respond after Anaconda was installed & the web page was opened and ran without execution
- 动态切换数据源
- How to upgrade high value-added links in the textile and clothing industry? APS to help
- [network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN
- APS taps home appliance industry into new growth points
- 逻辑是个好东西
- [weekly pit] output triangle
猜你喜欢
[diy] self designed Microsoft makecode arcade, official open source software and hardware
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
【计网】第三章 数据链路层(4)局域网、以太网、无线局域网、VLAN
深度学习分类网络 -- ZFNet
【GET-4】
Utilisation de l'écran OLED
2022 nurse (primary) examination questions and new nurse (primary) examination questions
B-杰哥的树(状压树形dp)
Implementation of packaging video into MP4 format and storing it in TF Card
B-jiege's tree (pressed tree DP)
随机推荐
Tencent byte Alibaba Xiaomi jd.com offer got a soft hand, and the teacher said it was great
看过很多教程,却依然写不好一个程序,怎么破?
Number of schemes from the upper left corner to the lower right corner of the chessboard (2)
【GET-4】
OLED屏幕的使用
Is it difficult for small and micro enterprises to make accounts? Smart accounting gadget quick to use
Database - how to get familiar with hundreds of tables of the project -navicat these unique skills, have you got it? (exclusive experience)
2022 portal crane driver registration examination and portal crane driver examination materials
解剖生理学复习题·VIII血液系统
Comment faire une radio personnalisée
Minimum cut edge set of undirected graph
Build your own application based on Google's open source tensorflow object detection API video object recognition system (IV)
[weekly pit] calculate the sum of primes within 100 + [answer] output triangle
01 基础入门-概念名词
use. Net analysis Net talent challenge participation
Trends of "software" in robotics Engineering
Implementation of packaging video into MP4 format and storing it in TF Card
[DSP] [Part 1] start DSP learning
Event center parameter transfer, peer component value transfer method, brother component value transfer
Quel genre de programmation les enfants apprennent - ils?