Hello,
I have problems running the calculator example available in Hexagon SDK.
Following {HEXAGON_SDK_ROOT}/docs/examples/calculator/index.html, everything's fine until "On-target testing" section.
After having executed all previous steps (with v66 arch), none of the following commands works:
# run example with 1000 array size on CPU
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator 1 3 1000
# run example with 1000 array size on aDSP
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator 0 0 1000
# run example with 1000 array size on sDSP
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator 0 2 1000
# run example with 1000 array size on cDSP
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator 0 3 1000
# run example with 1000 array size on cDSP Unsigned PD
adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator 0 3 1000 1
Actually, they all fail with the same status:
$ adb shell export LD_LIBRARY_PATH=/vendor/lib64/:$LD_LIBRARY_PATH ADSP_LIBRARY_PATH="/vendor/lib/rfsa/dsp/sdk;" calculator 0 0 1000
/bin/sh: calculator: not found
Actually from an adb session, it appears that trying generated always lead to the same status: /bin/sh: /vendor/bin/calculator: not found
Did I miss something ? Could you please help on this one ?
Environment:
- OS: Ubuntu 20.04
- Hexagon SDK: 4.3.0.0
- Board: Qcs405
Best regards