Dear Person in charge,
Which VisionSDK's OpenVX demo can be executed on TDA2xx under TI-RTOS supervising?
BR,
Konstantin
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.
Dear Person in charge,
Which VisionSDK's OpenVX demo can be executed on TDA2xx under TI-RTOS supervising?
BR,
Konstantin
Hi Konstantin,
you can run following usecases:
vip_single_cam_openvx
tidl_oc_openvx
tidl_od_openvx
note that in order to be able to run them, you need to set 'OPENVX_INCLUDE' to 'yes' in vision_sdk/apps/configs/tda2xx_evm_bios_all/cfg.mk
Regards,
Yordan
Hello Yordan,
Thanks for clarification.
I have tried to compile but failed - the build complains it cannot find Linaro cross-compiler for Linux ABI.
Is there any solution?
BR,
Konstantin
Hi Konstantin,
please check section "2 System Requirements" in vision_sdk/UserGuides/VisionSDK_UserGuide_TDA2Ex.pdf - it contains instructions for installing additional compilers and other packages needed for building the SDK.
Regards,
Yordan
Hello Yordan,
The document you refer to is about ARM native / bare-metal compiler. I have this compiler installed.
But actual build complains about missing ARM Gnu / Linux compiler by Linaro which is not mentioned in that document. Please clarify.
BR,
Konstantin
Hello Yordan,
Here you are.
root@vm:/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/build#
root@vm:/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/build# make -s -j depend > /root/build.log
make[3]: /opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-ar: Command not found
/bin/sh: 1: /bin/sh: 1: /opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: not found
/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: not found
make[3]: *** [/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/open_compute/tiovx_01_05_01_00/out/TDAX/A15/LINUX/release/module/.opt.ti.PROCESSOR_SDK_VISION_03_07_00_00.vision_sdk.apps.src.rtos.alg_plugins.openvx.dms_kernel.kernels.dms.host/tivx_dms_node_api.o] Error 127
make[3]: *** Waiting for unfinished jobs....
/bin/sh: 1: /opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: not found
make[3]: *** [/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/open_compute/tiovx_01_05_01_00/out/TDAX/A15/LINUX/release/module/.opt.ti.PROCESSOR_SDK_VISION_03_07_00_00.vision_sdk.apps.src.rtos.alg_plugins.openvx.dms_kernel.kernels.dms.host/vx_kernels_dms_host.o] Error 127
make[3]: *** [/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/open_compute/tiovx_01_05_01_00/out/TDAX/A15/LINUX/release/module/.opt.ti.PROCESSOR_SDK_VISION_03_07_00_00.vision_sdk.apps.src.rtos.alg_plugins.openvx.dms_kernel.kernels.dms.host/vx_apply_gain_host.o] Error 127
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/host/vx_apply_gain_host.c", line 109: warning: type qualifier is meaningless on cast type
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/host/vx_apply_gain_host.c", line 110: warning: type qualifier is meaningless on cast type
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/host/vx_apply_gain_host.c", line 111: warning: type qualifier is meaningless on cast type
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/host/vx_apply_gain_host.c", line 183: warning: type qualifier is meaningless on cast type
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/host/vx_apply_gain_host.c", line 184: warning: type qualifier is meaningless on cast type
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/c66/vx_apply_gain_target.c", line 121: warning: variable "gain_target_ptr" was declared but never referenced
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/c66/vx_apply_gain_target.c", line 255: warning: argument of type "vx_status (*)(tivx_target_kernel_instance, tivx_obj_desc_t **, uint16_t, void *)" is incompatible with parameter of type "tivx_target_kernel_control_f"
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/c66/bam/vx_bam_apply_gain_target.c", line 156: warning: variable "img_ptrs" was set but never used
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/c66/bam/vx_bam_apply_gain_target.c", line 134: warning: variable "gain_value" was set but never used
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/c66/bam/vx_bam_apply_gain_target.c", line 136: warning: variable "gain_target_ptr" was declared but never referenced
"/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/alg_plugins/openvx/dms_kernel/kernels/dms/c66/bam/vx_bam_apply_gain_target.c", line 331: warning: argument of type "vx_status (*)(tivx_target_kernel_instance, tivx_obj_desc_t **, uint16_t, void *)" is incompatible with parameter of type "tivx_target_kernel_control_f"
make[2]: *** [tiovx] Error 2
make[1]: *** [tiovx] Error 2
make: *** [depend] Error 2
root@vm:/opt/ti/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/build#
BR,
Konstantin
Hi Konstantin,
please check section "2.2.1A15 Compiler, Linker" in PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/docs/Linux/VisionSDK_Linux_UserGuide.pdf.
Regards,
Yordan
Hello Yordan,
In this topic I am interesting about TI-RTOS supervised OpenVX demo because I expect GPL-free code and binaries.
Why Linux? Will resulting binary be tainted by GPL stuff?
BR,
Konstantin
Hi Konstantin,
the resulting binary compiled with GCC will not contain source code that was under GPL, so it do not need to be under GPL, you can check here for detailed explanation:

Regards,
Yordan