如何在 bladeRF A4 上运行 OpenAirInterface (OAI) 5G SA 的软调制解调器

如何在 bladeRF A4 上运行 OpenAirInterface (OAI) 5G SA 的软调制解调器

我在使用 bladeRF A4 制作 OAI 5G SA 时遇到问题

我使用 Ubuntu 22.04.2 LTS (Jammy Jellyfish) Desktop,版本为 5.19.0-46-generic。我在开发分支上尝试 OAI,并在 bladeRF A4 上运行。我遵循此关联,建议不要使用命令./build_oai -I -w BLADERF,而是从源安装 bladeRF。

我已下载完 bladeRF 库,并能通过命令正确使用交互模式bladeRF-cli -i。我使用命令设置了 bladeRF 所需的参数。设置结果如下图所示。

$ sudo bladeRF-cli -i
bladeRF> print frequency

  RX1 Frequency: 2400000000 Hz (Range: [70000000, 6000000000])
  RX2 Frequency: 2400000000 Hz (Range: [70000000, 6000000000])
  TX1 Frequency: 2400000000 Hz (Range: [47000000, 6000000000])
  TX2 Frequency: 2400000000 Hz (Range: [47000000, 6000000000])

bladeRF> print gain

  Gain RX1 overall:   60 dB (Range: [-15, 60])
              full:   71 dB (Range: [-4, 71])
  Gain RX2 overall:   60 dB (Range: [-15, 60])
              full:   71 dB (Range: [-4, 71])
  Gain TX1 overall:   56 dB (Range: [-23.75, 66])
               dsa:  -90 dB (Range: [-89.75, 0])
  Gain TX2 overall:   56 dB (Range: [-23.75, 66])
               dsa:  -90 dB (Range: [-89.75, 0])

bladeRF> print bandwidth

  RX1 Bandwidth:  18000000 Hz (Range: [200000, 56000000])
  RX2 Bandwidth:  18000000 Hz (Range: [200000, 56000000])
  TX1 Bandwidth:  18000000 Hz (Range: [200000, 56000000])
  TX2 Bandwidth:  18000000 Hz (Range: [200000, 56000000])

bladeRF> print samplerate

  RX1 sample rate: 30720000 0/1 (Range: [520834, 122880000])
  RX2 sample rate: 30720000 0/1 (Range: [520834, 122880000])
  TX1 sample rate: 30720000 0/1 (Range: [520834, 122880000])
  TX2 sample rate: 30720000 0/1 (Range: [520834, 122880000])

我所提到的都是步骤 1 - 3 的一部分关联。现在我在第 4 步遇到了问题,也就是说我现在可以运行软调制解调器了。此步骤的说明包含在此处。

4. Tune the RX gain using the enb tracer.

    Run the softmodem and the 'enb' tracer. For instructions, see:

        https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/T/basic

    In the enb window, check the 'input signal'. You should see some blue
    signal as seen at:

        https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/T/enb

请帮我如何运行软调制解调器? 如何正确构建OAI以使bladeRF运行5G SA?

注意:我尝试这个关联因为这里有 softmodem 命令。

sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --gNBs.[0].min_rxtxtime 6 --rfsim --sa

但是当我跟踪命令以查看他们在哪里打开项目时,文件夹内targets/PROJECTS/GENERIC-NR-5GC/CONF没有任何与 bladeRF 相关的内容,只有 USRP,它是来自 Ettus 的 SDR

~/ubuntu_work2/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF$ ls
cu_gnb.conf
du_gnb.conf
gnb0.sa.band261.fr2.64PRB.prs.usrpx310.conf
gnb0.sa.band78.fr1.106PRB.prs.usrpx310.conf
gnb1.sa.band261.fr2.64PRB.prs.usrpx310.conf
gnb1.sa.band78.fr1.106PRB.prs.usrpx310.conf
gnb.band78.sa.fr1.106PRB.2x2.usrpn310.conf
gnb.band78.sa.fr1.162PRB.2x2.usrpn310.conf
gnb.band78.tm1.106PRB.usrpn300.gtp-itti.conf
gNB_SA_40_2x2.conf
gnb.sa.band41.fr1.106PRB.usrpb210.conf
gnb.sa.band41.fr1.52PRB.usrpb210.conf
gnb.sa.band66.fr1.106PRB.usrpn300.conf
gnb.sa.band66.fr1.106PRB.usrpx300.conf
gnb.sa.band66.fr1.24PRB.usrpx300.conf
gnb.sa.band66.fr1.25PRB.usrpx300.conf
gnb.sa.band77.fr1.273PRB.2x2.usrpn300.conf
gnb.sa.band77.fr1.273PRB.usrpx300.conf
gnb.sa.band78.fr1.106PRB.2x2.usrpn300.conf
gnb.sa.band78.fr1.106PRB.usrpb210.4layer.conf
gnb.sa.band78.fr1.106PRB.usrpb210.conf
gnb.sa.band78.fr1.106PRB.usrpb210.sabox.conf
gnb.sa.band78.fr1.162PRB.2x2.usrpn300.conf
gnb.sa.band78.fr1.217PRB.2x2.usrpn300.conf
gnb.sa.band78.fr1.24PRB.usrpb210.conf
pnf.sa.band78.rfsim.conf
uecap_ports1.xml
uecap_ports2.xml
ue.conf
ue.nr.prs.fr1.106prb.conf
ue.nr.prs.fr2.64prb.conf
vnf.sa.band78.106prb.rfsim.conf

相关内容