Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
6c49f603
Commit
6c49f603
authored
Jun 18, 2019
by
yilmazt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build_oai is thoroughly checked
parent
0796848d
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
215 additions
and
293 deletions
+215
-293
cmake_targets/build_oai
cmake_targets/build_oai
+211
-228
cmake_targets/noS1_ran_build/CMakeLists.template
cmake_targets/noS1_ran_build/CMakeLists.template
+0
-61
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+1
-0
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+1
-1
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+1
-1
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+1
-1
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+0
-1
No files found.
cmake_targets/build_oai
View file @
6c49f603
...
...
@@ -26,17 +26,15 @@
set
-e
################################
# include helper functions
################################
# Include helper functions
ORIGIN_PATH
=
$PWD
THIS_SCRIPT_PATH
=
$(
dirname
$(
readlink
-f
$0
))
source
$THIS_SCRIPT_PATH
/tools/build_helper
#
s
et environment variables (OPENAIR_HOME, ...)
#
S
et environment variables (OPENAIR_HOME, ...)
set_openair_env
#
v
ariables for UE data generation
#
V
ariables for UE data generation
gen_nvram_path
=
$OPENAIR_DIR
/targets/bin
conf_nvram_path
=
$OPENAIR_DIR
/openair3/NAS/TOOLS/ue_eurecom_test_sfr.conf
...
...
@@ -47,12 +45,11 @@ UESIM_EXPANSION="False"
PRINT_STATS
=
"False"
VCD_TIMING
=
"False"
DEADLINE_SCHEDULER_FLAG_USER
=
""
CPU_AFFINITY_FLAG_USER
=
"False"
#Only valid when low
late
cy flag is set to False
CPU_AFFINITY_FLAG_USER
=
"False"
#Only valid when low
-laten
cy flag is set to False
REL
=
"Rel15"
NR_REL
=
"NR_Rel15"
HW
=
"None"
TP
=
"None"
NOS1
=
0
EPC
=
0
VERBOSE_COMPILE
=
0
CFLAGS_PROCESSOR_USER
=
""
...
...
@@ -164,8 +161,8 @@ Options
Print this help
Usage (first build):
NI/ETTUS B201 + COTS UE : ./build_oai -I
--eNB --install-system-files
-w USRP
Usage (
R
egular):
NI/ETTUS B201 + COTS UE : ./build_oai -I
-i --eNB
-w USRP
Usage (
r
egular):
Eurecom EXMIMO + OAI ENB : ./build_oai --eNB
NI/ETTUS B201 + OAI ENB : ./build_oai --eNB -w USRP"
}
...
...
@@ -287,10 +284,6 @@ function main() {
EXE_ARGUMENTS
=
"
$EXE_ARGUMENTS
-d"
echo_info
"Will generate the software oscilloscope features"
shift
;;
--noS1
)
NOS1
=
1
echo_info
"Will compile without S1 interface"
shift
;;
--HWLAT
)
HWLAT
=
1
echo_info
"Will compile hw latency test program"
...
...
@@ -388,9 +381,9 @@ function main() {
esac
done
###################################
######################
#
check if cov-build is installed
###################################
######################
###################################
#
Check if cov-build is installed #
###################################
if
[
"
$BUILD_COVERITY_SCAN
"
==
"1"
]
;
then
echo_info
"Checking cov-build is installed"
IS_INSTALLED
=
`
which cov-build |
grep
-c
cov-build
||
true
`
...
...
@@ -404,9 +397,9 @@ function main() {
CMAKE_CMD
=
"
$CMAKE_CMD
.."
echo_info
"CMAKE_CMD=
$CMAKE_CMD
"
########################################################
#
#
check validity of HW and TP parameters for eNB / gNB
########################################################
#
########################################################
#
Check validity of HW and TP parameters for eNB / gNB #
########################################################
# to be discussed
if
[
"
$eNB
"
=
"1"
-o
"
$gNB
"
=
"1"
]
;
then
...
...
@@ -452,9 +445,10 @@ function main() {
echo_error
"UHD images download settings will not be applied without -I present"
exit
fi
############################################
# setting and printing OAI envs, we should check here
############################################
#######################################################
# Setting and printing OAI envs, we should check here #
#######################################################
echo_info
"2. Setting the OAI PATHS ..."
...
...
@@ -471,7 +465,6 @@ function main() {
fi
fi
if
[
"
$CLEAN_ALL
"
=
"1"
]
;
then
clean_all_files
echo_info
"Erased all previously producted files"
...
...
@@ -525,15 +518,12 @@ function main() {
DIR
=
$OPENAIR_DIR
/cmake_targets
if
[
"
$NOS1
"
=
"1"
]
;
then
build_dir
=
noS1_ran_build
if
[
"
$gNB
"
=
"1"
]
;
then
exec
=
nr-softmodem-nos1
elif
[
"
$nrUE
"
=
"1"
]
;
then
exec
=
nr-uesoftmodem-nos1
fi
if
[
"
$T_TRACER
"
=
"False"
]
;
then
build_dir
=
ran_build_noLOG
else
build_dir
=
ran_build
fi
if
[
"
$gNB
"
=
"1"
]
;
then
exec
=
nr-softmodem
elif
[
"
$nrUE
"
=
"1"
]
;
then
...
...
@@ -543,15 +533,7 @@ function main() {
elif
[
"
$UE
"
=
"1"
]
;
then
exec
=
lte-uesoftmodem
fi
fi
if
[
"
$T_TRACER
"
=
"False"
]
;
then
noLOGDirsuffix
=
"_noLOG"
fi
lte_build_dir
=
lte_build_oai
bin_suffix
=
""
lte_build_dir
=
"lte_build_oai
${
noLOGDirsuffix
}
"
# configuration module libraries, one currently available, using libconfig
config_libconfig_shlib
=
params_libconfig
...
...
@@ -563,9 +545,6 @@ function main() {
mkdir
-p
$DIR
/
$build_dir
/build
cmake_file
=
$DIR
/
$build_dir
/CMakeLists.txt
echo
"cmake_minimum_required(VERSION 2.8)"
>
$cmake_file
if
[
"
$NOS1
"
=
"1"
]
;
then
cat
$DIR
/
$build_dir
/CMakeLists.template
>>
$cmake_file
fi
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( CFLAGS_PROCESSOR_USER
\"
$CFLAGS_PROCESSOR_USER
\"
)"
>>
$cmake_file
echo
"set ( UE_EXPANSION
$UE_EXPANSION
)"
>>
$cmake_file
...
...
@@ -600,23 +579,22 @@ function main() {
compilations
\
$build_dir
$config_libconfig_shlib
\
lib
$config_libconfig_shlib
.so
$dbin
/lib
$config_libconfig_shlib
.so
compilations
\
$build_dir
coding
\
libcoding.so
$dbin
/libcoding.so
# optional libs (used when noS1 with kernel modules)
if
[
"
$NOS1
"
=
"1"
-o
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
]
;
then
compilations
\
$build_dir
nasmesh
\
CMakeFiles/nasmesh/nasmesh.ko
$dbin
/nasmesh.ko
compilations
\
$build_dir
rb_tool
\
rb_tool
$dbin
/rb_tool
cp
$OPENAIR_DIR
/cmake_targets/tools/init_nas_nos1
$dbin
fi
fi
if
[
"
$UE
"
=
1
-a
"
$NOS1
"
=
"0"
]
;
then
if
[
"
$UE
"
=
1
]
;
then
# ue_ip driver compilation
echo_info
"Compiling UE specific part"
compilations
\
...
...
@@ -666,11 +644,12 @@ function main() {
eval
$CMAKE_CMD
fi
##################
# PHY simulators #
##################
if
[
"
$SIMUS_PHY
"
=
"1"
]
;
then
# lte unitary simulators compilation
echo_info
"Compiling unitary tests simulators"
echo_info
"Compiling physical unitary tests simulators"
# TODO: fix: dlsim_tm4 pucchsim prachsim pdcchsim pbchsim mbmssim
#simlist="dlsim_tm4 dlsim ulsim pucchsim prachsim pdcchsim pbchsim mbmssim"
simlist
=
"nr_pucchsim dlsim ulsim polartest ldpctest smallblocktest nr_pbchsim nr_dlschsim nr_dlsim nr_ulschsim nr_ulsim"
for
f
in
$simlist
;
do
compilations
\
...
...
@@ -685,11 +664,11 @@ function main() {
# lib$config_libconfig_shlib.so $dbin/lib$config_libconfig_shlib.so
fi
# Core simulators
#############
###################
# Core simulators #
###################
if
[
"
$SIMUS_CORE
"
=
"1"
]
;
then
# lte unitary simulators compilation
echo_info
"Compiling unitary tests simulators"
echo_info
"Compiling security unitary tests simulators"
simlist
=
"secu_knas_encrypt_eia1 secu_kenb aes128_ctr_encrypt aes128_ctr_decrypt secu_knas_encrypt_eea2 secu_knas secu_knas_encrypt_eea1 kdf aes128_cmac_encrypt secu_knas_encrypt_eia2"
for
f
in
$simlist
;
do
compilations
\
...
...
@@ -698,10 +677,10 @@ function main() {
done
fi
# EXMIMO drivers & firmware loader
###############
####################################
# EXMIMO drivers & firmware loader #
####################################
if
[
"
$HW
"
=
"EXMIMO"
]
;
then
echo_info
"Compiling Express MIMO 2 board drivers"
compilations
\
$build_dir
openair_rf
\
...
...
@@ -720,17 +699,19 @@ function main() {
cp
$OPENAIR_DIR
/cmake_targets/tools/init_exmimo2
$dbin
fi
# optional libraries
#####################
######################
# Optional libraries #
######################
if
[
!
-z
"
$BUILD_OPTLIB
"
]
;
then
for
oklib
in
$BUILD_OPTLIB
;
do
compilations
\
$
lte_
build_dir
$oklib
\
$build_dir
$oklib
\
lib
${
oklib
}
.so
$dbin
/lib
${
oklib
}
.so
done
fi
# HWLAT compilation
#####################
# HWLAT compilation #
#####################
if
[
"
$HWLAT
"
=
"1"
]
;
then
...
...
@@ -746,20 +727,20 @@ function main() {
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
echo
'set ( PACKAGE_NAME "\"lte-hwlat\"")'
>>
$cmake_file
echo
"set ( DEADLINE_SCHEDULER
\"
${
DEADLINE_SCHEDULER_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( CPU_AFFINITY
\"
${
CPU_AFFINITY_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( HWLAT
\"
${
HWLAT
}
\"
)"
>>
$cmake_file
echo
"set ( DEADLINE_SCHEDULER
\"
${
DEADLINE_SCHEDULER_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( CPU_AFFINITY
\"
${
CPU_AFFINITY_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( HWLAT
\"
${
HWLAT
}
\"
)"
>>
$cmake_file
echo
'include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)'
>>
$cmake_file
cd
$DIR
/
$hwlat_build_dir
/build
cmake ..
compilations
\
lte-hwlat lte-hwlat
\
lte-hwlat
$dbin
/lte-hwlat
fi
# HWLAT_TEST compilation
#####################
##########################
# HWLAT_TEST compilation #
##########################
if
[
"
$HWLAT_TEST
"
=
"1"
]
;
then
hwlat_test_exec
=
lte-hwlat-test
...
...
@@ -774,20 +755,20 @@ function main() {
echo
"set ( CMAKE_BUILD_TYPE
$CMAKE_BUILD_TYPE
)"
>>
$cmake_file
echo
"set ( RF_BOARD
\"
${
HW
}
\"
)"
>>
$cmake_file
echo
'set ( PACKAGE_NAME "\"lte-hwlat-test\"")'
>>
$cmake_file
echo
"set ( DEADLINE_SCHEDULER
\"
${
DEADLINE_SCHEDULER_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( CPU_AFFINITY
\"
${
CPU_AFFINITY_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( HWLAT
\"
${
HWLAT
}
\"
)"
>>
$cmake_file
echo
"set ( DEADLINE_SCHEDULER
\"
${
DEADLINE_SCHEDULER_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( CPU_AFFINITY
\"
${
CPU_AFFINITY_FLAG_USER
}
\"
)"
>>
$cmake_file
echo
"set ( HWLAT
\"
${
HWLAT
}
\"
)"
>>
$cmake_file
echo
'include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)'
>>
$cmake_file
cd
$DIR
/
$hwlat_test_build_dir
/build
cmake ..
compilations
\
lte-hwlat-test lte-hwlat-test
\
lte-hwlat-test
$dbin
/lte-hwlat-test
fi
# build RF device and transport protocol libraries
#####################################
####################################################
# Build RF device and transport protocol libraries #
####################################################
if
[
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$nrUE
"
=
"1"
-o
"
$HWLAT
"
=
"1"
]
;
then
# build RF device libraries
...
...
@@ -798,25 +779,12 @@ function main() {
# link liboai_device.so with the selected RF device library
if
[
"
$HW
"
==
"EXMIMO"
]
;
then
compilations
\
$lte_
build_dir
oai_exmimodevif
\
$
build_dir
oai_exmimodevif
\
liboai_exmimodevif.so
$dbin
/liboai_exmimodevif.so.
$REL
ln
-sf
liboai_exmimodevif.so liboai_device.so
ln
-sf
$dbin
/liboai_exmimodevif.so.
$REL
$dbin
/liboai_device.so
echo_info
"liboai_device.so is linked to EXMIMO device library"
elif
[
"
$HW
"
==
"OAI_ADRV9371_ZC706"
]
;
then
SYRIQ_KVER
=
$(
uname
-r
)
SYRIQ_KMAJ
=
$(
echo
$SYRIQ_KVER
|
sed
-e
's/^\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*.*/\1/'
)
SYRIQ_KMIN
=
$(
echo
$SYRIQ_KVER
|
sed
-e
's/^[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*.*/\1/'
)
#echo $SYRIQ_KMAJ$SYRIQ_KMIN
if
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"319"
]
||
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"410"
]
||
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"415"
]
;
then
# echo "Kernel $SYRIQ_KMAJ.$SYRIQ_KMIN detected"
ln
-sf
/usr/local/lib/syriq/libadrv9371zc706.so liboai_device.so
else
echo_error
"== FAILED == Unexpected Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
fi
echo_info
"liboai_device.so is linked to ADRV9371_ZC706 device library for Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
elif
[
"
$HW
"
==
"OAI_USRP"
]
;
then
compilations
\
$build_dir
oai_usrpdevif
\
...
...
@@ -828,7 +796,7 @@ function main() {
elif
[
"
$HW
"
==
"OAI_BLADERF"
]
;
then
if
[
-f
"/usr/include/libbladeRF.h"
]
;
then
compilations
\
$lte_
build_dir
oai_bladerfdevif
\
$
build_dir
oai_bladerfdevif
\
liboai_bladerfdevif.so
$dbin
/liboai_bladerfdevif.so.
$REL
fi
...
...
@@ -836,63 +804,77 @@ function main() {
ln
-sf
$dbin
/liboai_bladerfdevif.so.
$REL
$dbin
/liboai_device.so
echo_info
"liboai_device.so is linked to BLADERF device library"
elif
[
"
$HW
"
==
"OAI_LMSSDR"
]
;
then
#
if [ -f "/usr/include/libbladeRF.h" ] ; then
#
if [ -f "/usr/include/libbladeRF.h" ] ; then
compilations
\
$lte_
build_dir
oai_lmssdrdevif
\
$
build_dir
oai_lmssdrdevif
\
liboai_lmssdrdevif.so
$dbin
/liboai_lmssdrdevif.so.
$REL
#
fi
#
fi
ln
-sf
liboai_lmssdrdevif.so liboai_device.so
ln
-sf
$dbin
/liboai_lmssdrdevif.so.
$REL
$dbin
/liboai_device.so
echo_info
"liboai_device.so is linked to LMSSDR device library"
elif
[
"
$HW
"
==
"OAI_IRIS"
]
;
then
compilations
\
$lte_
build_dir
oai_irisdevif
\
$
build_dir
oai_irisdevif
\
liboai_irisdevif.so
$dbin
/liboai_irisdevif.so.
$REL
ln
-s
liboai_irisdevif.so liboai_device.so
ln
-s
$dbin
/liboai_irisdevif.so.
$REL
$dbin
/liboai_device.so
echo_info
"liboai_device.so is linked to IRIS device library"
elif
[
"
$HW
"
==
"OAI_ADRV9371_ZC706"
]
;
then
SYRIQ_KVER
=
$(
uname
-r
)
SYRIQ_KMAJ
=
$(
echo
$SYRIQ_KVER
|
sed
-e
's/^\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*.*/\1/'
)
SYRIQ_KMIN
=
$(
echo
$SYRIQ_KVER
|
sed
-e
's/^[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*.*/\1/'
)
# echo $SYRIQ_KMAJ$SYRIQ_KMIN
if
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"319"
]
||
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"410"
]
||
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"415"
]
;
then
# echo "Kernel $SYRIQ_KMAJ.$SYRIQ_KMIN detected"
ln
-sf
/usr/local/lib/syriq/libadrv9371zc706.so liboai_device.so
else
echo_error
"== FAILED == Unexpected Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
fi
echo_info
"liboai_device.so is linked to ADRV9371_ZC706 device library for Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
else
echo_info
"liboai_device.so is not linked to any device library"
fi
fi
fi
# build simulators devices
if
[
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
]
;
then
#build simulators devices
echo_info
"Compiling rfsimulator"
compilations
\
$lte_
build_dir
rfsimulator
\
$
build_dir
rfsimulator
\
librfsimulator.so
$dbin
/librfsimulator.so.
$REL
echo_info
"Compiling basicsimulator"
compilations
\
$lte_
build_dir
tcp_bridge_oai
\
$
build_dir
tcp_bridge_oai
\
libtcp_bridge_oai.so
$dbin
/libtcp_bridge_oai.so.
$REL
# build transport protocol libraries (currently only ETHERNET is available)
fi
if
[
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$nrUE
"
=
"1"
-o
"
$HWLAT
"
=
"1"
]
;
then
#build transport protocol libraries (currently only ETHERNET is available)
if
[
"
$TP
"
!=
"None"
]
;
then
rm
-f
liboai_transpro.so
rm
-f
$dbin
/liboai_transpro.so
if
[
"
$TP
"
==
"ETHERNET"
]
;
then
compilations
\
$lte_
build_dir
oai_eth_transpro
\
$
build_dir
oai_eth_transpro
\
liboai_eth_transpro.so
$dbin
/liboai_eth_transpro.so.
$REL
ln
-sf
liboai_eth_transpro.so liboai_transpro.so
ln
-sf
$dbin
/liboai_eth_transpro.so.
$REL
$dbin
/liboai_transpro.so
echo_info
"liboai_transpro.so is linked to ETHERNET transport"
fi
if
[
"
$RFSIMULATOR
"
==
"true"
-o
"
$HW
"
==
"OAI_SIMU"
]
;
then
echo_info
"Compiling rfsimulator"
compilations
\
$lte_build_dir
rfsimulator
\
librfsimulator.so
$dbin
/librfsimulator.so.
$REL
fi
fi
# Doxygen Support
#####################
if
[
"
$BUILD_DOXYGEN
"
=
"1"
]
;
then
###################
# Doxygen Support #
###################
if
[
"
$BUILD_DOXYGEN
"
=
"1"
]
;
then
doxygen_log
=
$OPENAIR_DIR
/cmake_targets/log/doxygen.log
echo_info
"Building
d
oxygen based documentation. The documentation file is located here:
$OPENAIR_DIR
/targets/DOCS/html/index.html"
echo_info
"Doxygen
G
eneration log is located here:
$doxygen_log
"
echo_info
"Generating
d
oxygen files....please wait"
echo_info
"Building
D
oxygen based documentation. The documentation file is located here:
$OPENAIR_DIR
/targets/DOCS/html/index.html"
echo_info
"Doxygen
g
eneration log is located here:
$doxygen_log
"
echo_info
"Generating
D
oxygen files....please wait"
(
[
"
$CLEAN
"
=
"1"
]
&&
rm
-rf
$OPENAIR_DIR
/cmake_targets/doxygen/build
mkdir
-p
$OPENAIR_DIR
/cmake_targets/doxygen/build
...
...
@@ -902,9 +884,10 @@ function main() {
)
>
&
$doxygen_log
fi
# Auto-tests
#####################
if
[
"
$OAI_TEST
"
=
"1"
]
;
then
##############
# Auto-tests #
##############
if
[
"
$OAI_TEST
"
=
"1"
]
;
then
echo_info
"10. Running OAI pre commit tests (pre-ci) ..."
echo_error
"These scripts ASSUME that user is in /etc/sudoers and can execute commands without PASSWORD prompt"
echo_error
"Add the following lines in /etc/sudoers file to make your __user_name__ sudo without password prompt"
...
...
@@ -912,7 +895,7 @@ function main() {
echo_error
" __your_user_name__ ALL = (ALL) NOPASSWD: ALL "
echo_info
"The log file for the autotest script for debugging is located here:
$OPENAIR_DIR
/cmake_targets/autotests/log/autotests.log "
echo_info
"The results of autotests results is located here:
$OPENAIR_DIR
/cmake_targets/autotests/log/results_autotests.xml "
echo_info
"You can hit CTRL-C any time to terminate the autotests..."
echo_info
"You can hit CTRL-C a
t a
ny time to terminate the autotests..."
echo
"Current User Name:
$USER
"
read
-s
-p
"Enter Password: "
mypassword
echo
-e
"
\n
"
...
...
cmake_targets/noS1_ran_build/CMakeLists.template
deleted
100644 → 0
View file @
0796848d
set ( DEBUG_OMG False )
set ( DISABLE_XER_PRINT False )
set ( DRIVER2013 True )
set ( ENABLE_ITTI True )
set ( ENABLE_NAS_UE_LOGGING False )
set ( ENABLE_NEW_MULTICAST True )
set ( ENABLE_RAL False )
set ( ENABLE_SECURITY False )
set ( ENABLE_STANDALONE_EPC False)
set ( ENABLE_USE_CPU_EXECUTION_TIME True )
set ( ENABLE_USE_MME False )
set ( ENABLE_USE_RAW_SOCKET_FOR_SGI False)
set ( ENABLE_VCD_FIFO False )
set ( ENB_MODE True )
set ( EXMIMO_IOT True )
set ( JUMBO_FRAME True )
set ( LARGE_SCALE False )
set ( LINK_ENB_PDCP_TO_GTPV1U False)
set ( LINUX_LIST False )
set ( LINUX True )
set ( LOCALIZATION False )
set ( LOG_NO_THREAD 1 )
set ( DEADLINE_SCHEDULER False )
set ( MAC_CONTEXT 1 )
set ( MAX_NUM_CCs 1 )
set ( MESSAGE_CHART_GENERATOR False )
set ( MESSAGE_CHART_GENERATOR_RLC_MAC False )
set ( MESSAGE_CHART_GENERATOR_PHY False )
set ( MSG_PRINT False )
set ( MU_RECEIVER False )
set ( NAS_ADDRESS_FIX False )
set ( NAS_BUILT_IN_UE False)
set ( NAS_MME False )
set ( NAS_UE False )
set ( NB_ANTENNAS_RX "2" )
set ( NB_ANTENNAS_TX "2" )
set ( NO_RRM True )
set ( OAISIM False )
set ( OAI_NW_DRIVER_TYPE_ETHERNET False )
set ( OAI_NW_DRIVER_USE_NETLINK True )
set ( OPENAIR2 True )
set ( OPENAIR_LTE True )
set ( PACKAGE_NAME "nr-softmodem-nos1" )
set ( PDCP_USE_NETLINK True )
set ( PDCP_MSG_PRINT False )
set ( PHY_CONTEXT False )
set ( PHY_EMUL False )
set ( PHYSIM True )
set ( RF_BOARD "False" )
set ( RRC_ASN1_VERSION "Rel15" )
set ( RLC_STOP_ON_LOST_PDU False )
set ( RRC_MSG_PRINT False )
set ( SECU False )
set ( SMBV False )
set ( TEST_OMG False )
set ( USE_3GPP_ADDR_AS_LINK_ADDR False )
set ( USE_MME "R10" )
set ( XER_PRINT False )
set ( DEBUG_PHY False )
set ( DEBUG_PHY_PROC False)
set ( DEBUG_DLSCH False)
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
6c49f603
...
...
@@ -67,6 +67,7 @@
#include "common/config/config_load_configmodule.h"
#include "PHY/INIT/phy_init.h"
#include "nfapi/oai_integration/vendor_ext.h"
#include "targets/RT/USER/lte-softmodem.h"
void
feptx_ofdm
(
RU_t
*
ru
,
int
frame
,
int
subframe
);
void
feptx_prec
(
RU_t
*
ru
,
int
frame
,
int
subframe
);
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
6c49f603
...
...
@@ -39,7 +39,7 @@
#include "PHY/defs_eNB.h"
#include "PHY/defs_UE.h"
#include "PHY/phy_vars.h"
#include "targets/RT/USER/lte-softmodem.h"
#include "SCHED/sched_common_vars.h"
#include "SCHED/sched_eNB.h"
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
6c49f603
...
...
@@ -195,7 +195,7 @@ int main(int argc, char **argv)
cpuf
=
get_cpu_freq_GHz
();
if
(
load_configmodule
(
argc
,
argv
,
CONFIG_ENABLECMDLINEONLY
)
==
0
)
{
if
(
load_configmodule
(
argc
,
argv
,
CONFIG_ENABLECMDLINEONLY
)
==
0
)
{
exit_fun
(
"[SOFTMODEM] Error, configuration module init failed
\n
"
);
}
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
6c49f603
...
...
@@ -186,7 +186,7 @@ int main(int argc, char **argv) {
UE_nr_rxtx_proc_t
UE_proc
;
if
(
load_configmodule
(
argc
,
argv
)
==
0
)
{
if
(
load_configmodule
(
argc
,
argv
,
CONFIG_ENABLECMDLINEONLY
)
==
0
)
{
exit_fun
(
"[SOFTMODEM] Error, configuration module init failed
\n
"
);
}
...
...
targets/RT/USER/lte-ue.c
View file @
6c49f603
...
...
@@ -59,7 +59,6 @@
#include "UTIL/MATH/oml.h"
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "UTIL/OPT/opt.h"
#include "lte-softmodem.h"
#include "common/config/config_userapi.h"
#include "T.h"
...
...
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