From 176932f65afa5126bd41dde2e4297b394316b58a Mon Sep 17 00:00:00 2001 From: Markus Gothe <markus.gothe@genexis.eu> Date: Mon, 17 Feb 2025 17:05:03 +0100 Subject: [PATCH] airoha: Fix VoIP binding on AN7581. --- airoha/base-files/etc/init.d/ecnt_voice | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/airoha/base-files/etc/init.d/ecnt_voice b/airoha/base-files/etc/init.d/ecnt_voice index 15dc6845d..af7088909 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 -- GitLab