X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=wls_lib%2Ftest%2Fbin%2Fphy%2Fphy.sh;fp=wls_lib%2Ftest%2Fbin%2Fphy%2Fphy.sh;h=41c1ea8a23e8264064e47b97c33c9b7ef4032fef;hp=0000000000000000000000000000000000000000;hb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;hpb=2fbf70096f64af622da983e88c5a64e90ad9bdbd diff --git a/wls_lib/test/bin/phy/phy.sh b/wls_lib/test/bin/phy/phy.sh new file mode 100644 index 0000000..41c1ea8 --- /dev/null +++ b/wls_lib/test/bin/phy/phy.sh @@ -0,0 +1,30 @@ +####################################################################### +# +# +# +####################################################################### +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR_WIRELESS_WLS + +MACHINE_TYPE=`uname -m` + +if [ ${MACHINE_TYPE} == 'x86_64' ]; then + + ulimit -c unlimited + echo 1 > /proc/sys/kernel/core_uses_pid + + sysctl -w kernel.sched_rt_runtime_us=-1 + sysctl -w kernel.shmmax=2147483648 + sysctl -w kernel.shmall=2147483648 + chkconfig --level 12345 irqbalance off + echo 0 > /proc/sys/kernel/nmi_watchdog + echo 1 > /sys/module/rcupdate/parameters/rcu_cpu_stall_suppress + +fi + +echo start WLS PHY Process +if [ "$1" = "-g" ]; then + shift + taskset -c 15 gdb-ia --args ./phy_app $@ +else + taskset -c 15 ./phy_app $@ +fi