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
ba9d4102
Commit
ba9d4102
authored
Dec 10, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6236
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
999c4371
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
24 deletions
+37
-24
targets/build_oai.bash
targets/build_oai.bash
+37
-24
No files found.
targets/build_oai.bash
View file @
ba9d4102
...
...
@@ -688,25 +688,28 @@ esac
############################################
echo_info
"11. Running ... To be completed"
cd
$OPENAIR_TARGETS
/bin
if
[
$BUILD_LTE
==
"ENB"
]
;
then
if
[
$TARGET
==
"SOFTMODEM"
]
;
then
if
[
$HW
==
"EXMIMO"
]
;
then
$SUDO
chmod
777
$OPENAIR_TARGETS
/RT/USER/init_exmimo2.sh
$SUDO
$OPENAIR_TARGETS
/RT/USER/init_exmimo2.sh
fi
echo
"############# running ltesoftmodem #############"
if
[
$RUN_GDB
-eq
0
]
;
then
$SUDO
exec
$OPENAIR_TARGETS
/bin/lte-softmodem
`
echo
$EXE_ARGUMENTS
`
else
$SUDO
touch
~/.gdb_lte_softmodem
$SUDO
echo
"file
$OPENAIR_TARGETS
/bin/lte-softmodem"
>
~/.gdb_lte_softmodem
$SUDO
echo
"set args
$EXE_ARGUMENTS
"
>>
~/.gdb_lte_softmodem
$SUDO
echo
"run"
>>
~/.gdb_lte_softmodem
$SUDO
gdb
-nh
-x
~/.gdb_lte_softmodem 2>&1
case
"
$BUILD_LTE
"
in
'ENB'
)
if
[
$TARGET
==
"SOFTMODEM"
]
;
then
if
[
$HW
==
"EXMIMO"
]
;
then
$SUDO
chmod
777
$OPENAIR_TARGETS
/RT/USER/init_exmimo2.sh
$SUDO
$OPENAIR_TARGETS
/RT/USER/init_exmimo2.sh
fi
echo
"############# running ltesoftmodem #############"
if
[
$RUN_GDB
-eq
0
]
;
then
$SUDO
exec
$OPENAIR_TARGETS
/bin/lte-softmodem
`
echo
$EXE_ARGUMENTS
`
else
$SUDO
touch
~/.gdb_lte_softmodem
$SUDO
echo
"file
$OPENAIR_TARGETS
/bin/lte-softmodem"
>
~/.gdb_lte_softmodem
$SUDO
echo
"set args
$EXE_ARGUMENTS
"
>>
~/.gdb_lte_softmodem
$SUDO
echo
"run"
>>
~/.gdb_lte_softmodem
$SUDO
gdb
-nh
-x
~/.gdb_lte_softmodem 2>&1
fi
fi
fi
else
if
[
$BUILD_LTE
==
"EPC"
]
;
then
;;
'EPC'
)
echo
"############# running epc #############"
if
[
$RUN_GDB
-eq
0
]
;
then
$SUDO
exec
$OPENAIR_TARGETS
/bin/oai_epc
`
echo
$EXE_ARGUMENTS
`
...
...
@@ -717,11 +720,21 @@ else
$SUDO
echo
"run"
>>
~/.gdb_epc
$SUDO
gdb
-nh
-x
~/.gdb_epc 2>&1
fi
echo_info
"7. run EPC (check the bin/epc.generic.conf params)"
cd
bin/
$SUDO
./oai_epc
-c
./epc.generic.conf
-K
/tmp/itti.log
;;
'HSS'
)
echo_warning
"TODO execute HSS: Experimental"
;;
'NONE'
)
;;
*
)
echo_error
"Unknown option
$BUILD_LTE
: do not execute"
;;
esac
fi
fi
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