File size: 13,595 Bytes
5aefcf4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Ticket Name: RTOS/TDA2: SDK_VISION_03_03 build failed on windows

Query Text:
Part Number: TDA2 Tool/software: TI-RTOS Hi , I am doing the clean build on windows (tried from gitbash and windows command prompt ) got same err. could you please tell what's wrong with this ? $ gmake -s -j depend /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/tisdk/vision_sdk/links_fw/include/config': File exists /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/tisdk/vision_sdk/links_fw/include/config/apps': File exists /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all': File exists # makeconfig: Config is [ tda2xx_evm_bios_all ] # makeconfig: Output file is @ C:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all/system_cfg.h # makeconfig: Input file is @ C:/tisdk/vision_sdk/build/configs/tda2xx_evm_bios_all/cfg.mk # makeconfig: Generating header ... # makeconfig: Generating alg plugin config ... # makeconfig: Generating usecase config ... # makeconfig: Generating footer ... # makeconfig: Done !!! # # CPUs that are NOT required but included in config [ tda2xx_evm_bios_all ], # # WARNING: IPU1_1 can be excluded from application # WARNING: IPU2 can be excluded from application # # CPUs that are required but not included in config [ tda2xx_evm_bios_all ], # # # Edit C:/tisdk/vision_sdk/build/configs/tda2xx_evm_bios_all/cfg.mk to include or exclude CPUs in an application # # Compiling tda2xx-evm:a15_0:release:edma3lld_drv: src/edma3_drv_init.c # Compiling tda2xx-evm:a15_0:release:edma3lld_drv: src/edma3_drv_basic.c process_begin: CreateProcess(NULL, C:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/.deps/edma3_drv_init.P -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -ffunction-sections -fdata-sections -DSYSBIOS -DCGT_GCC -DCPU_IDLE_ENABLED -O2 -s -DNDEBUG -Werror -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_4_9_3 -DBIOS_BUILD -Dfar= -D__DYNAMIC_REENT__ -DTDA2XX_BUILD -DTDA2XX_FAMILY_BUILD -DPLATFORM_EVM_SI -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -IC:/tisdk/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -IC:/tisdk/ti_components/networking/ndk_2_24_02_31/packages -IC:/tisdk/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/tisdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_init.oa15fg src/edma3_drv_init.c, ...) failed. make (e=2): The system cannot find the file specified. gmake[4]: *** [C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_init.oa15fg] Error 2 gmake[4]: *** Waiting for unfinished jobs.... # Compiling tda2xx-evm:a15_0:release:edma3lld_drv: src/edma3_drv_adv.c process_begin: CreateProcess(NULL, C:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/.deps/edma3_drv_basic.P -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -ffunction-sections -fdata-sections -DSYSBIOS -DCGT_GCC -DCPU_IDLE_ENABLED -O2 -s -DNDEBUG -Werror -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_4_9_3 -DBIOS_BUILD -Dfar= -D__DYNAMIC_REENT__ -DTDA2XX_BUILD -DTDA2XX_FAMILY_BUILD -DPLATFORM_EVM_SI -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -IC:/tisdk/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -IC:/tisdk/ti_components/networking/ndk_2_24_02_31/packages -IC:/tisdk/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/tisdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_basic.oa15fg src/edma3_drv_basic.c, ...) failed. make (e=2): The system cannot find the file specified. gmake[4]: *** [C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_basic.oa15fg] Error 2 process_begin: CreateProcess(NULL, C:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/.deps/edma3_drv_adv.P -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -ffunction-sections -fdata-sections -DSYSBIOS -DCGT_GCC -DCPU_IDLE_ENABLED -O2 -s -DNDEBUG -Werror -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_4_9_3 -DBIOS_BUILD -Dfar= -D__DYNAMIC_REENT__ -DTDA2XX_BUILD -DTDA2XX_FAMILY_BUILD -DPLATFORM_EVM_SI -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -IC:/tisdk/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -IC:/tisdk/ti_components/networking/ndk_2_24_02_31/packages -IC:/tisdk/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/tisdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_adv.oa15fg src/edma3_drv_adv.c, ...) failed. make (e=2): The system cannot find the file specified. gmake[4]: *** [C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_adv.oa15fg] Error 2 gmake[3]: *** [a15_0] Error 2 gmake[2]: *** [edma3lld] Error 2 gmake[1]: *** [edma3lld] Error 2 gmake: *** [depend] Error 2 thanks, Terry

Responses:
Hi, Can you please remove -j from build and try. Thanks. Regards, Rishabh

