... | ... | @@ -20,7 +20,7 @@ Figure 2: OAI RRU, OAI RCC and OAI EPC+HSS on different hosts (interface informa |
|
|
|
|
|
### 1.1 Choice of configuration files
|
|
|
|
|
|
At the time of writing this tutorial, OAI architecture supports IF4.5 and IF5 functional splits. The different splits can be run by using the appropriate configuration files from below.
|
|
|
At the time of writing this tutorial, OAI architecture supports IF4.5 and IF5 functional splits (note: IF5 and IF4p5/RAW Ethernet are broken and not tested with CI/CD for the moment, so test only IF4p5/UDP). The different splits can be run by using the appropriate configuration files from below.
|
|
|
|
|
|
**NGFI IF4p5 (10 MHz)**
|
|
|
* rcc_file: rcc.band7.tm1.if4p5.50PRB.usrpb210.conf
|
... | ... | @@ -61,31 +61,6 @@ __Notes:__ |
|
|
|
|
|
#### Step 1: Edit the RRU configuration file (`start from ~/openairinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru_oaisim.conf`)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Step 2: Compile & Run the RRU
|
|
|
|
|
|
```shell
|
|
|
cd ~/openairinterface5g
|
|
|
source oaienv
|
|
|
cd cmake_targets
|
|
|
./build_oai -I -w USRP -t ETHERNET -x -c --eNB
|
|
|
```
|
|
|
You can print out the help message to see what these options mean using the command "./build_oai -h". A short summary is as follows.
|
|
|
|
|
|
* -I: installs required packages.
|
|
|
* -w: adds the hardware support, which is USRP in our case.
|
|
|
* -t: adds trasport protocol support in compilation
|
|
|
* -x: adds a software oscilloscope feature to the produced binaries
|
|
|
* -c: erase all files to make a rebuild from start
|
|
|
* --eNB: complies for eNB application.
|
|
|
|
|
|
```shell
|
|
|
cd cmake_targets/lte_build_oai/build
|
|
|
sudo -E ./lte-softmodem -O $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/**rru_file** # replace based on choice of functional split
|
|
|
```
|
|
|
Under the following configuration parameters:
|
|
|
|
|
|
* IP address of RCC towards RRU is `10.10.10.1` and RRU Ethernet interface name is `eth0`
|
... | ... | @@ -117,6 +92,27 @@ RUs = ( |
|
|
);
|
|
|
```
|
|
|
|
|
|
#### Step 2: Compile & Run the RRU
|
|
|
|
|
|
```shell
|
|
|
cd ~/openairinterface5g
|
|
|
source oaienv
|
|
|
cd cmake_targets
|
|
|
./build_oai -I -w USRP -t ETHERNET -x -c --eNB
|
|
|
```
|
|
|
You can print out the help message to see what these options mean using the command "./build_oai -h". A short summary is as follows.
|
|
|
|
|
|
* -I: installs required packages.
|
|
|
* -w: adds the hardware support, which is USRP in our case.
|
|
|
* -t: adds trasport protocol support in compilation
|
|
|
* -x: adds a software oscilloscope feature to the produced binaries
|
|
|
* -c: erase all files to make a rebuild from start
|
|
|
* --eNB: complies for eNB application.
|
|
|
|
|
|
```shell
|
|
|
cd cmake_targets/lte_build_oai/build
|
|
|
sudo -E ./lte-softmodem -O $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/**rru_file** # replace based on choice of functional split
|
|
|
```
|
|
|
## 3. Installation and Configuration of OAI RCC
|
|
|
|
|
|
### 3.1 Installation
|
... | ... | @@ -218,7 +214,7 @@ __Notes:__ |
|
|
```shell
|
|
|
cd ~/openairinterface5g
|
|
|
source oaienv
|
|
|
cmake_targets/build_oai -w None -t ETHERNET -x -c --eNB
|
|
|
cmake_targets/build_oai -t ETHERNET -c --eNB
|
|
|
cd cmake_targets/lte_build_oai/build
|
|
|
sudo -E ./lte-softmodem -O $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/**rcc_file** # replace based on choice of functional split
|
|
|
```
|
... | ... | @@ -244,6 +240,4 @@ At this point we have an operating base station and core network, so it is time |
|
|
|
|
|
* [topology_wiki](/uploads/228be9afe62d63e4e0a8c307c010ff23/topology_wiki.png)
|
|
|
* [topology_wiki_if_info](/uploads/1dc178ffd804f8225f3abd48fb5c1b55/topology_wiki_if_info.png)
|
|
|
* [rru_waiting](/uploads/3f29ddf7665d6af296febc5982959955/rru_waiting.png)
|
|
|
* [rcc_connected](/uploads/3f6b8fbc1afcd0adcacdb60ac4f227b5/rcc_connected.png)
|
|
|
* [rru_connected](/uploads/b6b933de532174a6a21ea2be7e0c63b8/rru_connected.png) |
|
|
|