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
974fd7ed
Commit
974fd7ed
authored
May 16, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5325
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
af6f5a38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
targets/PROJECTS/CENTOS-LTE-EPC-INTEGRATION/start_enb.bash
targets/PROJECTS/CENTOS-LTE-EPC-INTEGRATION/start_enb.bash
+13
-6
No files found.
targets/PROJECTS/CENTOS-LTE-EPC-INTEGRATION/start_enb.bash
View file @
974fd7ed
...
...
@@ -45,7 +45,7 @@
###########################################################
# Parameters
###########################################################
declare
MAKE_LTE_ACCESS_STRATUM_TARGET_RT
=
"lte-softmodem HARD_RT=1 ENABLE_ITTI=1 USE_MME=R10 LINK_PDCP_TO_GTPV1U=1 DISABLE_XER_PRINT=1 SECU=1 RRC_MSG_PRINT=1 "
declare
MAKE_LTE_ACCESS_STRATUM_TARGET_RT
=
"lte-softmodem
DEBUG=1
HARD_RT=1 ENABLE_ITTI=1 USE_MME=R10 LINK_PDCP_TO_GTPV1U=1 DISABLE_XER_PRINT=1 SECU=1 RRC_MSG_PRINT=1 "
###########################################################
THIS_SCRIPT_PATH
=
$(
dirname
$(
readlink
-f
$0
))
...
...
@@ -125,9 +125,10 @@ clean() {
}
build
()
{
cd
$OPENAIR_TARGETS
/ARCH/EXMIMO/DRIVER/eurecom
&&
make
||
exit
1
cd
$OPENAIR_TARGETS
/ARCH/EXMIMO/USERSPACE/OAI_FW_INIT
&&
make
||
exit
1
cd
$OPENAIR_TARGETS
/ARCH/EXMIMO/DRIVER/eurecom
&&
make
-j
`
grep
-c
^processor /proc/cpuinfo
`
||
exit
1
cd
$OPENAIR_TARGETS
/ARCH/EXMIMO/USERSPACE/OAI_FW_INIT
&&
make
-j
`
grep
-c
^processor /proc/cpuinfo
`
||
exit
1
make
--directory
=
$OPENAIR_TARGETS
/RTAI/USER
$MAKE_LTE_ACCESS_STRATUM_TARGET_RT
-j
`
grep
-c
^processor /proc/cpuinfo
`
||
exit
1
make
--directory
=
$OPENAIR_TARGETS
/RTAI/USER
$MAKE_LTE_ACCESS_STRATUM_TARGET_RT
||
exit
1
}
##################################################
...
...
@@ -136,12 +137,18 @@ build() {
for
arg
in
"
$@
"
do
case
"
$arg
"
in
rebuild
)
clean
;
build
;
build
;
build
;
build
rebuild
)
clean
;
build
;;
rebuildonly
)
clean
;
build
;
exit
0
;;
build
)
build
;;
buildonly
)
build
;
exit
0
;;
*
)
;;
esac
...
...
@@ -203,8 +210,8 @@ fi
cd
$OPENAIR_TARGETS
/RTAI/USER
bash ./init_exmimo2.sh
echo_warning
"STARTING SOFTMODEM..."
cat
/dev/rtf62
>
$STDOUT_LOG_FILE
&
./lte-softmodem
-K
$ITTI_LOG_FILE
-O
$CONFIG_FILE_ENB
--ulsch-max-errors
=
4
0 2>&1
#
cat /dev/rtf62 > $STDOUT_LOG_FILE &
gdb
--args
./lte-softmodem
-K
$ITTI_LOG_FILE
-O
$CONFIG_FILE_ENB
--ulsch-max-errors
=
2
0 2>&1
cd
$THIS_SCRIPT_PATH
sync
pkill tshark
...
...
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