Forums - Can't run the HexgonSDK-Image-classification

2 posts / 0 new
Last post
Can't run the HexgonSDK-Image-classification
jackmess
Join Date: 14 Jul 22
Posts: 7
Posted: Thu, 2022-08-04 03:12

Dear Experts,

 

I want to run the example project "HexgonSDK-Image-classification" 

https://github.com/quic/sample-apps-for-Qualcomm-Robotics-RB5-platform/t...

 

But it failed. The first error is that the Testsig can't be found, so I use 

"adb push ${HVX_SDK_PATH}/tools/elfsigner/output/testsig-0x6E07C1CE.so /usr/lib/rfsa/adsp/"

to push the testsig file to the device.

 

After that, it still failed. And the log is:

08-04 08:01:19.680  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:2329: fastrpc_apps_user_init done
08-04 08:01:19.680  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:1960: Successfully opened fastrpc_shell_3
08-04 08:01:19.700  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:2111: Successfully created user PD on domain 3 (attrs 0x0, debug_trace 0x0)
08-04 08:01:19.702  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_perf.c:233: fastrpc_perf_init: enabled RPC traces (kernel 0, dsp 0) with frequency 1000
08-04 08:01:19.703  3211  3213 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/mod_table.c:487: open_mod_table_open_dynamic: dynamic reverse module apps_std  already found with handle 0x888b3fd0 (idx 0)
08-04 08:01:19.704  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/listener_android.c:85::error: -1: AEE_SUCCESS == (nErr = mod_table_close(handle, errStr, errStrLen, dlErr))
08-04 08:01:19.704  3211  3213 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/apps_std_imp.c:770: Successfully opened file /usr/lib/rfsa/adsp/libhexagon_nn_skel.so
08-04 08:01:19.706  3211  3213 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/apps_std_imp.c:770: Successfully opened file /usr/lib/rfsa/adsp/testsig-0xc166151c.so
08-04 08:01:19.706  3211  3213 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/apps_std_imp.c:770: Successfully opened file /usr/lib/rfsa/adsp/testsig-0xc166151c.so
08-04 08:01:19.733  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:1005: remote_handle_open: Successfully opened handle 0x86e0d690 for hexagon_nn on domain 3
08-04 08:01:19.733  3211  3211 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:918: Error 0x8000040e: remote_handle_invoke failed for handle 0x86e0d690, method 3 on domain 3 (sc 0x3000100)
08-04 08:01:19.734  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:918: Error 0xffffffff: remote_handle_invoke failed for handle 0x3, method 4 on domain 3 (sc 0x4020200)
08-04 08:01:19.734  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/listener_android.c:257:listener protocol failure ffffffff
08-04 08:01:19.734  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:918: Error 0x8000040d: remote_handle_invoke failed for handle 0x3, method 4 on domain 3 (sc 0x4020200)
08-04 08:01:19.734  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/listener_android.c:265::error: -2147482611: 0 == (nErr = __QAIC_HEADER(adsp_listener_next2)( ctx, nErr, 0, 0, &ctx, &handle, &sc, inBufs, inBufsLen, &inBufsLenReq))
08-04 08:01:19.734  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/listener_android.c:348:Error 0x8000040d: listener2 thread exited
08-04 08:01:19.734  3211  3213 E graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:936: Error 0x8000040d: remote_handle64_invoke failed for handle 0xe388ac0, method 3 on domain 3 (sc 0x3000000)
08-04 08:01:19.734  3211  3214 W graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/log_config.c:338:Warning: file_watcher_thread received exit for domain 3, file graph_app.farf
08-04 08:01:19.742  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/mod_table.c:216: open_mod_table_dtor_imp: closed reverse module apps_std with handle 0x888b3fd0
08-04 08:01:19.742  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/mod_table.c:216: open_mod_table_dtor_imp: closed reverse module apps_mem with handle 0x888b40d0
08-04 08:01:19.742  3211  3211 I graph_app: /local/mnt/workspace/lnxbuild/project/trees_in_use/free_tree_dir/checkout/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/qrb5165_rb5-oe-linux/adsprpc/git-r1/adsprpc/src/fastrpc_apps_user.c:2273: fastrpc_apps_user_deinit done
 

 

  • Up0
  • Down0
jackmess
Join Date: 14 Jul 22
Posts: 7
Posted: Thu, 2022-08-04 03:19

And I doubt that the code is deprecated for current Image. Most of example projects need to be re-checked and some of them are unavailable.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.