Changes between Version 6 and Version 7 of Tutorials/4G5G/openairinterface


Ignore:
Timestamp:
Apr 22, 2020, 8:14:06 PM (4 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/openairinterface

    v6 v7  
    13131. run /opt/oaiscripts/run_enb.sh
    1414
     15
     16Example script, change parameters as needed:
     17* run_enb.sh:
     18{{{
     19#! /bin/bash
     20#sdr_addrs takes standard uhd arguments, such as:
     21#"type=x300,addr=192.168.40.2"  #x310 over direct network
     22#"type=x300,resource=rio0"      #x310 over pcie
     23#"type=b210"                    #b210 over usb
     24#values for RUs.[0] override config file, must be set per usrp type
     25# -d enables xforms charts
     26
     27cd /opt/openairinterface5g
     28source oaienv
     29cd ./cmake_targets
     30./lte_build_oai/build/lte-softmodem \
     31-O $OPENAIR_HOME/ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf \
     32--nokrnmod 1 --noS1 --eNBs.[0].rrc_inactivity_threshold 0 \
     33--RUs.[0].att_tx 40 --RUs.[0].att_rx 0 \
     34--usrp-args "type=b200" \
     35-d
     36}}}
     37
    1538== On Node 2 ==
    16391. run /opt/oaiscripts/build_oai.sh to build for the current hardware and kernel
    17401. edit the file /opt/oaiscripts/run_ue.sh for the SDR in use, for example, set SDR IP addr and max gain
    18411. run /opt/oaiscripts/run_ue.sh
     42
     43Example script, change parameters as needed:
     44* run_ue.sh:
     45{{{
     46#! /bin/bash                                                                                                                                                                                                                                                                                                                                                                            #sdr_addrs takes standard uhd arguments, such as:                                                                                                                                           #"type=x300,addr=192.168.40.2"  #x310 over direct network                                                                                                                                          #"type=x300,resource=rio0"      #x310 over pcie                                                                                                                                             #"type=b210"                    #b210 over usb                                                                                                                                              #values for RUs.[0] override config file, must be set per usrp type
     47# -d enables xforms charts
     48
     49                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 cd /opt/openairinterface5g                                                                                                                                                                  source oaienv                                                                                                                                                                               cd ./cmake_targets/lte_build_oai/build                                                                                                                                                      ./lte-uesoftmodem \                                                                                                                                                                         -C 2680000000 -r 25 \                                                                                                                                                                       --ue-scan-carrier --nokrnmod 1 --noS1 \                                                                                                                                                     --ue-rxgain 120 --ue-txgain 30 --ue-max-power 0 \                                                                                                                                           --ue-nb-ant-tx 1 --ue-nb-ant-rx 1 \                                                                                                                                                         --usrp-args "type=b200" \                                                                                                                                                                   -d
     50}}}
    1951
    2052
     
    75107=== sb1.orbit-lab.org ===
    761081. set usrp address to "type=b210"
     1091. UE_rxgain: 120
     1101. UE_txgain: 30
     1111. UE_maxpower: 0
     1121. eNB_att_tx: 40
     1131. eNB_att_rx: 0
     114
    77115
    78116=== sb4.orbit-lab.org ===