arjun.a
range data
5aefcf4
raw
history blame
No virus
14.1 kB
Ticket Name: TDA2: TDA2x EVM Compiling error (newbie)
Query Text:
Part Number: TDA2 Hi TI I have install the software and compiler and run as mention in the video (from TDA EVM series - part 2) and found error after it finishing compiling. I am not sure did install the path correctly as mention “<install dir>/ti_components/cg_tools/windows/” from the user guide. Is this A15 Compiler linker is to install onto the sdk vision path or i need to create a path for it. Please advise
Responses:
Hi Willson, Can you please share the build log, that would help us to identify the error. Regards, Sujith
Hi the attach is the notepad when use gmake -s -j depend command error with depend.txt C:\PROCESSOR_SDK_VISION_03_03_00_00\vision_sdk\build>gmake -s -j depend
/cygdrive/c/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/links_fw/include/config': File exists
/cygdrive/c/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/links_fw/include/config/apps': File exists
/cygdrive/c/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/mkdir: cannot create directory `C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all/system_cfg.h
# makeconfig: Input file is @ C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.# Compiling tda2xx-evm:a15_0:release:edma3lld_drv: src/edma3_drv_adv.c. -Isrc -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/ndk_2_24_02_31/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/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....
process_begin: CreateProcess(NULL, C:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/ndk_2_24_02_31/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -MD -MF C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include -I. -I../../../.. -Isrc -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/ndk_2_24_02_31/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages -I/packages -IC:/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/links_fw/include/config/apps/tda2xx_evm_bios_all -o C:/PROCESSOR_SDK_VISION_03_03_00_00/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:/PROCESSOR_SDK_VISION_03_03_00_00/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
Hi Willson, Path is already available with vision_sdk installer However A15 compiler path varies depending upon OS If windows, you need to copy under - <install dir>/ti_components/cg_tools/windows/ If Linux, you need to copy under - <install dir>/ti_components/cg_tools/linux/ Regards Surya
Dear Surya So i can run the A15 compiler and paste this "C:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\cg_tools\windows" to the installing path? As show from attach.
Yes
After numbers of trying is still have the errors which was mentions above from the "gmake -s -j depend" command
Hi, The compiler should be installed in path "C:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\cg_tools\windows\gcc-arm-none-eabi-4_9-2015q3". Can you check if CODEGEN_PATH_A15 as defined in Rules.make indeed exactly matches the location where you have installed the compiler. Regards, Rishabh
Dear Rishabh Can i know what is the line number?
Dear Rishabh I notice the error is as follow The system cannot find the file specified edma3_drv_basic.c edma3_drv_basic.oa15fg edma3_drv_adv.oa15fg I try to go to the folder and these file are not able to be located.
Hi, Sorry I meant path as defined in tools_path.mk and not Rules.make. Also did you try building without -j. Regards, Rishabh
Dear Rishabh There is still error . Now it say a15/release/edma3_drv_init.oa15fg src/edma3_drv_init.c cannot find the file specified.
Hi, Did you check the path in tools_path.mk as I have specified in my previous reply. Make system is not able to find the A15 compiler and hence build is failing. You need to make sure that path is set appropriately. Regards, Rishabh
Dear Rishabh Below is the printscreen i had change the path but it is still having the same error
Hi Willson, Can you just run "where gmake" & confirm it is pointing to <install_dir>\ti_components\os_tools\windows\xdctools_3_32_01_22_core Regards Surya
Dear Surya As requested
Hi, Can you run dir command in the location $(TI_SW_ROOT)/cg_tools/windows/4.9_2015q3 ans share the result. Regards, Rishabh
Dear Rishabh As requested.
Hi, The compiler seems to be there. From the error log you had shared initially the compiler path is set to "C:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/cg_tools/windows/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc". You should rename the folder 4.9_2015q3 to gcc-arm-none-eabi-4_9-2015q3 and try. Regards, Rishabh
Dear Rishabh The error is solved but another error cant out which as show below. Note both command with "gmake -s -j depend" and with -j has the same error
Hi, Great that the previous error is resolved. Can you build without -j. Regards, Rishabh
Dear Rishabh As mention in previous post it is the same error with -j as well. The attach below is the result without -j
Hi, Do you have the full permissions in this machine? Can you try a clean build. Regards, Rishabh
Dear Rishabh Are you able to advise how to clean the build?
Hi, Commands are "make clean" and "make allclean". See vision_sdk\build\Makefile to what each target does. You should check VisionSDK_UserGuide_TDA2xx.pdf for more details on build. Regards, Rishabh
Dear Rishadh Sorry i did not know i am able to open the Makefile file in notepad. That i a great help to me. But unfortunately after executing the with the gmake all clean command, The error came back one more. Please note i am having full permission of the machine as well . please see below.
Hi Wilson, This issue looks quite similar to the one you were facing with A15. gmake is not able to find M4 compiler. This compiler is included in the Processor SDK Vision installer itself. Did the installation finish successfully? In case you have made any changes in folder structure you should set CODEGEN_PATH_M4 appropriately in tools_path.mk. Regards, Rishabh
Dear Rishabh i remember when installation there is no error. When i install the sdk vision i follow the instruction without changing as thing. When i run the very 1st command "gmake -s -j depnd" all the problem came out.
Dear Rishabh I think i will uninstall the SDK and reinstall it again and see what happen. if i uninstall the SDK must i also uninstall A15 compiler linker and the CCS as well?
Hi Wilson, You need not uninstall A15 compiler and CCS. Did you try the suggestion "In case you have made any changes in folder structure you should set CODEGEN_PATH_M4 appropriately in tools_path.mk." Regards, Rishabh
Dear Rishabh Nope i just reinstalled the Vision SDK and it is able to compile but this time instead of install as typical i install as custom and it able to compile. Can i ask is this compiling always that long? when i run "gmake -s" i took me like about an one to finish compiling.
Hi Wilson, Glad to know that the issue is resolved. Vision SDK is a huge code base with many library packages. When you build for the first time it usually takes long time depending on the machine. Incremental builds will take less time. Regards, Rishabh
Dear Rishabh Is there anyway advise for me where i can start learning create a project using CCS to develop DMS(driver monitoring system) using TI TDA2 EVM
Hi Wilson, You should first go through CCS Training slides present here: C:\PROCESSOR_SDK_VISION_03_03_00_00\vision_sdk\docs\TrainingSlides\CCS_Debug_Trace.pdf. You can also search the internet for CCS documentation and videos. Let's close this thread as the build issue has been resolved. If you have any more questions on another topic you can start a new thread. Regards, Rishabh
Hi, We haven't heard back from you, I'm assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). Regards, Rishabh
Dear Rishabh Sorry about i have already click on it that you have already "this have reslove" since two weeks ago. by the way thanks for the support given