Hi,
We’re building the eve starterware eve_sw_01_20_00_00 example application mailbox_dsp1_all_eves found in PROCESSOR_SDK_VISION_03_07_00_00 for the TDA3 platform
We can build for the eve core, but when building for dsp we get some errors
This is our makefile:
export EVE_SW_ROOT = $(TI_SW_ROOT)/algorithms/eve_sw_01_20_00_00 export RM_FILE_CMD = rm export UTILS_PATH = /bin export ARP32_TOOLS = /opt/tda3x/ti_components/cg_tools/linux/arp32_1.0.7 export DSP_TOOLS = /opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4 starterware: make -C $(EVE_SW_ROOT)/starterware/examples/mailbox_dsp1_all_eves/dsp1/src all TARGET_SOC=vayu CORE=dsp TARGET_BUILD=debug
The output from building is found in attached file
It complains about libraries not found (rts6740.lib). When looking in the lib folder we can see rts6740_elf.lib and if we rename it that one it is accepted
Second there is another library (libevestarterware_dsp.lib) that gives the error:
"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/libs/vay
u/dsp/debug/libevestarterware_dsp.lib" contains TI-COFF object files which
are incompatible with the ELF output file. Ensure you are using the proper
library.
Can I find the EABI version of this library anywhere?
There is also a few other errors present, not sure if it is because the above library doesn’t work
Is there any other example that builds code for eve and dsp processors that can be used instead? Right now we are only interested in getting a binary which runs on the core, it does not really matter what it does
/Erik
user@linuxkit-00155d890103:/data$ make -C code/ starterware make: Entering directory '/data/code' Building starterware example project make -C /opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/mailbox_dsp1_all_eves/eve1/src all TARGET_SOC=vayu CORE=eve TARGET_BUILD=debug make[1]: Entering directory '/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/mailbox_dsp1_all_eves/eve1/src' /bin/rm -f ../objs/*.obj ../elf_out/*.out ../elf_out/*.map /opt/tda3x/ti_components/cg_tools/linux/arp32_1.0.7/bin/cl-arp32 -g --silicon_version=v210 --define VAYU_PLATFORM -I"/opt/tda3x/ti_components/cg_tools/linux/arp32_1.0.7/include" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc" -I"/opt/tda3x/ti_components/cg_tools/linux/arp32_1.0.7/include/vcop" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/vayu/eve" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc/baseaddress/vayu/eve" eden_mailbox_eve1_to_gem1.c eve1_main.c /opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/vayu/boot_arp32.asm --obj_directory "../objs" [eden_mailbox_eve1_to_gem1.c] "eden_mailbox_eve1_to_gem1.c", line 111: warning: variable "ix" was declared but never referenced [eve1_main.c] "eve1_main.c", line 77: warning: variable "checkReturn" was set but never used [boot_arp32.asm] /opt/tda3x/ti_components/cg_tools/linux/arp32_1.0.7/bin/lnk-arp32 -c -x -l"/opt/tda3x/ti_components/cg_tools/linux/arp32_1.0.7/lib/rtsarp32_v200.lib" -l"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/libs/vayu/eve/debug/libevestarterware_eve.lib" -l"linker.cmd" ../objs/eden_mailbox_eve1_to_gem1.obj ../objs/eve1_main.obj ../objs/boot_arp32.obj -o ../elf_out/eve_mbox_dsp1_all_eve.out -m ../elf_out/eve_mbox_dsp1_all_eve.map warning: entry-point symbol other than "_c_int00" specified: "_reset_handler" make[1]: Leaving directory '/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/mailbox_dsp1_all_eves/eve1/src' make -C /opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/mailbox_dsp1_all_eves/dsp1/src all TARGET_SOC=vayu CORE=dsp TARGET_BUILD=debug make[1]: Entering directory '/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/mailbox_dsp1_all_eves/dsp1/src' /bin/rm -f ../objs/*.obj ../elf_out/*.out ../elf_out/*.map /opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/cl6x -mv6740+ -ml3 -g -DUSE_LEVEL_1_MACROS --define VAYU_PLATFORM -I"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/include" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc" -I"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/include/vcop" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/vayu/dsp" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc/baseaddress/vayu/dsp" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/dsp/inc" -D EDEN28 /opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/dsp/src/INTH_dsp.c --obj_directory "../objs" /opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/cl6x -mv6740+ -ml3 -g -DUSE_LEVEL_1_MACROS --define VAYU_PLATFORM -I"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/include" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc" -I"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/include/vcop" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/vayu/dsp" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc/baseaddress/vayu/dsp" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/dsp/inc" -D EDEN28 eden_mailbox_eve_to_gem.c gem1_main.c tsc_h.asm --obj_directory "../objs" [eden_mailbox_eve_to_gem.c] [gem1_main.c] "gem1_main.c", line 77: warning: variable "checkReturn" was set but never used [tsc_h.asm] /opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/cl6x -mv6740+ -ml3 -g -DUSE_LEVEL_1_MACROS --define VAYU_PLATFORM -I"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/include" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc" -I"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/include/vcop" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/vayu/dsp" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/inc/baseaddress/vayu/dsp" -I"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/common/dsp/inc" -D EDEN28 --no_compress intvecs.asm --obj_directory "../objs" /opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/lnk6x -c -x -l"/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/lib/rts6740.lib" -l"/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/libs/vayu/dsp/debug/libevestarterware_dsp.lib" -l"linker.cmd" ../objs/tsc_h.obj ../objs/gem1_main.obj ../objs/eden_mailbox_eve_to_gem.obj ../objs/INTH_dsp.obj ../objs/intvecs.obj -o ../elf_out/dsp_mbox_dsp1_all_eves.out -m ../elf_out/dsp_mbox_dsp1_all_eves.map error: cannot find file "/opt/tda3x/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/lib/rts6740.lib" warning: library "/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/libs/vay u/dsp/debug/libevestarterware_dsp.lib" contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the proper library. warning: automatic RTS selection: attempt to automatically link in index library "libc.a" failed; file not found warning: Symbol "$bss" is a COFFABI symbol deprecated in EABI; use EABI symbol "__TI_STATIC_BASE" instead. For additional information, please see the 'C6000 EABI Migration' guide at http://processors.wiki.ti.com/index.php/C6000_EABI:C6000_EABI_Migration#Symb ol_Name_Changes warning: "GROUP_1" contains both ".cinit" and ".far"; compression "rle" can not be performed for ".far" fatal error: illegal attempt to place ".cinit" before ".far" in "GROUP_1" Makefile:21: recipe for target 'dsp_mbox_dsp1_all_eves.out' failed make[1]: *** [dsp_mbox_dsp1_all_eves.out] Error 1 make[1]: Leaving directory '/opt/tda3x/ti_components/algorithms/eve_sw_01_20_00_00/starterware/examples/mailbox_dsp1_all_eves/dsp1/src' Makefile:20: recipe for target 'starterware' failed make: *** [starterware] Error 2 make: Leaving directory '/data/code' user@linuxkit-00155d890103:/data$