diff --git a/airoha/base-files/etc/init.d/ecnt_voice b/airoha/base-files/etc/init.d/ecnt_voice index 15dc6845da653fc73c06aa51c4b237e42cf8248a..af7088909abcc661767de9780b7e3b7984057dc0 100755 --- a/airoha/base-files/etc/init.d/ecnt_voice +++ b/airoha/base-files/etc/init.d/ecnt_voice @@ -3,6 +3,11 @@ START=60 boot() { + PROFILE_CFG=/userfs/profile.cfg + if [ -f $PROFILE_CFG ] ; then + . $PROFILE_CFG + fi + if [ ! -x /userfs/bin/voip_loader ]; then return fi @@ -11,6 +16,7 @@ boot() { mknod /dev/slic c 231 0 mknod /dev/vdsp c 232 0 mknod /dev/spi c 233 0 + mknod /dev/cpu_interrupt c 224 0 echo "start voip loader" /userfs/bin/voip_loader @@ -18,7 +24,7 @@ boot() { sleep 1 if [ "$TCSUPPORT_CPU_ARMV8" != "" ] ;then - echo "pcm irq cpubind in pcm driver" + /userfs/bin/irqCpuBind set PCM1 3 else if [ -f "/proc/tc3162/sys_is_1004k_support" ] ;then /userfs/bin/irqCpuBind set pcm1 3