Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alex037yang
OpenXG-RAN
Commits
0b203cb7
Commit
0b203cb7
authored
Feb 10, 2019
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix for -w SIMU
parent
eceafdd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
39 deletions
+31
-39
cmake_targets/build_oai
cmake_targets/build_oai
+31
-39
No files found.
cmake_targets/build_oai
View file @
0b203cb7
...
@@ -43,10 +43,10 @@ conf_nvram_path=$OPENAIR_DIR/openair3/NAS/TOOLS/ue_eurecom_test_sfr.conf
...
@@ -43,10 +43,10 @@ conf_nvram_path=$OPENAIR_DIR/openair3/NAS/TOOLS/ue_eurecom_test_sfr.conf
MSC_GEN
=
0
MSC_GEN
=
0
XFORMS
=
"True"
XFORMS
=
"True"
UE_EXPANSION
=
"False"
UE_EXPANSION
=
"False"
UESIM_EXPANSION
=
"False"
PRINT_STATS
=
"False"
PRINT_STATS
=
"False"
VCD_TIMING
=
"False"
VCD_TIMING
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
""
FORCE_DEADLINE_SCHEDULER_FLAG_USER
=
""
CPU_AFFINITY_FLAG_USER
=
"False"
#Only valid when lowlatecy flag is set to False
CPU_AFFINITY_FLAG_USER
=
"False"
#Only valid when lowlatecy flag is set to False
REL
=
"Rel15"
REL
=
"Rel15"
NR_REL
=
"NR_Rel15"
NR_REL
=
"NR_Rel15"
...
@@ -78,7 +78,7 @@ trap handle_ctrl_c INT
...
@@ -78,7 +78,7 @@ trap handle_ctrl_c INT
function
print_help
()
{
function
print_help
()
{
echo_info
"
echo_info
"
This program installs OpenAirInterface Software
This program installs OpenAirInterface Software
You should have ubuntu 1
4.xx, updated, and the Linux kernel >= 3.14
You should have ubuntu 1
6.xx or 18.04 updated
Options
Options
-h
-h
This help
This help
...
@@ -116,7 +116,7 @@ Options
...
@@ -116,7 +116,7 @@ Options
Rel8 limits the implementation to 3GPP Release 8 version
Rel8 limits the implementation to 3GPP Release 8 version
Rel10 limits the implementation to 3GPP Release 10 version
Rel10 limits the implementation to 3GPP Release 10 version
-w | --hardware
-w | --hardware
EXMIMO, USRP, BLADERF, ETHERNET, LMSSDR, ADRV9371_ZC706, None (Default)
EXMIMO, USRP, BLADERF, ETHERNET, LMSSDR, ADRV9371_ZC706,
SIMU,
None (Default)
Adds this RF board support (in external packages installation and in compilation)
Adds this RF board support (in external packages installation and in compilation)
-t | --transport protocol
-t | --transport protocol
ETHERNET , None
ETHERNET , None
...
@@ -175,6 +175,9 @@ Options
...
@@ -175,6 +175,9 @@ Options
--basic-simulator
--basic-simulator
Generates a basic [1 UE + 1 eNB + no channel] simulator.
Generates a basic [1 UE + 1 eNB + no channel] simulator.
See targets/ARCH/tcp_bridge/README.tcp_bridge_oai for documentation.
See targets/ARCH/tcp_bridge/README.tcp_bridge_oai for documentation.
--rfsimulator
Generate virtual RF driver
to use it, set the environement variable RFSIMULATOR to
\"
enb
\"
in the eNB and to the eNB IP address in the UEs
Usage (first build):
Usage (first build):
NI/ETTUS B201 + COTS UE : ./build_oai -I --eNB -x --install-system-files -w USRP
NI/ETTUS B201 + COTS UE : ./build_oai -I --eNB -x --install-system-files -w USRP
Usage (Regular):
Usage (Regular):
...
@@ -334,13 +337,13 @@ function main() {
...
@@ -334,13 +337,13 @@ function main() {
BUILD_DOXYGEN
=
1
BUILD_DOXYGEN
=
1
echo_info
"Will build doxygen support"
echo_info
"Will build doxygen support"
shift
;;
shift
;;
--disable-deadline
)
--disable-deadline
)
FORCE_
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
echo_info
"Disabling the usage of deadline scheduler"
echo_info
"Disabling the usage of deadline scheduler"
shift
1
;;
shift
1
;;
--enable-deadline
)
--enable-deadline
)
FORCE_
DEADLINE_SCHEDULER_FLAG_USER
=
"True"
DEADLINE_SCHEDULER_FLAG_USER
=
"True"
echo_info
"Enabling the usage of deadline scheduler"
echo_info
"Enabling the usage of deadline scheduler"
shift
1
;;
shift
1
;;
--enable-cpu-affinity
)
--enable-cpu-affinity
)
CPU_AFFINITY_FLAG_USER
=
"True"
CPU_AFFINITY_FLAG_USER
=
"True"
...
@@ -403,7 +406,11 @@ function main() {
...
@@ -403,7 +406,11 @@ function main() {
BASIC_SIMULATOR
=
1
BASIC_SIMULATOR
=
1
echo_info
"Compiling the basic simulator"
echo_info
"Compiling the basic simulator"
shift
1
;;
shift
1
;;
-h
|
--help
)
--rfsimulator
)
RFSIMULATOR
=
true
echo_info
"Compiling the RF simulator"
shift
1
;;
-h
|
--help
)
print_help
print_help
exit
1
;;
exit
1
;;
*
)
*
)
...
@@ -444,33 +451,18 @@ function main() {
...
@@ -444,33 +451,18 @@ function main() {
fi
fi
fi
fi
echo_info
"RF HW set to
$HW
"
echo_info
"RF HW set to
$HW
"
#Now we set flags to enable deadline scheduler settings
# If the user doesn't specify the Linux scheduler to use, we set a value
#By default: USRP: disable,
if
[
"
$DEADLINE_SCHEDULER_FLAG_USER
"
=
""
]
;
then
#By default: BLADERF: enable,
case
"
$HW
"
in
#By default: EXMIMO: enable
"EXMIMO"
)
if
[
"
$FORCE_DEADLINE_SCHEDULER_FLAG_USER
"
=
""
]
;
then
DEADLINE_SCHEDULER_FLAG_USER
=
"True"
if
[
"
$HW
"
=
"EXMIMO"
]
;
then
;;
DEADLINE_SCHEDULER_FLAG_USER
=
"True"
*
)
elif
[
"
$HW
"
=
"ETHERNET"
]
;
then
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
;;
elif
[
"
$HW
"
=
"OAI_USRP"
]
;
then
esac
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
fi
elif
[
"
$HW
"
=
"OAI_ADRV9371_ZC706"
]
;
then
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"OAI_BLADERF"
]
;
then
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"OAI_LMSSDR"
]
;
then
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"None"
]
;
then
DEADLINE_SCHEDULER_FLAG_USER
=
"False"
else
echo_error
"Unknown HW type
$HW
. Exiting now..."
exit
fi
else
DEADLINE_SCHEDULER_FLAG_USER
=
$FORCE_DEADLINE_SCHEDULER_FLAG_USER
fi
#Disable CPU Affinity for deadline scheduler
#Disable CPU Affinity for deadline scheduler
if
[
"
$DEADLINE_SCHEDULER_FLAG_USER
"
=
"True"
]
;
then
if
[
"
$DEADLINE_SCHEDULER_FLAG_USER
"
=
"True"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment