I have compiled one of the FastCV sample app part of the Linux FastCV SDK.
Everything runs fine on an Android device (Android M, MSM8992 based processor).
However, there are various errors in the logcat related to the ADSP and I am not sure if the code will run on the DSP or will default to the ARM processor.
The errors below "Q6 FastCV functions are disabled" or E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:754::error: -1: 0 == (nErr = ioctl(dev, FASTRPC_IOCTL_MMAP, (unsigned long)&mmap)) do not look good.
Any idea about what's going on and how to track those issues down?
Thanks
08-30 10:36:18.726 15142-15166/com.qualcomm.fastcorner D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
08-30 10:36:18.763 15142-15166/com.qualcomm.fastcorner I/Adreno: QUALCOMM build : 0d96e1a, I741a3d36ca
Build Date : 04/20/16
OpenGL ES Shader Compiler Version: XE031.06.00.02
Local Branch : mybranch19324812
Remote Branch : quic/LA.BF64.1.2.2_rb4.34
Remote Branch : NONE
Reconstruct Branch : NOTHING
08-30 10:36:18.771 15142-15166/com.qualcomm.fastcorner I/OpenGLRenderer: Initialized EGL, version 1.4
08-30 10:36:44.121 15142-15142/com.qualcomm.fastcorner I/fastcv_lib_log: QCVAQ6_deinit
08-30 10:36:44.199 15142-15685/com.qualcomm.fastcorner E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:754::error: -1: 0 == (nErr = ioctl(dev, FASTRPC_IOCTL_MMAP, (unsigned long)&mmap))
08-30 10:36:44.199 15142-15142/com.qualcomm.fastcorner E/fastcv_lib_log: fastcvadsp_fcvQ6SessionInit failed
08-30 10:36:44.199 15142-15142/com.qualcomm.fastcorner E/fastcv_lib_log: Q6 initialized failed. Q6 FastCV functions are disabled.
08-30 10:36:44.205 15142-15685/com.qualcomm.fastcorner E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:723::error: -1: 0 == (nErr = remotectl_open(name, (int*)ph, dlerrstr, sizeof(dlerrstr), &dlerr))
08-30 10:36:44.207 15142-15685/com.qualcomm.fastcorner E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:723::error: -1: 0 == (nErr = remotectl_open(name, (int*)ph, dlerrstr, sizeof(dlerrstr), &dlerr))
08-30 10:36:44.207 15142-15685/com.qualcomm.fastcorner E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:723::error: -1: 0 == (nErr = remotectl_open(name, (int*)ph, dlerrstr, sizeof(dlerrstr), &dlerr))
08-30 10:36:44.209 15142-15685/com.qualcomm.fastcorner E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:723::error: -1: 0 == (nErr = remotectl_open(name, (int*)ph, dlerrstr, sizeof(dlerrstr), &dlerr))
08-30 10:36:44.209 15142-15685/com.qualcomm.fastcorner E/adsprpc: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:723::error: -1: 0 == (nErr = remotectl_open(name, (int*)ph, dlerrstr, sizeof(dlerrstr), &dlerr))
08-30 10:36:44.373 15142-15142/com.qualcomm.fastcorner I/fastcv_lib_log: QCVAQ6_deinit
08-30 10:36:44.373 15142-15142/com.qualcomm.fastcorner E/fastcv_lib_log: fastcvadsp_fcvQ6SessionInit failed
08-30 10:36:44.373 15142-15142/com.qualcomm.fastcorner E/fastcv_lib_log: Q6 initialized failed. Q6 FastCV functions are disabled.
08-30 10:36:44.379 15142-15142/com.qualcomm.fastcorner I/fastcv_lib_log: QCVAQ6_deinit