Skip to content
Snippets Groups Projects
Commit d5de90b6 authored by Markus Gothe's avatar Markus Gothe :ok_hand:
Browse files

Update ecnt_voice to match voipconfig.

Update to match the vendor SDK script.
parent 176932f6
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,23 @@ boot() { ...@@ -24,7 +24,23 @@ boot() {
sleep 1 sleep 1
if [ "$TCSUPPORT_CPU_ARMV8" != "" ] ;then if [ "$TCSUPPORT_CPU_ARMV8" != "" ] ;then
/userfs/bin/irqCpuBind set PCM1 3 HID=`cat /proc/tc3162/hid`
if [ "$HID" = "f" ] || [ "$HID" = "10" ]; then
CPUIDX=0x2
/userfs/bin/irqCpuBind set PCM1 1
else
CPUIDX=0x8
/userfs/bin/irqCpuBind set PCM1 3
fi
# Setting high priority using fifo sched
chrt -f -p 99 `pidof fxs_task`
taskset -p $CPUIDX `pidof fxs_task`
taskset -p $CPUIDX `pidof slicint_task`
taskset -p $CPUIDX `pidof cid_task`
taskset -p $CPUIDX `pidof pcmreinit_task`
else else
if [ -f "/proc/tc3162/sys_is_1004k_support" ] ;then if [ -f "/proc/tc3162/sys_is_1004k_support" ] ;then
/userfs/bin/irqCpuBind set pcm1 3 /userfs/bin/irqCpuBind set pcm1 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment