Part Number: CCSTUDIO-SITARA
Hi all,
I am currently working on AM64x GP EVM and I am using CCS version 10.4.0.00006
I get makefile recipe failed and post build failed message but I can successfully get the .out binary file. But the appimages are not being generated.
I have installed the necessary sdks and this is what I get in the console:
**** Build of configuration Debug for project mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang ****
"C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../example.syscfg"
Invoking: SysConfig
"C:/ti/sysconfig_1_8_1/sysconfig_cli.bat" -s "C:/ti/mcu_plus_sdk_am64x_08_00_00_21/.metadata/product.json" --script "C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part Default --package ALV --compiler ticlang
Running script...
Validating...
Generating Code (example.syscfg)...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
Writing C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
Finished building: "../example.syscfg"
Building file: "syscfg/ti_drivers_open_close.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
Finished building: "syscfg/ti_drivers_open_close.c"
Building file: "syscfg/ti_pinmux_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
Finished building: "syscfg/ti_pinmux_config.c"
Building file: "syscfg/ti_drivers_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
Finished building: "syscfg/ti_drivers_config.c"
Building file: "syscfg/ti_dpl_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
Finished building: "syscfg/ti_dpl_config.c"
Building file: "syscfg/ti_power_clock_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
Finished building: "syscfg/ti_power_clock_config.c"
Building file: "syscfg/ti_board_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
Finished building: "syscfg/ti_board_config.c"
Building file: "syscfg/ti_board_open_close.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
Finished building: "syscfg/ti_board_open_close.c"
Building file: "../mcan_loopback_polling.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"mcan_loopback_polling.d_raw" -MT"mcan_loopback_polling.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"mcan_loopback_polling.o" "../mcan_loopback_polling.c"
Finished building: "../mcan_loopback_polling.c"
Building file: "../main.c"
Invoking: Arm Compiler
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"main.o" "../main.c"
Finished building: "../main.c"
Building target: "mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang.out"
Invoking: Arm Linker
"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"mcan_loopback_polling.Debug.map" -Wl,-i"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/kernel/freertos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/drivers/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am64x_08_00_00_21/source/board/lib" -Wl,-i"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./main.o" "./mcan_loopback_polling.o" "../linker.cmd" -Wl,-lfreertos.am64x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am64x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am64x.m4f.ti-arm-clang.debug.lib -Wl,-llibc.a
Finished building target: "mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang.out"
C:/ti/ccs1040/ccs/utils/bin/gmake -C C:\ti\TI_Workspace\mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=C:/ti/mcu_plus_sdk_am64x_08_00_00_21 CG_TOOL_ROOT=C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS CCS_INSTALL_DIR=C:\ti\ccs1040\ccs CCS_IDE_MODE=desktop
Boot image: am64x:r5fss0-0:freertos:ti-arm-clang C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang.appimage ...
C:/ti/mcu_plus_sdk_am64x_08_00_00_21/tools/boot/out2rprc/out2rprc.exe Debug/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang.out C:/ti/TI_Workspace/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/mcan_loopback_polling_am64x-evm_r5fss0-0_freertos_ti-arm-clang.rprc_tmp >> Debug/temp_stdout_Debug.txt
makefile_ccs_bootimage_gen:71: recipe for target 'all' failed
gmake[3]: *** [all] Error -2146232576
gmake[2]: [post-build] Error 2 (ignored)
makefile:177: recipe for target 'post-build' failed
**** Build Finished ****
Although I am able to get the .out binary and debug with it, I would also like to test using the appimages and can you please help me on what I should do.