hi all:
I try to enable DSP on Yocto. I get the downstream Yocto BSP from Qualcomm https://developer.qualcomm.com/hardware/dragonboard-410c/software and imm/sources - Unnamed repository.
It seems like the library libadsprpc.so and adsprpc.ko are included in BSP. I can run the test program and link the adsprpc libraries correctly.
But it still occurs the errors when the program accesses the device node /dev/adsprpc-smd as following.
it seems like the DSP init fail.
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: [[0;1;31msrc/fastrpc_apps_user.c:264::error: -1: 0 == ioctl(dev, FASTR
PC_IOCTL_INIT, (unsigned long)&ginit)[[0m
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: [[0;1;31msrc/fastrpc_apps_user.c:311:/dev/adsprpc-smd device initializ
ation error: Operation not permitted[[0m
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: src/fastrpc_apps_user.c:823::error: -1: dev != -1[[0m
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: src/fastrpc_apps_user.c:885::error: -1: 0 == (nErr = remotect
l_open(name, (int *)ph, dlerrstr, sizeof(dlerrstr), &dlerr))[[0m
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: src/fastrpc_apps_user.c:311:/dev/adsprpc-smd device initializ
ation error: Operation not permitted[[0m
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: src/fastrpc_apps_user.c:823::error: -1: dev != -1[[0m
Aug 27 11:52:31 dragonboard-410c helloworld[3174]: src/fastrpc_apps_user.c:793:exit:[[0m
Does anyone have any commend on this?
Thank you.
BS