【问题标题】:Error Running Qualcomm fastRPC Calculator Example for Hexagon DSP on Snapdragon 820 (Ubuntu 16.04))在 Snapdragon 820 (Ubuntu 16.04) 上运行 Hexagon DSP 的 Qualcomm fastRPC 计算器示例时出错
【发布时间】:2017-11-17 18:15:57
【问题描述】:

我正在尝试在 Open-Q 820 开发套件 (Snapdragon) 上运行 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,尝试在设备处于安全模式和正常模式时运行脚本,检查所有必需的库是否在正确的目录中,但找不到问题的解决方案。

谢谢

【问题讨论】:

    标签: ubuntu android-ndk qualcomm hexagon-dsp


    【解决方案1】:

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

    【讨论】:

    • 我似乎无法在我的设备上找到 /data/get serial 。我已经使用以下命令 'kaz@kaz:~$ find /home/kaz -name 'getserial'' 搜索了它,但找不到类似上述路径的任何内容。我还尝试了三台不同的笔记本电脑,并给出了相同的错误。我还可以使用两块 Snapdragon 820 板,而另一块运行良好,所以我倾向于认为问题出在板本身。不过感谢您的帮助。
    • 你试过'adb shell ls -la /data'并寻找'getserial'吗?
    猜你喜欢
    • 1970-01-01
    • 2021-09-12
    • 2021-07-09
    • 2020-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多