2
我試圖運行Open-Q 820開發工具包(Snapdragon)上的Hexagon SDK的基本計算器示例,但試圖運行calculator_walkthrough.py python腳本運行失敗的例子。在Snapdragon 820(Ubuntu 16.04)上運行Qualcomm fastRPC計算器Hexagon DSP的示例
我在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
該裝置肯定連接,並且可以使用下面的命令可以看出:
[email protected]:~/Qualcomm/Hexagon_SDK/3.0/examples/common/calculator$ adb devices
List of devices attached
252020106151601286 device
我已經卸載和重新安裝Hexagon SDK嘗試在設備處於安全模式和正常模式時運行腳本,檢查所有必需的庫位於正確的目錄中,但找不到問題的解決方案。
謝謝
我似乎可以在我的設備上找到/ data/get serial。我使用下面的命令'kaz @ kaz:〜$ find/home/kaz -name'* getserial *''來搜索它,但找不到類似上面的路徑。我也嘗試了三種不同的筆記本電腦,並給出了相同的錯誤。我還可以使用兩塊Snapdragon 820板,另一塊工作得很好,所以我傾向於認爲問題出在板子本身。感謝您的幫助。 – Karl
您是否嘗試過'adb shell ls -la/data'並查找'getserial'? –