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-AM243X: MCU+SDK 9.0.0.30: Cannot build bootloader projects

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH

Hi experts,

with the current MCU+SDK, I cannot build the bootloader projects. There seems to be an error in the makefile_ccs_bootimage_gen.

Is there a workaround?

BR

Alexander

  • Hello Alexander,

    Sorry for the delayed response but I've tried a few manners to reproduce this issue and could not do so yet. Can you share which CCS version and SysConfig version you are using? Also is your install of the SDK in the default path (C:\ti)?

    Best Regards,

    Ralph Jacobi

  • Hello Ralph,

    I am using CCS 12.1.0.00007 and sysconfig 1.17.0. CCS is installed to C.\DevTools\TI.

    My colleague found that in makefile_ccs_bootimage_gen, some lines embedded in ifeq/else/endif should start with Tab instead of Space, and a final endif is missing. But still I get an error that I cannot fix. (see below).

    I attached my complete project in the original state.

    BR

    Alexander

    python C:/DevTools/TI/mcu_plus_sdk_am243x_09_00_00_30/tools/boot/signing/rom_image_gen.py --swrv 1 --sbl-enc --enc-key --sbl-bin C:/pro/1900/d5base/firmware/sbl_dfu_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_dfu_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.bin --sysfw-bin C:/DevTools/TI/mcu_plus_sdk_am243x_09_00_00_30/source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-fs-enc.bin --sysfw-inner-cert C:/DevTools/TI/mcu_plus_sdk_am243x_09_00_00_30/source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-fs-enc-cert.bin --boardcfg-blob C:/DevTools/TI/mcu_plus_sdk_am243x_09_00_00_30/source/drivers/sciclient/sciclient_default_boardcfg/am243x/boardcfg_blob.bin --sbl-loadaddr 0x70000000 --sysfw-loadaddr 0x44000 --bcfg-loadaddr 0x7B000 --key C:/DevTools/TI/mcu_plus_sdk_am243x_09_00_00_30/tools/boot/signing/rom_degenerateKey.pem --rom-image sbl_dfu_uniflash.Debug.hs_fs.tiimage
    makefile_ccs_bootimage_gen:65: recipe for target 'all' failed
    usage: rom_image_gen.py [-h] [--swrv SWRV] --sbl-bin SBL_BIN [--sbl-enc]
    [--enc-key ENC_KEY] --sysfw-bin SYSFW_BIN
    [--sysfw-inner-cert SYSFW_INNER_CERT] --boardcfg-blob
    BOARDCFG_BLOB --sbl-loadaddr SBL_LOADADDR
    --sysfw-loadaddr SYSFW_LOADADDR --bcfg-loadaddr
    BCFG_LOADADDR --key KEY --rom-image ROM_IMAGE
    [--debug DEBUG]
    rom_image_gen.py: error: argument --enc-key: expected one argument
    gmake[3]: *** [all] Error 2
    gmake[2]: [post-build] Error 2 (ignored)
    makefile:184: recipe for target 'post-build' failed

    sbl_dfu_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.zip

  • Hello Alexander,

    Thanks for attaching the complete project. Today is a holiday in the US but I will download and test your provided example project tomorrow. I will also compare it to what is working on my end.

    Best Regards,

    Ralph Jacobi

  • Hello Alexander,

    I was able to re-create the issue with your project and compared it to my working end. In doing so, I realized in we were on different sub versions of the 9.0.0 SDK.

    I was using 9.0.0.35 while you have 9.0.0.30. Reviewing the differences between them, .35 is a patch release to resolve the issue with SBL from CCS build not working.

    Please download 9.0.0.35 and see if you can build the SBL correctly. Sorry for not catching this on Thursday.

    Best Regards,

    Ralph Jacobi