Commit 777005d2 authored by nikaeinn's avatar nikaeinn

few adjustments when RTAI=0

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5807 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e8ab1cf2
......@@ -4,6 +4,7 @@ USE_MME=R10
DISABLE_XER_PRINT=1
LINK_PDCP_TO_GTPV1U=1
SECU=1
PHY_ABSTRACTION=0
endif
ifndef OPENAIR2
......
......@@ -1659,8 +1659,10 @@ static void *UE_thread_synch(void *arg) {
for (i=0; i<openair0_cfg[card].rx_num_channels; i++) {
openair0_cfg[card].rx_freq[i] = downlink_frequency[card][i]+openair_daq_vars.freq_offset;
openair0_cfg[card].tx_freq[i] = downlink_frequency[card][i]+uplink_frequency_offset[card][i]+openair_daq_vars.freq_offset;
#ifdef USRP
#ifndef USRP_DEBUG
openair0_set_frequencies(&openair0,&openair0_cfg[0]);
#endif
#endif
}
}
......
......@@ -127,7 +127,7 @@ make_certs(){
echo "creating the certificate"
user=$(whoami)
HOSTNAME=$(hostname -f)
HOSTNAME=$(hostname)
echo "Creating certificate for user '$HOSTNAME'"
......@@ -673,7 +673,7 @@ install_ltesoftmodem() {
for i in `seq 0 64`; do
have_rtfX=`ls /dev/ |grep -c rtf$i`;
if [ "$have_rtfX" -eq 0 ] ; then
$SUDO$ mknod -m 666 /dev/rtf$i c 150 $i;
$SUDO mknod -m 666 /dev/rtf$i c 150 $i;
fi;
done
echo_info " 8.3 [EXMIMO] Build lte-softmodemdrivers"
......
......@@ -215,6 +215,10 @@ if [ $RT = "RTAI" ]; then
else
SOFTMODEM_DIRECTIVES="$SOFTMODEM_DIRECTIVES HARD_RT=1 "
fi
else
if [ $RT = "RT_PREEMPT" ]; then
SOFTMODEM_DIRECTIVES="$SOFTMODEM_DIRECTIVES RTAI=0 "
fi
fi
if [ $TARGET != "ALL" ]; then
......@@ -363,4 +367,4 @@ if [ $OAI_TEST = 1 ]; then
else
echo_info "9. Bypassing the Tests ..."
fi
\ No newline at end of file
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