Part Number: PROCESSOR-SDK-AM65X
Tool/software: Code Composer Studio
Hi,
I'm trying to compile the "TI-RTOS-Kernel Example how it is described in the "processor sdk rtos 06_00_00_07" documentation (9.8 TI-RTOS Kernel Example, 9.8.2 ARM Cortex-A53).
I did all the described steps to create the project like selecting target, compiler, linker command file and so on.
But the building of the project doesn't succeed, i get the following error message (marked red):
**** Clean-only build of configuration Debug for project HelloRTOS **** "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "HelloRTOS.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "HelloRTOS.out" DEL /F "InitMmu.o" "main.o" DEL /F "InitMmu.d" "main.d" RMDIR /S/Q "configPkg\" C:\ti\ti\am65x_am53_hello_workspace\Debug\HelloRTOS.hex konnte nicht gefunden werden C:\ti\ti\am65x_am53_hello_workspace\Debug\HelloRTOS.out konnte nicht gefunden werden Finished clean **** Build Finished **** **** Build of configuration Debug for project HelloRTOS **** "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../sysbios_a53.cfg" Invoking: XDCtools "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A53F -p ti.platforms.cortexA:AM65X -r debug -c "C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf" "../sysbios_a53.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring sysbios_a53.xa53fg from package/cfg/sysbios_a53_pa53fg.cfg ... generating custom ti.sysbios library makefile ... Starting build of library sources ... making C:/ti/ti/am65x_am53_hello_workspace/src/sysbios/sysbios.aa53fg ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/gicv3/Hwi_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/gicv3/Hwi_asm_switch_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/gicv3/Hwi_asm_vecs_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Cache_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Core_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/TaskSupport_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Timer_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/TimestampProvider_asm_gnu.sv8A ... asma53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/timers/dmtimer/Timer_asm_gnu.sv8A ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/BIOS.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Clock.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Idle.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Intrinsics.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Queue.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Semaphore.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Swi.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Task.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Cache.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Hwi.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Hwi_stack.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Hwi_startup.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/heaps/HeapMem.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/gicv3/Hwi.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Cache.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Core.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Mmu.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/TaskSupport.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/Timer.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/v8a/TimestampProvider.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/timers/dmtimer/Timer.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a15/TimerSupport.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/gates/GateHwi.c ... cla53fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/gates/GateMutex.c ... ara53fg arm_IntrinsicsSupport_asm_gnu.o gicv3_Hwi_asm_gnu.o gicv3_Hwi_asm_switch_gnu.o gicv3_Hwi_asm_vecs_gnu.o v8a_Cache_asm_gnu.o v8a_Core_asm_gnu.o v8a_TaskSupport_asm_gnu.o v8a_Timer_asm_gnu.o v8a_TimestampProvider_asm_gnu.o dmtimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Task.o hal_Cache.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o heaps_HeapMem.o gicv3_Hwi.o v8a_Cache.o v8a_Core.o v8a_Mmu.o v8a_TaskSupport.o v8a_Timer.o v8a_TimestampProvider.o dmtimer_Timer.o a15_TimerSupport.o gates_GateHwi.o gates_GateMutex.o ... Build of libraries done. cla53fg package/cfg/sysbios_a53_pa53fg.c ... Finished building: "../sysbios_a53.cfg" Building file: "../main.c" Invoking: GNU Compiler "C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-gcc.exe" -c -mcpu=cortex-a53 -mtune=cortex-a53 -fno-exceptions -Dam6548 -Dcore0 -DAARCH64 -DSOC_AM6X -I"C:/ti/ti/am65x_am53_hello_workspace" -I"C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/aarch64-elf/include" -Og -g -gdwarf-2 -Wall -specs="nosys.specs" -MMD -MP -MF"main.d" -MT"main.o" @"configPkg/compiler.opt" -o"main.o" "../main.c" Finished building: "../main.c" Building file: "../InitMmu.c" Invoking: GNU Compiler "C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-gcc.exe" -c -mcpu=cortex-a53 -mtune=cortex-a53 -fno-exceptions -Dam6548 -Dcore0 -DAARCH64 -DSOC_AM6X -I"C:/ti/ti/am65x_am53_hello_workspace" -I"C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/aarch64-elf/include" -Og -g -gdwarf-2 -Wall -specs="nosys.specs" -MMD -MP -MF"InitMmu.d" -MT"InitMmu.o" @"configPkg/compiler.opt" -o"InitMmu.o" "../InitMmu.c" Finished building: "../InitMmu.c" Building target: "HelloRTOS.out" Invoking: GNU Linker "C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-gcc.exe" -mtune=cortex-a53 -fno-exceptions -Dam6548 -Dcore0 -DAARCH64 -DSOC_AM6X -Og -g -gdwarf-2 -Wall -specs="nosys.specs" -mcpu=cortex-a53 -Wl,-Map,"HelloRTOS.map" -nostartfiles -L"C:/ti/bios_6_75_02_00/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib" -Wl,--defsym,CORE0=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"HelloRTOS.out" "./InitMmu.o" "./main.o" -Wl,-T"../linker_a53.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lc -Wl,--end-group makefile:146: recipe for target 'HelloRTOS.out' failed C:\ti\ti\am65x_am53_hello_workspace\src\sysbios\sysbios.aa53fg(gicv3_Hwi.o): In function `ti_sysbios_family_arm_gicv3_Hwi_initIntControllerCoreX__E': C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/gicv3/Hwi.c:435: undefined reference to `ti_sysbios_hal_CoreNull_getId__E' C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/gicv3/Hwi.c:435:(.text.ti_sysbios_family_arm_gicv3_Hwi_initIntControllerCoreX__E+0x8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ti_sysbios_hal_CoreNull_getId__E' collect2.exe: error: ld returned 1 exit status gmake[1]: *** [HelloRTOS.out] Error 1 gmake: *** [all] Error 2 makefile:142: recipe for target 'all' failed **** Build Finished **** |
What went wrong?