错误 运行 Snapdragon 820 上 Hexagon DSP 的 Qualcomm fastRPC 计算器示例(Ubuntu 16.04))

Error Running Qualcomm fastRPC Calculator Example for Hexagon DSP on Snapdragon 820 (Ubuntu 16.04))

我正在尝试 运行 Open-Q 820 开发套件(金鱼草)上的 Hexagon SDK 中的基本计算器示例,但是当尝试 运行 calculator_walkthrough.py python 脚本到 运行 进程失败的例子。

我 运行 在 Ubuntu 16.04.2 上安装 Hexagon SDK 3.0。 Android NDK 安装在正确的位置(根据 Hexagon SDK 文档)。

该示例似乎 运行 正确,直到以下几点:

---- root/remount device ----
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting adbd as root
remount succeeded
failed to copy '/home/kaz/Qualcomm/Hexagon_SDK/3.0/tools/elfsigner/getserial' to '/data//getserial': Is a directory
ERROR: testsig:-o is not a valid 32 bit integer
---- root/remount device ----
adbd is already running as root
remount succeeded
---- Push Android components ----
329 KB/s (32104 bytes in 0.095s)
168 KB/s (12940 bytes in 0.075s)
 ---- Push Hexagon Components ----
256 KB/s (17992 bytes in 0.068s)
---- Run Calculator Example Locally on Android ----

- starting calculator test
adspmsgd not supported
- allocate 4000 bytes from ION heap
- creating sequence of numbers from 0 to 999
- compute sum locally
- sum = 499500
- success

adspmsgd_stop failed
---- Run Calculator Example on aDSP ----

- starting calculator test
adspmsgd not supported
- allocate 4000 bytes from ION heap
- creating sequence of numbers from 0 to 999
- compute sum on the aDSP
Error: compute on aDSP failed

usage: /data/calculator <1/0 run locally> <1/0 logcat> <uint32 size>

adspmsgd_stop failed
Done

设备肯定连接上了,使用以下命令可以看到:

kaz@kaz:~/Qualcomm/Hexagon_SDK/3.0/examples/common/calculator$ adb devices
List of devices attached 
252020106151601286  device

我已经卸载并重新安装 Hexagon SDK,尝试在设备处于安全模式和正常模式时 运行 脚本,检查所有必需的库是否位于正确的目录中,但找不到解决方案问题。

谢谢

/data/getserial 已作为目录存在于您的设备上。删除它并重试。