1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
7 This is the user guide for Cherry release of O-DU/l2.
20 - cd <rsys_directory>/l2/build/odu
22 b. Build O-DU High binary
24 - make odu MACHINE=BIT64 MODE=FDD
26 c. Clean O-DU High binary
28 - make clean_odu MACHINE=BIT64 MODE=FDD
34 - cd <rsys_directory>/l2/build/odu
36 b. Build CU Stub binary
38 - make cu_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
40 c. Clean CU Stub binary
42 - make clean_cu NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
48 - cd <rsys_directory>/l2/build/odu
50 b. Build RIC Stub binary
52 - make ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
54 c. Clean RIC Stub binary
56 - make clean_ric NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
58 4. Clean ODU, CU Stub and RIC Stub together
66 1. Assign virtual IP addresses as follows:
68 a. ifconfig <interface name>:ODU "192.168.130.81"
69 b. ifconfig <interface name>:CU_STUB "192.168.130.82"
70 c. ifconfig <interface name>:RIC_STUB "192.168.130.80"
74 a. CU execution folder
76 - cd <rsys_directory>/l2/bin/cu_stub
84 a. RIC execution folder
86 - cd <rsys_directory>/l2/bin/ric_stub
88 b. Run RIC Stub binary
94 a. DU execution folder
96 - cd <rsys_directory>/l2/bin/odu
102 PS: CU stub and RIC stub must be run (in no particular sequence) before ODU
105 C. Testing with Intel O-DU Low:
106 -------------------------------
113 a. Create folder <rsys_directory>/l2/src/wls_lib. Copy wls_lib.h from <intel_directory>/phy/wls_lib/ to
114 <rsys_directory>/l2/src/wls_lib.
116 b. Create folder <rsys_directory>/l2/src/dpdk_lib. Copy following files from
117 <intel_directory>/dpdk-19.11/x86_64-native-linuxapp-gcc/include/ to <rsys_directory>/l2/src/dpdk_lib.
119 - rte_branch_prediction.h
124 - rte_pci_dev_feature_defs.h
134 - cd <rsys_directory>/l2/build/odu
138 - make odu PHY=INTEL_L1 PHY_MODE=TIMER MACHINE=BIT64 MODE=FDD
140 2. Build CU Stub and RIC Stub:
142 a. Execute steps in sections A.2 and A.3.
149 a. Setup environment:
151 - cd <intel_directory>/phy/
152 - source ./setupenv.sh
154 b. Run O-DU Low binary :
156 - cd <intel_directory>/FlexRAN/l1/bin/nr5g/gnb/l1
157 - To run in timer mode : ./l1.sh -e
158 - L1 is up when following prints are seen on console:
160 | Non BBU threads in application
161 | \==================================================================
162 | nr5g_gnb_phy2mac_api_proc_stats_thread: [PID: 8659] binding on [CPU 0] [PRIO: 0] [POLICY: 1]
163 | wls_rx_handler (non-rt): [PID: 8663] binding on [CPU 0]
164 | \==================================================================
166 PHY>welcome to application console
168 2. Execute FAPI Translator:
170 a. Setup environment:
172 - cd <intel_directory>/phy/
173 - source ./setupenv.sh
175 b. Run FAPI translator binary:
177 - cd <intel_directory>/phy/fapi_5g/bin/
178 - ./oran_5g_fapi --cfg=oran_5g_fapi.cfg
180 3. Execute CU Stub and RIC Stub:
182 a. Run steps in sections B.1-B.3.
186 a. DU execution folder
188 - cd <rsys_directory>/l2/bin/odu
190 b. Export WLS library path
192 - export LD_LIBRARY_PATH=<intel_directory>/phy/wls_lib/lib:$LD_LIBRARY_PATH
202 O-DU High opens WLS interface during bring up. Message exchanges can begin once the interface is ready.
203 Following diagram shows P5 messages exchange with O-DU Low in timer mode.
205 .. figure:: L1-L2_Message_Flow.jpg
207 :alt: Figure 1 O-DU High - O-DU Low Message Flow Diagram
209 Figure 1 - O-DU High - O-DU Low Message Flow Diagram
211 Note: UL IQ-Sample request and response are needed by Intel O-DU Low in timer mode(testing mode) only. Code changes for
212 these are guarded under INTEL_TIMER_MODE flag which can be enabled using compilation option "PHY_MODE=TIMER", as mention