... | ... | @@ -56,22 +56,19 @@ openairinterface5g: The location of openairinterface5g repository. |
|
|
cd ~/openairinterface5g
|
|
|
source oaienv
|
|
|
cd cmake_targets
|
|
|
./build_oai -I --eNB --noS1 --install-system-files -w USRP -t ETHERNET --install-optional-packages #for USRP
|
|
|
./build_oai -I --eNB -w USRP -t ETHERNET --install-optional-packages #for USRP
|
|
|
```
|
|
|
|
|
|
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.
|
|
|
* --eNB: complies for eNB application.
|
|
|
* --noS1: when using nas kernel module (i.e., without S1 interface)
|
|
|
* --install-system-files: installs OAI required files in Linux system.
|
|
|
* -w: adds the hardware support, which is USRP in our case.
|
|
|
* -t: adds fronthaul transport protocol support (currently only ETHERNET is supported)
|
|
|
* --install-optional-packages: installs optional packages.
|
|
|
|
|
|
__Notes:__
|
|
|
* If you have previously build OAI on your host, please use -c or -C to remove existing compiled files.
|
|
|
* Please note that you must use --noS1 to disable S1 interface functionality in RRU.
|
|
|
* Look at [AutoBuild](AutoBuild) for more details.
|
|
|
|
|
|
#### 2.2 Configuration and execution
|
... | ... | @@ -113,11 +110,8 @@ rrh_gw_config = ( |
|
|
cd ~/openairinterface5g
|
|
|
source oaienv
|
|
|
|
|
|
cd cmake_targets/tools
|
|
|
./init_nas_nos1
|
|
|
|
|
|
cd ../lte_noS1_build_oai/build
|
|
|
sudo -E ./lte-softmodem-nos1 -O $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/**rru_file** # replace based on choice of functional split
|
|
|
cd ../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
|
|
|
```
|
|
|
You may print out the help message (`./lte-softmodem -h`) to see other options. A summary of the above options is given below.
|
|
|
* -O: configuration file
|
... | ... | @@ -144,7 +138,7 @@ openairinterface5g: The location of openairinterface5g repository. |
|
|
cd ~/openairinterface5g
|
|
|
source oaienv
|
|
|
cd cmake_targets
|
|
|
./build_oai -I --eNB -x --install-system-files -w None -t ETHERNET --install-optional-packages
|
|
|
./build_oai -I --eNB -x -c -w None -t ETHERNET --install-optional-packages
|
|
|
```
|
|
|
|
|
|
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.
|
... | ... | @@ -152,7 +146,6 @@ You can print out the help message to see what these options mean using the comm |
|
|
* -I: installs required packages.
|
|
|
* --eNB: complies for eNB application, i.e., lte-softmodem.
|
|
|
* -x: adds a software oscilloscope feature to the produced binaries.
|
|
|
* --install-system-files: installs OAI required files in Linux system.
|
|
|
* -w: adds the hardware support, which is None in our case (radio hardware support is associated with RRU).
|
|
|
* -t: adds fronthaul transport protocol support (currently only ETHERNET is supported)
|
|
|
* --install-optional-packages: installs optional packages.
|
... | ... | |