Tutorial improvement

This commit is contained in:
Reem Bahsoun
2026-02-12 14:37:56 +01:00
parent b285f91968
commit 8f9abfb7f4
+12 -7
View File
@@ -164,15 +164,18 @@ WantedBy=multi-user.target
- Follow these - Follow these
[instructions](https://github.com/NVIDIA/aerial-cuda-accelerated-ran) to [instructions](https://github.com/NVIDIA/aerial-cuda-accelerated-ran) to
clone the `aerial-cuda-accelerated-ran` repository, pull and build the cuBB clone the `aerial-cuda-accelerated-ran` repository, pull cuBB image.
image. - The CMake flags we use to build the SDK are:
- The CMake flags we use to compile the L1 are:
- `-DSCF_FAPI_10_04_SRS=ON` this flag must be used as of OAI tag `2025.w36` - `-DSCF_FAPI_10_04_SRS=ON` this flag must be used as of OAI tag `2025.w36`
and this is due to the usage of the FAPI 10.04 version of the SRS PDU, and and this is due to the usage of the FAPI 10.04 version of the SRS PDU, and
RX_Beamforming PDU. RX_Beamforming PDU.
- `-DENABLE_CONFORMANCE_TM_PDSCH_PDCCH=OFF` this option should only be - `-DENABLE_CONFORMANCE_TM_PDSCH_PDCCH=OFF` this option should only be
enabled when doing conformance testing with testmac. enabled when doing conformance testing with testmac.
```bash
./testBenches/phase4_test_scripts/build_aerial_sdk.sh --preset 10_02 -- -DSCF_FAPI_10_04_SRS=ON -DENABLE_CONFORMANCE_TM_PDSCH_PDCCH=OFF
```
## Build OAI gNB ## Build OAI gNB
If it's not already cloned, the first step is to clone OAI repository If it's not already cloned, the first step is to clone OAI repository
@@ -195,8 +198,8 @@ and install this library when building the L2 docker image.
./cuPHY-CP/container/run_aerial.sh ./cuPHY-CP/container/run_aerial.sh
# Pack the nvIPC sources and copy them to the host ( the command creates a `tar.gz` file with the following name format: `nvipc_src.YYYY.MM.DD.tar.gz`) # Pack the nvIPC sources and copy them to the host ( the command creates a `tar.gz` file with the following name format: `nvipc_src.YYYY.MM.DD.tar.gz`)
aerial@c_aerial_oaicicd:/opt/nvidia/cuBB# cd cuPHY-CP/gt_common_libs aerial@c_aerial_<user>:/opt/nvidia/cuBB# cd cuPHY-CP/gt_common_libs
aerial@c_aerial_oaicicd:/opt/nvidia/cuBB/cuPHY-CP/gt_common_libs#./pack_nvipc.sh aerial@c_aerial_<user>:/opt/nvidia/cuBB/cuPHY-CP/gt_common_libs#./pack_nvipc.sh
nvipc_src.YYYY.MM.DD/ ... --------------------------------------------- Pack nvipc_src.YYYY.MM.DD/ ... --------------------------------------------- Pack
nvipc source code finished:/opt/nvidia/cuBB/cuPHY-CP/gt_common_libs/nvipc_src.YYYY.MM.DD.tar.gz nvipc source code finished:/opt/nvidia/cuBB/cuPHY-CP/gt_common_libs/nvipc_src.YYYY.MM.DD.tar.gz
``` ```
@@ -218,7 +221,9 @@ With the nvIPC sources in the project directory, the L2 docker image can be buil
### Building OAI gNB docker image ### Building OAI gNB docker image
In order to build the target image (`oai-gnb-aerial`), first you should build a In order to build the target image (`oai-gnb-aerial`), first you should build a
common shared image (`ran-base`) common shared image (`ran-base`). For more information about `docker build`
files please refer to this
[tutorial](https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/ARC1.7_integration/docker/README.md?ref_type=heads)
```bash ```bash
~$ cd ~/openairinterface5g/ ~$ cd ~/openairinterface5g/
@@ -297,7 +302,7 @@ vlan:
### Docker compose ### Docker compose
We recommend the user to apply the patch below for `docker-compose.yaml`. Apply the patch below to include the Aerial repository cloned earlier in this tutorial.
```patch ```patch
diff --git a/ci-scripts/yaml_files/sa_gnb_aerial/docker-compose.yaml b/ci-scripts/yaml_files/sa_gnb_aerial/docker-compose.yaml diff --git a/ci-scripts/yaml_files/sa_gnb_aerial/docker-compose.yaml b/ci-scripts/yaml_files/sa_gnb_aerial/docker-compose.yaml
index 985fe9a6a3..0774d826ac 100644 index 985fe9a6a3..0774d826ac 100644