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.

TDA3XEVM: TDA3 Version SDK3.7 can be built on the ubuntu18.04?

Part Number: TDA3XEVM

Hi,

 My customer is trying to build the TDA3 SDK 3.7 on the ubuntu 18.04.

Is this allowed?

How to do that?

I have set up the 3.7 SDK on the ubunut18.04, and ready to start building.

However, I got this error message.

What I don't understand is: TDA3 has no A15, why it needs the A15 compiler to build?

I have modified the rules.make as this: MAKECONFIG?=tda3xx_evm_bios_all

How to solve?

root@ubuntu-vm:/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build# make linux_clean
/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/apps/configs/autorules_footer_cfg.mk:58: *** CODEGEN_PATH_A15 does not exist! (/opt/PROCESSOR_SDK_VISION_03_07_01_00/ti_components/cg_tools/linux/gcc-arm-none-eabi-4_9-2015q3). Stop.
root@ubuntu-vm:/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build# make linux
/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/apps/configs/autorules_footer_cfg.mk:58: *** CODEGEN_PATH_A15 does not exist! (/opt/PROCESSOR_SDK_VISION_03_07_01_00/ti_components/cg_tools/linux/gcc-arm-none-eabi-4_9-2015q3). Stop.

BR Rio

  • Hi Rio,

    you should be able to build VisionSDK on Ubuntu 18.04.

    The commands "make linux_XXXX" commands are need in case you use Linux on A15 core (and is applicable only to TDA2xx), you need to run build commands from "VisionSDK_UserGuide_TDA3xx.pdf" only.

    Regards,

    Yordsn

  • Hi.

    The warning message is this, it seems the A15 compiler needs to be set at this path:ti_components/cg_tools/linux/

    /opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/apps/configs/autorules_footer_cfg.mk:58: *** CODEGEN_PATH_A15 does not exist! (/opt/PROCESSOR_SDK_VISION_03_07_01_00/ti_components/cg_tools/linux/gcc-arm-none-eabi-4_9-2015q3). Stop.

    But, i have read another document to tell me for putting it here:

    ti_components/os_tools/linux/linaro/

    Which one is correct?

    BR Rio

  • Hi . 

    I have solved this.

    BTW, what's the Linux build command sequence?

    I cannot find in the document PDF you addressed.

    BR Rio

  • I issue : make clean , make all, I have this error:

    >> Compilation failure
    /opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/rtos/makerules/rules_arp32.mk:217: recipe for target '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/links_common_algorithm/tda3xx-evm/arp32_1/release/algorithmLink_cfg.oearp32F' failed
    make[7]: *** [/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/links_common_algorithm/tda3xx-evm/arp32_1/release/algorithmLink_cfg.oearp32F] Error 1
    make[7]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/links_fw/src/rtos/links_common/algorithm'
    /opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/rtos/makerules/common.mk:235: recipe for target 'arp32_1' failed
    make[6]: *** [arp32_1] Error 2
    make[6]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/links_fw/src/rtos/links_common/algorithm'
    Makefile:19: recipe for target 'links_common_algorithm' failed
    make[5]: *** [links_common_algorithm] Error 2
    make[5]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/links_fw/src/rtos'
    MAKEFILE.MK:168: recipe for target 'libs' failed
    make[4]: *** [libs] Error 2
    make[4]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/links_fw/src/rtos'
    Makefile:219: recipe for target 'links_fw_libs' failed
    make[3]: *** [links_fw_libs] Error 2
    make[3]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build'
    Makefile:38: recipe for target 'apps' failed
    make[2]: *** [apps] Error 2
    make[2]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build'
    Makefile:12: recipe for target 'vision_sdk' failed
    make[1]: *** [vision_sdk] Error 2
    make[1]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build'
    Makefile:121: recipe for target 'all' failed
    make: *** [all] Error 2

  • Okay, I have solved this by : make depend / make

    However, if I make linux_install, it has this error.

    root@ubuntu-vm:/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build# make linux_install
    make -C ./hlos/makerules/linux -f build_kernel.mk kernel_install
    make[1]: Entering directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/hlos/makerules/linux'
    make -fbuild_kernel.mk kernel_build KERNEL_TARGET=modules_install INSTALL_MOD_PATH=
    make[2]: Entering directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/hlos/makerules/linux'
    make -C ARCH=arm CROSS_COMPILE= modules_install
    make[3]: Entering directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/hlos/makerules/linux'
    make[3]: *** ARCH=arm: No such file or directory. Stop.
    make[3]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/hlos/makerules/linux'
    build_kernel.mk:11: recipe for target 'kernel_build' failed
    make[2]: *** [kernel_build] Error 2
    make[2]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/hlos/makerules/linux'
    build_kernel.mk:67: recipe for target 'kernel_install' failed
    make[1]: *** [kernel_install] Error 2
    make[1]: Leaving directory '/opt/PROCESSOR_SDK_VISION_03_07_01_00/vision_sdk/build/hlos/makerules/linux'
    Makefile:489: recipe for target 'linux_install' failed
    make: *** [linux_install] Error 2

  • Hi Rio,

    for TDA3, you do not need 'make linux_install' - this is used in Linux+RTOS case to copy the newly built binaries to the rootfs.

    You will need just:

    make depend

    make

    and then you should have the binaries in vision_sdk\binaries\$(MAKEAPPNAME)\$(MAKECONFIG)\vision_sdk\bin\tda3xx-evm directory.

    Regards,

    Yordan