Other Parts Discussed in Thread: PGA460
Tool/software: Linux
Hello
Im trying to use opencv with linux on TDA2xx SoC, vision version 03.04.00.
Building the kernel and running it, is working fine but when i try to build SDK i get the following error:
# Making tda2xx-evm:c66xdsp_1:release:vision_sdk_lib...
# Linking into /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66...
undefined first referenced
symbol in file
--------- ----------------
EDMA3_semCreate /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/c66xdsp_1/release/utils_common.ae66<utils_dma_edma3cc.oe66>
EDMA3_semDelete /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/c66xdsp_1/release/utils_common.ae66<utils_dma_edma3cc.oe66>
edma3OsProtectEntry /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>
edma3OsProtectExit /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>
edma3OsSemGive /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>
edma3OsSemTake /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66>
rtos_init_ocl_dsp_monitor /home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/lib/tda2xx-evm/c66xdsp_1/release/links_common_system.ae66<system_common.oe66>
error: unresolved symbols remain
error: errors encountered during linking;
"/home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx
_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe6
6" not built
/home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/rtos/makerules/rules_66.mk:271: recipe for target '/home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66' failed
make[7]: *** [/home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66] Error 1
/home/rtrk/PROCESSOR_SDK_VISION_03_04_00_00/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
MAKEFILE.MK:31: recipe for target 'apps' failed
make[4]: *** [apps] Error 2
MAKEFILE.MK:287: 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
________________________________________
I do not get this when i build SDK for (normal) linux without opencx.
I tried to figure out where are those functions, and it seems they are both in
ti_components/codecs/framework_components_3_40_02_07/packages/ti/sdo/fc/edma3/edma3_config.c
and
ti_components/codecs/codec_engine_3_24_00_08/cetools/packages/ti/sdo/fc/edma3/edma3_config.c
I also tried to change mkefiles so build would pass but with no success.
I followed the Linux User Guide pdf and should have setup both Codec Engine and Framework Components correctly.
Thanks for reading this and for help in advance!