Hi,
I got error message 'Invalid parameter in user config' when running snpe-net-run on S820 development board with qualcomm released yocto BSP.
Below is complete error message and some check point.
Can some give advice on this?
-------
prebuilt snpe-net-run and lib from arm-linux-gcc4.9sf
Error message: snpe-net-run --container /usr/data/alexnet.dlc --input_list /usr/data/image_list.txt --use_dsp --debug
The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time. error_code=101;error_message=Invalid parameter in user config. Attempted to set a neural network configuration option DSP that is not supported on this platform.; error_component=System Configuration; line_no=118; thread_id=3932061696
-------
Environment:
LD_LIBRARY_PATH='/usr/lib;/usr/lib/rfsa/adsp;/usr/lib64;/dsp'
/usr/lib/libadsprpc.so /usr/lib64/libadsprpc.so /libSNPE.so
ps -a|grep -i adsp
328 root 0:00 [irq/669-adsp]
330 root 0:00 [adsp]
2506 root 0:06 /usr/bin/adsprpcd
ls /dev/adsprpc-smd
/dev/adsprpc-smd
Hi JC,
You should set ADSP_LIBRARY_PATH instead of LD_LIBRARY_PATH.
Thanks,
Jihoon
Hi, Jihoonk
Thanks for reply, I tried to set ADSP_LIBRARY_PATH but same error occurred.
Did I miss something?
# export ADSP_LIBRARY_PATH="/usr/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/usr/lib;/usr/lib64;/dsp"
Hi JC,
It seems your ADSP_LIBRARY_PATH is missing the path which contains libsnpe_dsp_skel.so and libsnpe_dsp_v65_skel.so. You can get them in $SNPE_ROOT/lib/dsp/
Refer to following document:
https://developer.qualcomm.com/docs/snpe/dsp_runtime.html
Thanks,
Jihoon
Hi, jihoonk
Thanks, I did missing the libsnpe_dsp_skel.so on my device.
But same error after copy libsnpe_dsp_skel.so and libsnpe_dsp_v65_skel.so to device.
update PATH refer to dsp_runtime.html
---
ADSP_LIBRARY_PATH='/usr/lib;/usr/lib64;/usr/lib/rfsa/adsp;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp'
snpe lib path:
9268 ./usr/lib/libSNPE.so
652 ./usr/lib/libsnpe_dsp_skel.so
632 ./usr/lib/libsnpe_dsp_v65_skel.so
adsp lib path:
/usr/lib/rfsa/adsp/
/system/vendor/lib/rfsa/adsp/
/usr/lib/libadsp_default_listener.so
/usr/lib/libadsp_hvx_callback_skel.so
/usr/lib/libadsp_hvx_stub.so
/usr/lib/libadsprpc.so
/usr/lib64/libadsp_default_listener.so
/usr/lib64/libadsprpc.so
Yocto Linux is not a supported platform for DSP runtime at this time.
Hi, jesliger
Thanks for the information.
Just for clarification, did you mean:
1. Currently snpe-net-run not support on yocto linux.
2. Currently DSP not support on yoctl linux.
If you mean situation 1., is there other tool to check if my device dsp function is workable?
Besides, which document can refer to DSP related support info?
As of SNPE 1.19.2 (Sept 2018) it is now possible to run on DSP/Linux.
Enrico, it should be. But I have almost the same problem running SNPE 1.19.2.
The only meaningful difference is the line_no argument. I got line_no=143 and JC got line_no=118.
I’m trying to create a custom image for the AR7554 throught yocto so. I have got instructions from this website but still I havent got the solution for this. If anyone can help