This is a cache of https://discuss.96boards.org/t/hexagon-dsp-sdk/9786. It is a snapshot of the page at 2024-10-31T13:00:34.817+0000.
Hexagon DSP SDK - 96Boards Forum

Hexagon DSP SDK

Hello,
I am following the instructions from README - srinivas.kandagatla/ImagenetCv.git - [no description] to get hexagon DSP SDK on ubuntu host.
The part where I am stuck is Step 5 :
make tree V=ubuntuARM_Debug_aarch64 CDSP_FLAG=1 V65=1 GRAPHINIT=“iv3.c”
I get an error:

root@powerranger-W510LU:/mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/libs/hexagon_nn/2.5# make tree V=ubuntuARM_Debug_aarch64 CDSP_FLAG=1 V65=1 GRAPHINIT=“iv3.c”
RERUNNING WITH ALTERED UMASK 0002
making /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/tools/qaic
making /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/libs/fastcv/dspCV
making /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/test/common/test_util
make[2]: /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/tools/linaro64/bin/aarch64-linux-gnu-gcc: Command not found
make[2]: *** [ubuntuARM_Debug_aarch64/test_utils.o] Error 127
ERROR making /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/test/common/test_util
/mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/tools/linaro64/bin/aarch64-linux-gnu-gcc -c -fPIC -Wall -Wno-missing-braces -fpic -g -isystem /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/tools/linaro64/arm-linux-gnueabihf/libc/usr/include -DARM_ARCH_7A -DUSE_SYSLOG -std=gnu99 -D__FILENAME__=“test_utils.c” -D_DEBUG -Iinc -Isrc -I/mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/incs -I/mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/incs/stddef -IubuntuARM_Debug_aarch64 -oubuntuARM_Debug_aarch64/test_utils.o src/test_utils.c
/mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/build/make.d/rules.min:630: recipe for target ‘ubuntuARM_Debug_aarch64/test_utils.o’ failed
glue/ubuntuARM.mak:25: recipe for target ‘MAKE_D_1_LIBDIR’ failed
make[1]: *** [MAKE_D_1_LIBDIR] Error 1
Makefile:22: recipe for target ‘_all’ failed
make: *** [_all] Error 2

I have gcc linaro tools installed in /mnt/local/workspace/hexDspWork/ and I softlinked them to /mnt/local/workspace/hexDspWork/Hexagon_SDK/3.4.2/libs/hexagon_nn/2.5/tools/linaro64

I also added to path using : export PATH=$PATH:/mnt/local/workspace/hexDspWork/gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/

When I run make tree V=ubuntuARM_Debug_aarch64 CDSP_FLAG=1 V65=1 GRAPHINIT=“iv3.c”, I still get the same error.
Can anyone please help me with this problem? Did I miss out on anything?
Thanks