chayliu-ecarx opened a new issue, #17195:
URL: https://github.com/apache/tvm/issues/17195

   By refering to the guide: 
https://github.com/apache/tvm/tree/main/apps/hexagon_launcher.
   
   Sussfully building all the files needed and push all the files to my android 
device. However, when runing the `launcher_android` file some errors occurred 
with the log as following:
   
   ```
   --------- beginning of main
   07-25 03:33:21.408  1832  1832 I launcher_android: 
vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:159: rpcmem_init_internal: 
opened ION device fd 3, configured heap IDs: system (0x2000000), contig (0x10), 
secure (0x400), secure flags (0x80080000)
   07-25 03:33:21.408  1832  1832 I launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3087: 
fastrpc_apps_user_init done with default domain:3 and 
&fastrpc_trace:0x7c834410bc
   07-25 03:33:21.410  1832  1832 I launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2039: 
remote_session_control DSP info request for domain 3, thread priority -1, stack 
size 131072
   07-25 03:33:21.410  1832  1832 I launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2636: Successfully 
opened /vendor/dsp/cdsp/fastrpc_shell_unsigned_33
   07-25 03:33:21.410  1832  1832 I launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:200: Reading configuration 
file: launcher_android.debugconfig
   07-25 03:33:21.411  1832  1832 E launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2839: Error 0x72: 
apps_dev_init: untrusted app trying to offload to signed remote process (errno 
111, Connection refused). Try offloading to unsignedPD using 
remote_session_control
   07-25 03:33:21.413  1832  1832 E launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2870: Error 0x72: 
apps_dev_init failed for domain 3, errno Success
   07-25 03:33:21.413  1832  1832 E launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2968: Error 0x72: 
open_dev (-1) failed for domain 3 (errno Success)
   07-25 03:33:21.414  1832  1832 E launcher_android: 
vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1398: Error 0x72: 
remote_handle64_open failed for 
file:///liblauncher_rpc_skel.so?launcher_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp
 (errno Success)
   ```
   the env setting is:
   ```
   export LD_LIBRARY_PATH=/mypath
   ``` 
   `ls mypath`
   ```
   adsp              libgcc.so                mobilenetv2-7.json
   input_data.dat    liblauncher_rpc_skel.so  mobilenetv2-7.so
   launcher_android  libtvm_runtime.so        mobilenetv2-7_input.json
   ```
   
   ```
   export ADSP_LIBRARY_PATH="/mypath/adsp"
   ```
   `ls /mypath/adsp`
   ```
   libc++.so     libc++abi.so.1  liblauncher_rpc_skel.so
   libc++.so.1   libc.so         libqcc.so
   libc++abi.so  libgcc.so       libstdc++.so
   ```
   
   
   @kparzysz-quic  @tmoreau89 @areusch @csullivan  @sdalvi-quic  @abhikran-quic 
@quic-sanirudh
   
    
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to