Hi Rishabh Tried $ gmake -s depend /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/tisdk/vision_sdk/links_fw/include/config': File exists /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/tisdk/vision_sdk/links_fw/include/config/apps': File exists /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all': File exists # makeconfig: Config is [ tda2xx_evm_bios_all ] # makeconfig: Output file is @ C:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all/system_cfg.h # makeconfig: Input file is @ C:/tisdk/vision_sdk/build/configs/tda2xx_evm_bios_all/cfg.mk # makeconfig: Generating header ... # makeconfig: Generating alg plugin config ... # makeconfig: Generating usecase config ... # makeconfig: Generating footer ... # makeconfig: Done !!! # # CPUs that are NOT required but included in config [ tda2xx_evm_bios_all ], # # WARNING: IPU1_1 can be excluded from application # WARNING: IPU2 can be excluded from application # # CPUs that are required but not included in config [ tda2xx_evm_bios_all ], # # # Edit C:/tisdk/vision_sdk/build/configs/tda2xx_evm_bios_all/cfg.mk to include or exclude CPUs in an application # # Compiling tda2xx-evm:a15_0:release:edma3lld_drv: src/edma3_drv_init.c process_begin: CreateProcess(NULL, C:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/.deps/edma3_drv_init.P -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -ffunction-sections -fdata-sections -DSYSBIOS -DCGT_GCC -DCPU_IDLE_ENABLED -O2 -s -DNDEBUG -Werror -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_4_9_3 -DBIOS_BUILD -Dfar= -D__DYNAMIC_REENT__ -DTDA2XX_BUILD -DTDA2XX_FAMILY_BUILD -DPLATFORM_EVM_SI -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -IC:/tisdk/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -IC:/tisdk/ti_components/networking/ndk_2_24_02_31/packages -IC:/tisdk/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/tisdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_init.oa15fg src/edma3_drv_init.c, ...) failed. make (e=2): The system cannot find the file specified. gmake[4]: *** [C:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_init.oa15fg] Error 2 gmake[3]: *** [a15_0] Error 2 gmake[2]: *** [edma3lld] Error 2 gmake[1]: *** [edma3lld] Error 2 gmake: *** [depend] Error 2

Hi, It seems that A15 tool chain is missing. Can you install it as given in 2.1.2.1 A15 Compiler, Linker of VisionSDK_UserGuide_TDA2xx.pdf. Regards, Rishabh

Installed, do i need other tools ? c:\tisdk\vision_sdk\build>gmake -s depend /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `c:/tisdk/vision_sdk/links_fw/include/config': File exists /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `c:/tisdk/vision_sdk/links_fw/include/config/apps': File exists /cygdrive/c/tisdk/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `c:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all': File exists # makeconfig: Config is [ tda2xx_evm_bios_all ] # makeconfig: Output file is @ c:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all/system_cfg.h # makeconfig: Input file is @ c:/tisdk/vision_sdk/build/configs/tda2xx_evm_bios_all/cfg.mk # makeconfig: Generating header ... # makeconfig: Generating alg plugin config ... # makeconfig: Generating usecase config ... # makeconfig: Generating footer ... # makeconfig: Done !!! # # CPUs that are NOT required but included in config [ tda2xx_evm_bios_all ], # # WARNING: IPU1_1 can be excluded from application # WARNING: IPU2 can be excluded from application # # CPUs that are required but not included in config [ tda2xx_evm_bios_all ], # # # Edit c:/tisdk/vision_sdk/build/configs/tda2xx_evm_bios_all/cfg.mk to include or exclude CPUs in an application # # Compiling tda2xx-evm:a15_0:release:edma3lld_drv: src/edma3_drv_init.c process_begin: CreateProcess(NULL, c:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF c:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/.deps/edma3_drv_init.P -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -ffunction-sections -fdata-sections -DSYSBIOS -DCGT_GCC -DCPU_IDLE_ENABLED -O2 -s -DNDEBUG -Werror -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=A15F -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_4_9_3 -DBIOS_BUILD -Dfar= -D__DYNAMIC_REENT__ -DTDA2XX_BUILD -DTDA2XX_FAMILY_BUILD -DPLATFORM_EVM_SI -DVPS_VIP_BUILD -DVPS_VPE_BUILD -DVPS_DSS_BUILD -Ic:/tisdk/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -Ic:/tisdk/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -Ic:/tisdk/ti_components/networking/ndk_2_24_02_31/packages -Ic:/tisdk/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -Ic:/tisdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -Ic:/tisdk/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o c:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_init.oa15fg src/edma3_drv_init.c, ...) failed. make (e=2): The system cannot find the file specified. gmake[4]: *** [c:/tisdk/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/edma3lld_drv/tda2xx-evm/a15/release/edma3_drv_init.oa15fg] Error 2 gmake[3]: *** [a15_0] Error 2 gmake[2]: *** [edma3lld] Error 2 gmake[1]: *** [edma3lld] Error 2 gmake: *** [depend] Error 2

sorry it seems i installed to wrong path. let me try to fix it and will update

now it works. the default sdk came with the a15 compiler but the folder name is different from the one the tools_path.mk.

Hi Yang, Thanks for the confirmation. Glad that your issue is resolved. Regards, Rishabh