Hi, according to
<HEXAGON_SDK_ROOT>/docs/adsp_ps.html
adsp_ps can be used to query the ADSP for a list of running FastRPC processes. There is a demo in adsp_ps.html that shows how to use it on Android. I used sa8155p whose OS is linux(yocto), so I copyed the specific stub and skel to 8155 platform.
Host:
scp <HEXAGON_SDK_ROOT>/libs/common/adsp_ps/ship/UbuntuARM_Release_aarch64/adsp_ps root@10.0.92.180:/usr/bin
scp <HEXAGON_SDK_ROOT>/libs/common/adsp_ps/ship/hexagon_Debug_dynamic/libadsp_ps_skel.so root@10.0.92.180:/usr/lib/rfsa/adsp
Target:
chown system:system /usr/lib/rfsa/adsp/libadsp_ps_skel.so
chmod -x /usr/lib/rfsa/adsp/libadsp_ps_skel.so
root@sa8155:/data/my# adsp_ps 0
adsp_ps: /usr/lib/libadsprpc.so: no version information available (required by adsp_ps)
ERROR: Failed to open handle for domain 0
root@sa8155:/data/my# adsp_ps 3
adsp_ps: /usr/lib/libadsprpc.so: no version information available (required by adsp_ps)
ERROR: Failed to open handle for domain 3
It occured error when I run adsp_ps. It showed no version information available.
My SNPE version is 1.31.245 and Hexagon SDK version is 3.4.3
Could anyone have the same error? Thanks in advance!