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/TDA2EVM5777: How to use opencv with cumstom dsp fireware in VSDK2.12 (linux )?

Part Number: TDA2EVM5777

Tool/software: Linux

    Hello,

     1、I add  OPENCL_INCLUDE=yes” and “ENABLE_OPENCV=yes” in "configs/tda2xx_evm_linux_all/cfg.mk",  then make the config, but get some error as below:

"

undefined                 first referenced                                                                                                                                  

  symbol                       in file                                                                                                                                        

 ---------                 ----------------                                                                                                                                   

 EDMA3_semCreate           /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/c66xdsp_1/release/vision_sdk_lib.ae66<utils_dma_edma3cc.oe66>

EDMA3_semDelete           /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/c66xdsp_1/release/vision_sdk_lib.ae66<utils_dma_edma3cc.oe66>

edma3OsProtectEntry       /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>            

 edma3OsProtectExit        /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>            

 edma3OsSemGive            /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>            

 edma3OsSemTake            /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>            

 rtos_init_ocl_dsp_monitor /mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/lib/tda2xx-evm/c66xdsp_1/release/vision_sdk_lib.ae66<system_common.oe66>   

error: unresolved symbols remain

error: errors encountered during linking;

   "/mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/visi

   on_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66" not built

make[6]: *** [/mnt/processor-sdk/vision-sdk/vision_sdk/binaries/tda2xx_evm_linux_all/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66] Error 1

make[6]: Leaving directory `/mnt/processor-sdk/vision-sdk/vision_sdk/src/main_app/tda2xx/dsp1'

make[5]: *** [c66xdsp_1] Error 2

make[5]: Leaving directory `/mnt/processor-sdk/vision-sdk/vision_sdk/src/main_app/tda2xx/dsp1'

make[4]: *** [apps_dsp1] Error 2

make[4]: *** Waiting for unfinished jobs....

"

How to fix above error?

     2、In the case of tda2xx_evm_linux_all config, if i set  some config as below:

  "

  PROC_DSP1_INCLUDE=no
  PROC_DSP2_INCLUDE=no

  ENABLE_OPENCV=yes
  OPENCL_INCLUDE=yes
  ENABLE_OPENCV_TESTS=yes

 "

        just like the tda2xx_evm_linux_opencx config(not include any dsp core). It could "make" without any error, and it also use firmware  "dra7-dsp1-fw.xe66" from opencl_fs_patches.

    But if i want add some cumstom alg to dsp, and make the dsp fireware with my own. Is there anyway i can arrive at?

 

    Thanks and Rgds

    Sid