Open-Q 820開発キット(Snapdragon)のHexagon SDKから基本的な電卓の例を実行しようとしていますが、 calculator_walkthrough.py pythonスクリプトを実行すると、プロセスが失敗します。クアルコムfastRPC電卓を実行しているときのエラーSnapdragon 820(Ubuntu 16.04)の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/serialを見つけることができます。私は次のコマンド 'kaz @ kaz:〜$ find/home/kaz -name' * getserial * ''を使って検索しましたが、上記のパスのようなものは見つかりませんでした。私はまた、3つの異なるラップトップで試して、同じエラーが与えられます。私も2つのSnapdragon 820ボードにアクセスできますが、もう1つは完璧に動作します。そのため、ボード自体に問題があると思う傾向があります。しかし、助けてくれてありがとう。 – Karl
あなたは 'adb shell ls -la/data'を試して、 'getserial'を探しましたか? –