This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM263X: recipe for target 'post-build' failed

Part Number: MCU-PLUS-SDK-AM263X


Hi TI Expert

We integration sbl_qsip with TI SDK, We can build *.out and *.map, but  missing *.bin file in post build, show errors as following, 

Building target: "am263x_zcu_sbl.out"
Invoking: Arm Linker
"C:/ti/ccs111011/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -Os -DSOC_AM263X -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"am263x_zcu_sbl.Release.map" -Wl,-i"C:/GIT_HH/am263x_test/evw_zebra/source/kernel/nortos/lib" -Wl,-i"C:/GIT_HH/am263x_test/evw_zebra/source/drivers/lib" -Wl,-i"C:/GIT_HH/am263x_test/evw_zebra/source/board/lib" -Wl,-i"C:/ti/ccs111011/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="am263x_zcu_sbl_linkInfo.xml" -Wl,--ram_model -o "am263x_zcu_sbl.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" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./main.o" "./SourceCode/HHAPI/APIFLASH.o" "./SourceCode/HHAPI/APINVM.o" "./SourceCode/HHSourceCode/API_can.o" "./SourceCode/HHSourceCode/HHCAN.o" "./SourceCode/HHSourceCode/HHFLASH.o" "./SourceCode/HHSourceCode/HHINPUT.o" "./SourceCode/HHSourceCode/HHNVM_I2C.o" "./SourceCode/HHSourceCode/HHOUTPUT.o" "./SourceCode/HHSourceCode/HHtimebase.o" "../linker.cmd"  -Wl,-lnortos.am263x.r5f.ti-arm-clang.release.lib -Wl,-ldrivers.am263x.r5f.ti-arm-clang.release.lib -Wl,-lboard.am263x.r5f.ti-arm-clang.release.lib -Wl,-llibc.a 
Finished building target: "am263x_zcu_sbl.out"
 
C:/ti/ccs111011/ccs/utils/bin/gmake -C C:\GIT_HH\am263x_test\evw_zebra\am263x_zcu_sbl -f makefile_ccs_bootimage_gen OUTNAME=am263x_zcu_sbl PROFILE=Release MCU_PLUS_SDK_PATH=C:/GIT_HH/am263x_test/evw_zebra CG_TOOL_ROOT=C:/ti/ccs111011/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS CCS_INSTALL_DIR=C:\ti\ccs111011\ccs CCS_IDE_MODE=desktop
 Boot image: am263x:r5fss0-0:nortos:ti-arm-clang C:/GIT_HH/am263x_test/evw_zebra/am263x_zcu_sbl/Release/am263x_zcu_sbl.tiimage ...
C:\ti\ccs111011\ccs/utils/tiobj2bin/tiobj2bin Release/am263x_zcu_sbl.out C:/GIT_HH/am263x_test/evw_zebra/am263x_zcu_sbl/Release/am263x_zcu_sbl.bin C:\ti\ccs111011\ccs/tools/compiler/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmofd C:\ti\ccs111011\ccs/tools/compiler/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmhex C:\ti\ccs111011\ccs/utils/tiobj2bin/mkhex4bin
C:\ti\ccs111011\ccs/utils/tiobj2bin/mkhex4bin failure occurred.  Giving up.
python C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_rom_image_gen.py --image-bin C:/GIT_HH/am263x_test/evw_zebra/am263x_zcu_sbl/Release/am263x_zcu_sbl.bin --core R5 --swrv 1 --loadaddr 0x70002000 --sign-key C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_gpkey.pem --out-image C:/GIT_HH/am263x_test/evw_zebra/am263x_zcu_sbl/Release/am263x_zcu_sbl.tiimage --debug DBG_SOC_DEFAULT
makefile_ccs_bootimage_gen:59: recipe for target 'all' failed
系統找不到指定的路徑。
File does not exist:  at XML_TI_OFD.pm line 877.
Traceback (most recent call last):
  File "C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_rom_image_gen.py", line 148, in <module>
    cert_str = get_cert(args)
  File "C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_rom_image_gen.py", line 124, in get_cert
    IMAGE_LENGTH = os.path.getsize(args.image_bin),
  File "C:\Program Files\Python36\lib\genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [WinError 2] 系統找不到指定的檔案。: 'C:/GIT_HH/am263x_test/evw_zebra/am263x_zcu_sbl/Release/am263x_zcu_sbl.bin'
gmake[4]: *** [all] Error 1
gmake[3]: [post-build] Error 2 (ignored)
makefile:200: recipe for target 'post-build' failed
 

**** Build Finished ****

please guide us how to fix this issue

BR

