gNB Build Section Updated
This commit is contained in:
@@ -50,7 +50,7 @@ At the moment of writing this document interoperability with the following COTS
|
|||||||
## 1.1 gNB build and configuration
|
## 1.1 gNB build and configuration
|
||||||
To get the code and build the gNB executable:
|
To get the code and build the gNB executable:
|
||||||
|
|
||||||
### Ubuntu 18.04
|
### Build gNB
|
||||||
```bash
|
```bash
|
||||||
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
|
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
|
||||||
git checkout develop
|
git checkout develop
|
||||||
@@ -61,34 +61,6 @@ To get the code and build the gNB executable:
|
|||||||
./build_oai --gNB -w USRP
|
./build_oai --gNB -w USRP
|
||||||
```
|
```
|
||||||
|
|
||||||
### Ubuntu 20.04
|
|
||||||
```bash
|
|
||||||
# Build UHD from source
|
|
||||||
# https://files.ettus.com/manual/page_build_guide.html
|
|
||||||
sudo apt-get install libboost-all-dev libusb-1.0-0-dev doxygen python3-docutils python3-mako python3-numpy python3-requests python3-ruamel.yaml python3-setuptools cmake build-essential
|
|
||||||
|
|
||||||
git clone https://github.com/EttusResearch/uhd.git
|
|
||||||
cd uhd/host
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ../
|
|
||||||
make -j 4
|
|
||||||
make test # This step is optional
|
|
||||||
sudo make install
|
|
||||||
sudo ldconfig
|
|
||||||
sudo uhd_images_downloader
|
|
||||||
|
|
||||||
|
|
||||||
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
|
|
||||||
git checkout develop
|
|
||||||
|
|
||||||
# Build OAI gNB
|
|
||||||
cd openairinterface5g/
|
|
||||||
source oaienv
|
|
||||||
cd cmake_targets/
|
|
||||||
./build_oai --gNB -w USRP
|
|
||||||
```
|
|
||||||
|
|
||||||
A reference configuration file for the **monolithic** gNB is provided [here](https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf).
|
A reference configuration file for the **monolithic** gNB is provided [here](https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf).
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user