This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2PXEVM: error during usecase compile on TDA2PXEVM

Part Number: TDA2PXEVM

Tool/software: Linux

I am working on TDA2px with PROCESSOR_SDK_VISION_03_05_00_00. and notice that there are OpenCL  in VSDK.

I  followed all the steps given in TDA2px User Guide. 

set MAKECONFIG?=tda2px_evm_linux_all in Rules.make

add OPENCL_INCLUDE=yes in cfg.mk

but when I tried to build opencl-usecase based on hlos, errors occured like below:

Creating /home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_c66xdsp_1_release.xe66
/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_c66xdsp_1_release.xe66
"/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/dsp.asm", ERROR! :
[E1000]
Cannot open source file
/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/dsp.asm:
No such file or directory

>> Compilation failure
/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/build/rtos/makerules/rules_66.mk:271: recipe for target '/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_c66xdsp_1_release.xe66' failed
make[7]: *** [/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_c66xdsp_1_release.xe66] Error 1
/home/CN/felix.ma/tda2px/tda2x_linux_zadas/vision_sdk/build/rtos/makerules/common.mk:271: recipe for target 'c66xdsp_1' failed
make[6]: *** [c66xdsp_1] Error 2
MAKEFILE.MK:116: recipe for target 'apps_dsp1' failed
make[5]: *** [apps_dsp1] Error 2
make[5]: *** Waiting for unfinished jobs....
MAKEFILE.MK:31: recipe for target 'apps' failed
make[4]: *** [apps] Error 2
MAKEFILE.MK:298: recipe for target 'apps' failed
make[3]: *** [apps] Error 2
Makefile:171: recipe for target 'apps_exe' failed
make[2]: *** [apps_exe] Error 2
Makefile:36: recipe for target 'apps' failed
make[1]: *** [apps] Error 2
Makefile:12: recipe for target 'vision_sdk' failed
make: *** [vision_sdk] Error 2

Could you give me some advice for debugging?

Thank you.

  • Hi Felix,
    We also faced Build & run issues with OpenCL
    Refer Vision SDK Release Note - > Known Issues section (ADASVISION-1894 : [TDA2xx Linux] OpenCL UC, Cmem initialization fails)
    It will not be possible to support you on how to build it because the openCL support infrastructure is deprecated from Vision SDK 3.2

    Could you please let us know what are you trying with OpenCL ?
    So that if feasible, We can give a try with Vision SDK Links & Chains FW

    Regards
    Surya
  • We have some image process functions to achieve. And our main process contents include: image convolution option, hog-like feature extraction and bilinear interpolation.
    We used to accelerate those image processing operation by opencl. But now, opencl is not available.
    So, could you offer any proposal for image processing acceleration?