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
canghaiwuhen
OpenXG-RAN
Commits
532eed10
Commit
532eed10
authored
Jul 16, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5520
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
63332f81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
19 deletions
+12
-19
targets/PROJECTS/GENERIC-LTE-EPC/start_enb_and_ue_virt.bash
targets/PROJECTS/GENERIC-LTE-EPC/start_enb_and_ue_virt.bash
+9
-17
targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash
targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash
+2
-2
targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
+1
-0
No files found.
targets/PROJECTS/GENERIC-LTE-EPC/start_enb_and_ue_virt.bash
View file @
532eed10
...
...
@@ -123,32 +123,23 @@ if [ $? -eq 1 ]; then
fi
#######################################################
# USIM, NVRAM files
#######################################################
export
NVRAM_DIR
=
$THIS_SCRIPT_PATH
if
[
!
-f
$OPENAIRCN_DIR
/NAS/EURECOM-NAS/bin/ue_data
]
;
then
if
[
!
-f
$OPENAIRCN_DIR
/NAS/EURECOM-NAS/bin/ue_data
]
||
[
!
-f
$OPENAIRCN_DIR
/NAS/EURECOM-NAS/bin/usim_data
]
;
then
if
[
!
-f
/tmp/nas_cleaned
]
;
then
echo_success
"make --directory=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS veryveryclean"
make
--directory
=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS veryveryclean
fi
echo_success
"make --directory=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS
PROCESS=UE
"
make
-v
--directory
=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS
-f
Makefile
PROCESS
=
UE
echo_success
"make --directory=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS
-f Makefile PROCESS=UE all
"
make
-f
Makefile
--debug
=
b
--directory
=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS
PROCESS
=
UE all
rm
.ue.nvram
touch
/tmp/nas_cleaned
fi
if
[
!
-f
$OPENAIRCN_DIR
/NAS/EURECOM-NAS/bin/usim_data
]
;
then
if
[
!
-f
/tmp/nas_cleaned
]
;
then
echo_success
"make --directory=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS veryveryclean"
make
--directory
=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS veryveryclean
fi
echo_success
"make --directory=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS PROCESS=UE"
make
--directory
=
$OPENAIRCN_DIR
/NAS/EURECOM-NAS
PROCESS
=
UE
rm
.usim.nvram
rm
/tmp/nas_cleaned
touch
/tmp/nas_cleaned
fi
if
[
!
-f
.ue.nvram
]
;
then
echo_success
"generate .ue_emm.nvram .ue.nvram"
$OPENAIRCN_DIR
/NAS/EURECOM-NAS/bin/ue_data
--gen
...
...
@@ -171,12 +162,13 @@ echo_success "make $MAKE_IP_DRIVER_TARGET $MAKE_LTE_ACCESS_STRATUM_TARGET ....."
#bash_exec "make --directory=$OPENAIR2_DIR $MAKE_IP_DRIVER_TARGET "
make
--directory
=
$OPENAIR2_DIR
$MAKE_IP_DRIVER_TARGET
||
exit
1
echo_success
"make --debug=b --directory=
$OPENAIR_TARGETS
/SIMU/USER
$MAKE_LTE_ACCESS_STRATUM_TARGET
|| exit 1"
#bash_exec "make --directory=$OPENAIR_TARGETS/SIMU/USER $MAKE_LTE_ACCESS_STRATUM_TARGET "
#make --directory=$OPENAIR_TARGETS/SIMU/USER $MAKE_LTE_ACCESS_STRATUM_TARGET -j`grep -c ^processor /proc/cpuinfo ` || exit 1
make
--debug
=
b
--directory
=
$OPENAIR_TARGETS
/SIMU/USER
$MAKE_LTE_ACCESS_STRATUM_TARGET
||
exit
1
echo_success
"Bringup UE interface..."
bash_exec
"insmod
$OPENAIR2_DIR
/NETWORK_DRIVER/UE_IP/
$IP_DRIVER_NAME
.ko"
...
...
@@ -239,10 +231,10 @@ cd $THIS_SCRIPT_PATH
# To start NAS connectivity: AT+CFUN=1
# nohup xterm -hold -e $OPENAIRCN_DIR/NAS/EURECOM-NAS/bin/UserProcess &
$OPENAIR_TARGETS
/SIMU/USER/oaisim
-a
-u1
-l9
-K
OUTPUT/
$HOSTNAME
/
$ITTI_LOG_FILE
--enb-conf
$CONFIG_FILE_ENB
2>&1 |
tee
OUTPUT/
$HOSTNAME
/
$STDOUT_LOG_FILE
gdb
--args
$OPENAIR_TARGETS
/SIMU/USER/oaisim
-a
-u1
-l9
-K
OUTPUT/
$HOSTNAME
/
$ITTI_LOG_FILE
--enb-conf
$CONFIG_FILE_ENB
2>&1 |
tee
OUTPUT/
$HOSTNAME
/
$STDOUT_LOG_FILE
# > OUTPUT/$HOSTNAME/$STDOUT_LOG_FILE
# | tee OUTPUT/$HOSTNAME/$STDOUT_LOG_FILE
#pkill tshark
echo_warning
"oaisim ended, filtering stdout form oaisim"
cat
OUTPUT/
$HOSTNAME
/
$STDOUT_LOG_FILE
|
grep
'RRC\|S1AP\|SCTP\|PDCP\|NAS\|RLC'
|
grep
-v
'RRC_MAC_IN_SYNC_IND'
>
OUTPUT/
$HOSTNAME
/
$STDOUT_LOG_FILE
.filtered
targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash
View file @
532eed10
...
...
@@ -195,7 +195,7 @@ then
bash_exec
"./autogen.sh"
cd
./
$OBJ_DIR
echo_success
"Invoking configure"
../configure
--enable-standalone-epc
--enable-raw-socket-for-sgi
LDFLAGS
=
-L
/usr/local/lib
../configure
HAVE_CHECK
=
true
--enable-standalone-epc
--enable-raw-socket-for-sgi
LDFLAGS
=
-L
/usr/local/lib
else
cd
./
$OBJ_DIR
fi
...
...
@@ -339,5 +339,5 @@ nohup tshark -i $MME_INTERFACE_NAME_FOR_S6A -w $THIS_SCRIPT_PATH/OUTPUT/$HOST
cd
$OPENAIRCN_DIR
/
$OBJ_DIR
$OPENAIRCN_DIR
/
$OBJ_DIR
/OAI_EPC/oai_epc
-K
$THIS_SCRIPT_PATH
/OUTPUT/
$HOSTNAME
/
$ITTI_LOG_FILE
-c
$THIS_SCRIPT_PATH
/
$CONFIG_FILE_EPC
2>&1 |
tee
$THIS_SCRIPT_PATH
/OUTPUT/
$HOSTNAME
/
$STDOUT_LOG_FILE
gdb
--args
$OPENAIRCN_DIR
/
$OBJ_DIR
/OAI_EPC/oai_epc
-K
$THIS_SCRIPT_PATH
/OUTPUT/
$HOSTNAME
/
$ITTI_LOG_FILE
-c
$THIS_SCRIPT_PATH
/
$CONFIG_FILE_EPC
2>&1 |
tee
$THIS_SCRIPT_PATH
/OUTPUT/
$HOSTNAME
/
$STDOUT_LOG_FILE
targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
View file @
532eed10
...
...
@@ -471,6 +471,7 @@ check_install_epc_software() {
test_install_package automake
test_install_package bison
test_install_package build-essential
test_install_package check
test_install_package cmake
test_install_package cmake-curses-gui
test_install_package ethtool
...
...
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