Forums - FastRPC not running (Samsung S8)

2 posts / 0 new
Last post
FastRPC not running (Samsung S8)
jacob_miw
Join Date: 20 Sep 17
Posts: 1
Posted: Thu, 2017-09-21 05:43

I am trying to compile TensorFlow optimized for the Hexagon DSP (ref: https://www.qualcomm.com/news/onq/2017/01/09/tensorflow-machine-learning...).

Specifically I have been trying to follow the example here: https://github.com/tensorflow/tensorflow/tree/r1.3/tensorflow/contrib/hv...Compilation succeeds using Hexagon SDK 3.2 and TensorFlow 1.3. 

However, when I run into the following problems:

1) running the executable cannot find the FastRPC shared object libadsprpc.so:

*/

> adb shell 'LD_LIBRARY_PATH=/data/local/tmp:$LD_LIBRARY_PATH' "/data/local/tmp/hexagon_graph_execution"
CANNOT LINK EXECUTABLE "/data/local/tmp/hexagon_graph_execution": library "libadsprpc.so" not found

*/

2) following the docs in the SDK under Technologies_FastRPC.html#Setup, I have run the following to check the FastRPC is running:

> adb shell ls /dev/adsprpc-smd
ls: /dev/adsprpc-smd: No such file or directory

> adb shell ls /system/lib/modules/adsprpc.ko
ls: /system/lib/modules/adsprpc.ko: No such file or directory

The documentation states that in this case, the FastRPC module is not supported. I find this hard to believe. Can you advice how to get FastRPC installed/running?

I am using an (unrooted) Samsung S8. I would think this should be possible without having to root the phone?

Thanks.

 

*/ */
  • Up0
  • Down0
c_zhet
Join Date: 31 Jul 17
Posts: 23
Posted: Mon, 2017-10-23 02:20

check if libadsprpc.sp exits in your target device(/system/vendor/lib/libadsprpc.so,/system/vendor/lib64/libadsprpc.so),you can push the libadsprpc.so in Hexagon_SDK/3.2/libs/common/remote/ship/to the above location

  • 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.