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.

AM625: MCU SDK 11.00.00.06 build error

Part Number: AM625
Other Parts Discussed in Thread: UNIFLASH

Tool/software: MCU PLUS SDK 11.00.00.06

#1. gmake all  AM62x MCU plus SDK11.00, got error as below:

there is not such file in the folder:

#2. Also can't flash sbl null

  • Hi Tony,

    Please tell what command have you run from the terminal?

    #2. Also can't flash sbl null

    You need to build the sbl_uart_uniflash_stage2 image and also the ipc_rpmsg_echo_linux appimage to flash the SBL NULL.

    Regards,

    Tushar

  • Please tell what command have you run from the terminal?

    gmake all under mcu sdk install directory.

  • Hi Tony,

    Try running the below command and let me know if you face any errors.

    gmake clean
    gmake all

    Regards,

    Tushar

  • the same

    gmake all >build.txt

    7563.build.txt

  • Hi Tony,

    I am trying to reproduce the issue at my end. Please allow some time to revert back.

    Regards,

    Tushar

  • Hi Tony,

    I have tried running the same command as you shared above. I am not getting any error.

    Have you modified files in the SDK?

    Also I can see you are using TI ARM CLANG v4.0.2 but the recommended version is v4.0.1.

    Please follow the SDK_DOWNLOAD instructions. 

    Regards,

    Tushar

  • The 4.0.1 CLANG download link is wrong linked to 3.2.3 in MCU SDK11.

    TI CLANG Compiler Toolchain

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/latest/exports/docs/api_guide_am62x/SDK_DOWNLOAD_PAGE.html

    copy the link address:

    https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-ayxs93eZNN/3.2.2.LTS/ti_cgt_armllvm_3.2.2.LTS_windows-x64_installer.exe

    Better to link to the all CLANG version download web:

    https://www.ti.com/tool/download/ARM-CGT-CLANG/4.0.1.LTS

    There is same error when build 10.01..00.33, which use CLANG 3.2.2, CCS12.8.1

    Build success in 10.00.00.14 on the same computer.

  • Hi Tony,

    Thanks for reporting. I have filed Jira ticket for the same and it will be fixed with next SDK docs.

    Regards,

    Tushar

  • Hi Tony,

    There is same error when build 10.01..00.33, which use CLANG 3.2.2, CCS12.8.1

    I can see you are facing issues for building EMMC stage2 image.

    Please you try the below command once and let us know the result.

    cd ${MCU+SDK}/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang
    gmake all

    Regards,

    Tushar

  • Here it is:

    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
    
    PS C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang>
    PS C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang> gmake all
    Generating SysConfig files ...
    C:/ti/sysconfig_1.23.1/nodejs/node C:/ti/sysconfig_1.23.1/dist/cli.js --product C:/ti/mcu_plus_sdk_am62x_11_00_00_16/.metadata/product.json --device AM62x --context r5fss0-0 --part Default --package AMC --output generated/ ../example.syscfg
    Running script...
    Validating...
    Generating Code (example.syscfg)...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_dpl_config.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_dpl_config.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_config.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_config.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_open_close.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_open_close.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_pinmux_config.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_power_clock_config.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_config.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_config.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_open_close.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_open_close.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_config.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_config.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_open_close.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_open_close.h...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_soc.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_lwipif.c...
    Writing C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_lwipif.h...
    C:/ti/ccs2011/ccs/utils/cygwin/mkdir -p obj/release
     Compiling: am62x:r5fss0-0:nortos:ti-arm-clang sbl_emmc_linux_stage2.release.out: ../main.c
    C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/bin/tiarmclang -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -Wall -Werror -g -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function  -Os  -IC:/ti/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/include/c -IC:/ti/mcu_plus_sdk_am62x_11_00_00_16/source -Igenerated   -DSOC_AM62X   -MMD -o obj/release//main.obj ../main.c
     .
     Linking: am62x:r5fss0-0:nortos:ti-arm-clang sbl_emmc_linux_stage2.release.out ...
    C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/bin/tiarmclang   -Wl,--diag_suppress=10063 -Wl,--priority -Wl,--ram_model -Wl,--reread_libs     -Wl,-iC:/ti/mcu_plus_sdk_am62x_11_00_00_16/source/kernel/nortos/lib -Wl,-iC:/ti/mcu_plus_sdk_am62x_11_00_00_16/source/drivers/lib -Wl,-iC:/ti/mcu_plus_sdk_am62x_11_00_00_16/source/drivers/device_manager/sciclient_direct/sbl/lib -Wl,-iC:/ti/mcu_plus_sdk_am62x_11_00_00_16/source/drivers/device_manager/rm_pm_hal/sbl/lib -Wl,-iC:/ti/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/lib   -Wl,-m=sbl_emmc_linux_stage2.release.map -o sbl_emmc_linux_stage2.release.out obj/release/main.obj obj/release/ti_drivers_config.obj obj/release/ti_drivers_open_close.obj obj/release/ti_board_config.obj obj/release/ti_board_open_close.obj obj/release/ti_dpl_config.obj obj/release/ti_pinmux_config.obj obj/release/ti_power_clock_config.obj -lsciclient_direct_sbl.am62x.r5f.ti-arm-clang.release.lib -lrm_pm_hal_sbl.am62x.r5f.ti-arm-clang.release.lib   -lnortos.am62x.r5f.ti-arm-clang.release.lib -ldrivers.am62x.r5f.ti-arm-clang.release.lib -llibc.a -llibsysbm.a   linker.cmd
    tiarmclang: error: no such file or directory: 'obj/release/ti_drivers_config.obj'
    tiarmclang: error: no such file or directory: 'obj/release/ti_drivers_open_close.obj'
    tiarmclang: error: no such file or directory: 'obj/release/ti_board_config.obj'
    tiarmclang: error: no such file or directory: 'obj/release/ti_board_open_close.obj'
    tiarmclang: error: no such file or directory: 'obj/release/ti_dpl_config.obj'
    tiarmclang: error: no such file or directory: 'obj/release/ti_pinmux_config.obj'
    tiarmclang: error: no such file or directory: 'obj/release/ti_power_clock_config.obj'
    xdctools_3_23_04_60\gmake.exe: *** [sbl_emmc_linux_stage2.release.out] Error 1
    PS C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang>

  • Hi Tony,

    I have tried the same and able to build the binary successfully, please refer below logs.

    $ gmake all 
    C:/ti/CCS_VS/ccs2011/ccs/utils/cygwin/mkdir -p obj/release/
    Generating SysConfig files ...
    C:/ti/Sysconfig/sysconfig_1.23.0/nodejs/node C:/ti/Sysconfig/sysconfig_1.23.0/dist/cli.js --product C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/.metadata/product.json --device AM62x --context r5fss0-0 --part Default --package AMC --output generated/ ../example.syscfg
    Running script...
    Validating...
    Generating Code (example.syscfg)...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_dpl_config.c...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_dpl_config.h...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_config.c...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_config.h...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_open_close.c...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_drivers_open_close.h...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_pinmux_config.c...Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_power_clock_config.c...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_config.c... 
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_config.h... 
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_open_close.c...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_board_open_close.h...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_config.c...  
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_config.h...  
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_open_close.c...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_open_close.h...
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_soc.c...     
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_lwipif.c...  
    Unchanged C:\ti\MCU_SDK\AM62x\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sk-lp\r5fss0-0_nortos\ti-arm-clang\generated\ti_enet_lwipif.h...  
     .
     Linking: am62x:r5fss0-0:nortos:ti-arm-clang sbl_emmc_linux_stage2.release.out ...
    C:/ti/CCS_VS/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/bin/tiarmclang   -Wl,--diag_suppress=10063 -Wl,--priority -Wl,--ram_model -Wl,--reread_libs     -Wl,-iC:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/source/kernel/nortos/lib -Wl,-iC:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/source/drivers/lib -Wl,-iC:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/source/drivers/device_manager/sciclient_direct/sbl/lib -Wl,-iC:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/source/drivers/device_manager/rm_pm_hal/sbl/lib -Wl,-iC:/ti/CCS_VS/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/lib   -Wl,-m=sbl_emmc_linux_stage2.release.map -o sbl_emmc_linux_stage2.release.out obj/release/main.obj obj/release/ti_drivers_config.obj obj/release/ti_drivers_open_close.obj obj/release/ti_board_config.obj obj/release/ti_board_open_close.obj obj/release/ti_dpl_config.obj obj/release/ti_pinmux_config.obj obj/release/ti_power_clock_config.obj -lsciclient_direct_sbl.am62x.r5f.ti-arm-clang.release.lib -lrm_pm_hal_sbl.am62x.r5f.ti-arm-clang.release.lib   -lnortos.am62x.r5f.ti-arm-clang.release.lib -ldrivers.am62x.r5f.ti-arm-clang.release.lib -llibc.a -llibsysbm.a   linker.cmd
     Linking: am62x:r5fss0-0:nortos:ti-arm-clang sbl_emmc_linux_stage2.release.out Done !!!
     .
     Boot image: am62x:r5fss0-0:nortos:ti-arm-clang C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62x-sk-lp/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.release.appimage ...
    C:/ti/Sysconfig/sysconfig_1.23.0/nodejs/node C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/tools/boot/out2rprc/elf2rprc.js sbl_emmc_linux_stage2.release.out 0x0B000010>> temp_stdout_release.txt     
    C:/ti/CCS_VS/ccs2011/ccs/utils/cygwin/cp sbl_emmc_linux_stage2.release.rprc sbl_emmc_linux_stage2.release.rprc_tmp
    C:/ti/CCS_VS/ccs2011/ccs/utils/cygwin/rm -f sbl_emmc_linux_stage2.release.rprc
    C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/tools/boot/xipGen/xipGen.exe -i sbl_emmc_linux_stage2.release.rprc_tmp -o sbl_emmc_linux_stage2.release.rprc -x sbl_emmc_linux_stage2.release.rprc_xip --flash-start-addr 0x60000000 -v > temp_stdout_release.txt
    C:/ti/Sysconfig/sysconfig_1.23.0/nodejs/node C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out sbl_emmc_linux_stage2.release.appimage sbl_emmc_linux_stage2.release.rprc@4  >> temp_stdout_release.txt
    C:/ti/Sysconfig/sysconfig_1.23.0/nodejs/node C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out sbl_emmc_linux_stage2.release.appimage_xip sbl_emmc_linux_stage2.release.rprc_xip@4  >> temp_stdout_release.txt
    python C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/tools/boot/signing/appimage_x509_cert_gen.py --bin sbl_emmc_linux_stage2.release.appimage --authtype 0  --loadaddr 84000000 --key C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/tools/boot/signing/app_degenerateKey.pem --output sbl_emmc_linux_stage2.release.appimage.hs_fs --keyversion 1.5
    Generating certificate for sbl_emmc_linux_stage2.release.appimage ...
    C:/ti/CCS_VS/ccs2011/ccs/utils/cygwin/rm -f sbl_emmc_linux_stage2.release.rprc_tmp
    C:/ti/CCS_VS/ccs2011/ccs/utils/cygwin/rm -f temp_stdout_release.txt
     Boot image: am62x:r5fss0-0:nortos:ti-arm-clang C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62x-sk-lp/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.release.appimage Done !!!
     .
     Boot image: am62x:r5fss0-0:nortos:ti-arm-clang C:/ti/MCU_SDK/AM62x/mcu_plus_sdk_am62x_11_00_00_16/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62x-sk-lp/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.release.appimage.hs_fs Done !!!

    Regards,

    Tushar

  • Hi Tony, 

    Please share the makefile & makefile_ccs_bootimage_gen of the SBL EMMC Linux Stage2 example.

    Regards,

    Tushar

  • Hi Tony,

    Try once clearing all the files in the same directory using below command and rebuild again.

    cd ${MCU+SDK}/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62x-sk-lp/r5fss0-0_nortos/ti-arm-clang
    gmake clean
    gmake all

    Regards,

    Tushar

  • clean:

    From the error, there is not required .obj in the release folder, 

    From the build log, those files are generated, but not compiled. 

    those files are included to the project in makefile.

    Then I move the generated \ folder up in PATH as below, it can build success now.

    Same problem on building rest boards' folder if not change as upper.

  • Please check the gmake version you are using. It should be greater than 3.81. You should ideally be using gmake that comes with the CCS installation.

  • PS C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\drivers\boot\sbl_emmc_linux_multistage\sbl_emmc_linux_stage2\am62x-sip-sk\r5fss0-0_nortos\ti-arm-clang> gmake -v
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    This program built for Windows32

  • It should be greater than 3.81. You should ideally be using gmake that comes with the CCS installation.

    It is the problem. in my old environment was pioint to XDCTOOL folder. Change to CCS installation, can build now.