JAY

  • Hi Jay,

    Can you please share us the zip file of your project please? From what I understand,

    1. CCS doesn't generate .bin files as a part of it's post-build steps. It only generates the appimage file from the rprc's.

    2.  Also can you check the makefile_ccs_bootimage_gen which basically holds all the post build steps. You can add the hex2bin generation from this post build steps.

    Thanks,
    G Kowshik

  • Hi Kowshik

    1. CCS onlny generate .out and map file, missing .bin / rprc and .appimage 

    **** Build of configuration Debug for project sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang ****
    
    "C:\\ti\\ccs111011\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../example.syscfg"
    Invoking: SysConfig
    "C:/ti/sysconfig_1.12.1/sysconfig_cli.bat" -s "C:/GIT_HH/am263x_test/evw_zebra/.metadata/product.json" --script "C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part AM263x --package ZCZ --compiler ticlang
    Running script...
    Validating...
    Generating Code (example.syscfg)...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_config.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_config.h...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.c...
    Writing C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.h...
    Finished building: "../example.syscfg"
     
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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_drivers_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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_drivers_open_close.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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_enet_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_config.d_raw" -MT"syscfg/ti_enet_config.o" -I"C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_config.o" "syscfg/ti_enet_config.c"
    Finished building: "syscfg/ti_enet_config.c"
     
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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_power_clock_config.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_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: "syscfg/ti_enet_open_close.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_open_close.d_raw" -MT"syscfg/ti_enet_open_close.o" -I"C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_open_close.o" "syscfg/ti_enet_open_close.c"
    Finished building: "syscfg/ti_enet_open_close.c"
     
    Building file: "../main.c"
    Invoking: Arm Compiler
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_1.3.1.LTS/include/c" -I"C:/GIT_HH/am263x_test/evw_zebra/source" -DSOC_AM263X -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:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"main.o" "../main.c"
    Finished building: "../main.c"
     
    Building target: "sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.out"
    Invoking: Arm Linker
    "C:/ti/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"sbl_qspi.Debug.map" -Wl,-i"C:/GIT_HH/am263x_test/evw_zebra/source/kernel/nortos/lib" -Wl,-i"C:/GIT_HH/am263x_test/evw_zebra/source/drivers/lib" -Wl,-i"C:/GIT_HH/am263x_test/evw_zebra/source/board/lib" -Wl,-i"C:/ti/ti-cgt-armllvm_1.3.1.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "sbl_qspi_am263x-cc_r5fss0-0_nortos_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" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./main.o" "../linker.cmd"  -Wl,-lnortos.am263x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am263x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am263x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a 
    Finished building target: "sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.out"
     
    C:/ti/ccs111011/ccs/utils/bin/gmake -C C:\GIT_HH\FVT_ZCU\sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=C:/GIT_HH/am263x_test/evw_zebra CG_TOOL_ROOT=C:/ti/ti-cgt-armllvm_1.3.1.LTS CCS_INSTALL_DIR=C:\ti\ccs111011\ccs CCS_IDE_MODE=desktop
     Boot image: am263x:r5fss0-0:nortos:ti-arm-clang C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.tiimage ...
    C:\ti\ccs111011\ccs/utils/tiobj2bin/tiobj2bin Debug/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.out C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.bin C:\ti\ccs111011\ccs/tools/compiler/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmofd C:\ti\ccs111011\ccs/tools/compiler/ti-cgt-armllvm_1.3.1.LTS/bin/tiarmhex C:\ti\ccs111011\ccs/utils/tiobj2bin/mkhex4bin
    C:\ti\ccs111011\ccs/utils/tiobj2bin/mkhex4bin failure occurred.  Giving up.
    python C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_rom_image_gen.py --image-bin C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.bin --core R5 --swrv 1 --loadaddr 0x70002000 --sign-key C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_gpkey.pem --out-image C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.tiimage --debug DBG_SOC_DEFAULT
    makefile_ccs_bootimage_gen:59: recipe for target 'all' failed
    系統找不到指定的路徑。
    File does not exist:  at XML_TI_OFD.pm line 877.
    Traceback (most recent call last):
      File "C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_rom_image_gen.py", line 148, in <module>
        cert_str = get_cert(args)
      File "C:/GIT_HH/am263x_test/evw_zebra/tools/boot/signing/mcu_rom_image_gen.py", line 124, in get_cert
        IMAGE_LENGTH = os.path.getsize(args.image_bin),
      File "C:\Program Files\Python36\lib\genericpath.py", line 50, in getsize
        return os.stat(filename).st_size
    FileNotFoundError: [WinError 2] 系統找不到指定的檔案。: 'C:/GIT_HH/FVT_ZCU/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.bin'
    gmake[3]: *** [all] Error 1
    gmake[2]: [post-build] Error 2 (ignored)
    makefile:178: recipe for target 'post-build' failed
     
    
    **** Build Finished ****
    

    2.please check zip file for sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.zip

    sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.zip

    BR

    JAY

  • Hi JAY,

    I don't see any zip file. Can you re-share please?

  • Hi Kowshik

    We re-share sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.zip

    1803.sbl_qspi_am263x-cc_r5fss0-0_nortos_ti-arm-clang.zip

    BR

    Jay

  • Great, please provide me some time to look into the project and come back with more suggestions.

  • Hi JAY,

    I have take a look into your project. I want some more info, Can you please go into the "Debug/" folder in your project that's present in the CCS work space where project is created and run the following commands there and send me the output you got on the command prompt?

    If you're using a Linux machine: 

    • make -s clean
    • make -s all

    If you're using a Windows Machine

    (Before proceeding, please make sure you have the following path present in the Environment Variables/ Path, this basically has the gmake.exe present inside it, so when you run the below commands it'll invoke the gmake properly)

    • gmake -s clean
    • gmake -s all

    Once you run these commands please send me the output that you see on the terminal. I was initially facing the same issue you're seeing however I have actually got this project succesfully compiled when I changed my environment to a Windows Virtual Machine and everything ran peacefully on first compilation. So please try these steps and let me know if it solved your issue.

    Meanwhile I'll try doing a root cause analysis on this as we've seen this multiple times on our end too.

    Thanks,
    G Kowshik

  • Hi JAY,

    Are you able to resolve this error or do you need support on this issue? Can you try the above suggestions and let me know? 

  • Hi G Kowshik

    After we reinstall CCS11.2, we resolve this error.

    The root cause is CCS 11.1 install path modify to C:\\ti\\ccs111011\\

    BR

    Jay

  • Hi JAY,

    Glad to know that the issue is resolved. Closing this thread.