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
Michael Black
OpenXG-RAN
Commits
fbab5136
Commit
fbab5136
authored
May 06, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5304
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
6f65c6ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
targets/PROJECTS/GENERIC-LTE-EPC/start_enb.bash
targets/PROJECTS/GENERIC-LTE-EPC/start_enb.bash
+12
-2
No files found.
targets/PROJECTS/GENERIC-LTE-EPC/start_enb.bash
View file @
fbab5136
...
@@ -231,10 +231,17 @@ if [ x$hard_real_time != "xyes" ]; then
...
@@ -231,10 +231,17 @@ if [ x$hard_real_time != "xyes" ]; then
else
else
echo_warning
"HARD REAL TIME MODE"
echo_warning
"HARD REAL TIME MODE"
PATH
=
$PATH
:/usr/realtime/bin
PATH
=
$PATH
:/usr/realtime/bin
make
--directory
=
$OPENAIR_TARGETS
/RTAI/USER drivers
||
exit
1
#make --directory=$OPENAIR_TARGETS/RTAI/USER drivers || exit 1
# 2 lines below replace the line above
cd
$OPENAIR_TARGETS
/ARCH/EXMIMO/DRIVER/eurecom
&&
make clean
&&
make
||
exit
1
cd
$OPENAIR_TARGETS
/ARCH/EXMIMO/USERSPACE/OAI_FW_INIT
&&
make clean
&&
make
||
exit
1
cd
$THIS_SCRIPT_PATH
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
-j
`
grep
-c
^processor /proc/cpuinfo
`
||
exit
1
if
[
!
-f
/tmp/init_rt_done.tmp
]
;
then
if
[
!
-f
/tmp/init_rt_done.tmp
]
;
then
echo_warning
"STARTING REAL TIME (RTAI)"
insmod /usr/realtime/modules/rtai_hal.ko
>
/dev/null 2>&1
insmod /usr/realtime/modules/rtai_hal.ko
>
/dev/null 2>&1
insmod /usr/realtime/modules/rtai_sched.ko
>
/dev/null 2>&1
insmod /usr/realtime/modules/rtai_sched.ko
>
/dev/null 2>&1
insmod /usr/realtime/modules/rtai_sem.ko
>
/dev/null 2>&1
insmod /usr/realtime/modules/rtai_sem.ko
>
/dev/null 2>&1
...
@@ -243,10 +250,13 @@ else
...
@@ -243,10 +250,13 @@ else
echo
"1"
>
/sys/bus/pci/rescan
echo
"1"
>
/sys/bus/pci/rescan
touch
/tmp/init_rt_done.tmp
touch
/tmp/init_rt_done.tmp
chmod
666 /tmp/init_rt_done.tmp
chmod
666 /tmp/init_rt_done.tmp
else
echo_warning
"REAL TIME FOUND STARTED (RTAI)"
fi
fi
cd
$OPENAIR_TARGETS
/RTAI/USER
cd
$OPENAIR_TARGETS
/RTAI/USER
./init_exmimo2.sh
bash ./init_exmimo2.sh
echo_warning
"STARTING SOFTMODEM..."
./lte-softmodem
-K
$ITTI_LOG_FILE
-O
$CONFIG_FILE_ENB
2>&1
./lte-softmodem
-K
$ITTI_LOG_FILE
-O
$CONFIG_FILE_ENB
2>&1
#cat /dev/rtf62 > $STDOUT_LOG_FILE
#cat /dev/rtf62 > $STDOUT_LOG_FILE
cd
$THIS_SCRIPT_PATH
cd
$THIS_SCRIPT_PATH
...
...
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