X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=README;fp=README;h=1ec374403466394ab41d8c3d64f596afa35c0caf;hb=d349ae65e1495488772f87e5cfa1ae71d9eab075;hp=71fbd36e80cf8a885b3523e90d4ecb7c6f77466b;hpb=829bbd114f1c3dc00c1da47bca0a8207c049df3f;p=o-du%2Fl2.git diff --git a/README b/README index 71fbd36e8..1ec374403 100644 --- a/README +++ b/README @@ -4,27 +4,33 @@ Directory Structure : a. common : contains individual module's makefile b. config : contains SSI memory configuration c. odu : contains main makefile to generate an executable binary - b. scripts : contains scripts required for compilation 2. 5gnr_opensource/src/ : contains layer specific source code - a. 5gnrmac : MAC source code - b. 5gnrrlc : RLC source code - c. cm : common, environment and interface files - d. cu_app : Stub code for CU - e. du_app : DU application and F1 code - f. mt : wrapper functions over OS + a. 5gnrmac : MAC source code + b. 5gnrrlc : RLC source code + c. cm : common, environment and interface files + d. cu_stub : Stub code for CU + e. du_app : DU application and F1 code + f. mt : wrapper functions over OS g. phy_stub : Stub code for Physical layer - h. rlog : logging module + h. rlog : logging module Pre-requisite for Compilation : 1. Linux 32-bit/64-bit machine 2. GCC version 4.6.3 and above -3. Copy ASN code generated for F1 messages into 5gnr_opensource/src/du_app/F1AP/asn/ -How to Compile : +How to Compile: 1. cd 5gnr_opensource/build/odu -2. To clean and compile: make clean_all odu MACHINE=BIT64 TEXT_LOG=YES -3. To clean only, run command : make clean_all MACHINE=BIT64 TEXT_LOG=YES +2. To clean and compile: + a. DU : make clean_all odu MACHINE=BIT64 TEXT_LOG=YES MODE=FDD + b. CU : make clean_cu cu_stub MACHINE=BIT64 TEXT_LOG=YES MODE=FDD + +How to execute: +1. DU : + a. cd 5gnr_opensource/build/odu/bin/odu + b. ./odu -f ../config/ssi_mem +2. CU : + a. cd 5gnr_opensource/build/odu/bin/cu_stub + b. ./cu_stub -f ../config/ssi_mem -Executable binary generated : 5gnr_opensource/build/odu/obj/odu