Commit ba9d4102 authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6236 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 999c4371
...@@ -688,25 +688,28 @@ esac ...@@ -688,25 +688,28 @@ esac
############################################ ############################################
echo_info "11. Running ... To be completed" echo_info "11. Running ... To be completed"
cd $OPENAIR_TARGETS/bin cd $OPENAIR_TARGETS/bin
if [ $BUILD_LTE == "ENB" ]; then case "$BUILD_LTE" in
if [ $TARGET == "SOFTMODEM" ]; then 'ENB')
if [ $HW == "EXMIMO" ]; then if [ $TARGET == "SOFTMODEM" ]; then
$SUDO chmod 777 $OPENAIR_TARGETS/RT/USER/init_exmimo2.sh if [ $HW == "EXMIMO" ]; then
$SUDO $OPENAIR_TARGETS/RT/USER/init_exmimo2.sh $SUDO chmod 777 $OPENAIR_TARGETS/RT/USER/init_exmimo2.sh
fi $SUDO $OPENAIR_TARGETS/RT/USER/init_exmimo2.sh
echo "############# running ltesoftmodem #############" fi
if [ $RUN_GDB -eq 0 ]; then echo "############# running ltesoftmodem #############"
$SUDO exec $OPENAIR_TARGETS/bin/lte-softmodem `echo $EXE_ARGUMENTS` if [ $RUN_GDB -eq 0 ]; then
else $SUDO exec $OPENAIR_TARGETS/bin/lte-softmodem `echo $EXE_ARGUMENTS`
$SUDO touch ~/.gdb_lte_softmodem else
$SUDO echo "file $OPENAIR_TARGETS/bin/lte-softmodem" > ~/.gdb_lte_softmodem $SUDO touch ~/.gdb_lte_softmodem
$SUDO echo "set args $EXE_ARGUMENTS" >> ~/.gdb_lte_softmodem $SUDO echo "file $OPENAIR_TARGETS/bin/lte-softmodem" > ~/.gdb_lte_softmodem
$SUDO echo "run" >> ~/.gdb_lte_softmodem $SUDO echo "set args $EXE_ARGUMENTS" >> ~/.gdb_lte_softmodem
$SUDO gdb -nh -x ~/.gdb_lte_softmodem 2>&1 $SUDO echo "run" >> ~/.gdb_lte_softmodem
$SUDO gdb -nh -x ~/.gdb_lte_softmodem 2>&1
fi
fi fi
fi ;;
else
if [ $BUILD_LTE == "EPC" ]; then
'EPC')
echo "############# running epc #############" echo "############# running epc #############"
if [ $RUN_GDB -eq 0 ]; then if [ $RUN_GDB -eq 0 ]; then
$SUDO exec $OPENAIR_TARGETS/bin/oai_epc `echo $EXE_ARGUMENTS` $SUDO exec $OPENAIR_TARGETS/bin/oai_epc `echo $EXE_ARGUMENTS`
...@@ -717,11 +720,21 @@ else ...@@ -717,11 +720,21 @@ else
$SUDO echo "run" >> ~/.gdb_epc $SUDO echo "run" >> ~/.gdb_epc
$SUDO gdb -nh -x ~/.gdb_epc 2>&1 $SUDO gdb -nh -x ~/.gdb_epc 2>&1
fi 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment