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.

Compiler/TMS320C6678: MCSDK 2.01.02.06 IBL build errors

Part Number: TMS320C6678

Tool/software: TI C/C++ Compiler

I am building the IBL for c6678

I use MinGW msys 1.0 for the building work.

But I face errors when linking, pls see below picture.

  • can anyone help me? thank you a lot!!!
  • Hi,

    I've notified the RTOS team. They will post their feedback directly here.

    Best Regards,
    Yordan
  • Hi Yordan,

    Really thank you for this:

    1. I use compiler of C:\ti\ccsv7\tools\compiler\ti-cgt-c6000_8.2.2 compiler,

    2. set everything as the build_instructions.txt in folder of ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\doc

    3. as the newest compiler is above 8.2.2, is that the matter for this issue.

    4. I post my setupenvMsys.sh:

    #!/bin/bash

    # Environment setup to be done if using MSYS Bash shell for build

    # Specify the base directory of the c6000 compiler with UNIX style path separator

    #export C6X_BASE_DIR='"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.4"'

    export C6X_BASE_DIR='"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.2.2"' ##not very impt here, mainly by PATH=$PATH:$C6X_BASE_DIR_MSYS

    # Specify the base directory of the c6000 compiler in format understandable by the MSYS Bash shell

    #export C6X_BASE_DIR_MSYS=/c/Program\ Files/Texas\ Instruments/C6000\ Code\ Generation\ Tools\ 7\.2\.4

    export C6X_BASE_DIR_MSYS=/c/ti/ccsv7/tools/compiler/ti-cgt-c6000_8\.2\.2

    # Don't modify the below variables. They are derived from the above definitions

    export PATH=$PATH:$C6X_BASE_DIR_MSYS/bin

    export TOOLSC6X=$C6X_BASE_DIR

    export TOOLSC6XDOS=$C6X_BASE_DIR

    5. the output log pls see below:

    6. I have debug this issue for almost 1 week, thank you for the help, I really appreciate it.

  • Are you building in MINGW-MSYS Bash shell?

    C:\MinGW\msys\1.0> msys.bat

    Thank you.
  • Hi Raja,

    Yes I use C:\MinGW\msys\1.0> msys.bat for this!

    Can you help me?

    Really appreciate it. Thank you

  • Luo,

    The IBL code is a mix of COFF and ELF binaries and so you need to use the TI CGT 7.x compiler and not TI CGT 8.2.2 compiler. The Compiler 8.2.2 has stopped support for COFF DSP binaries and when building with ELF, the compiler seems to be including certain assembly files that were written for COFF binaries.

    The simple option is to use older compiler that can be downloaded from ti.com. The other option is to refer to COFF to elf migration guide in the TI compiler and port the COFF assembly to ELF.

    Please note that MCSDK 2.x is a legacy baseline and we are only supporting Processor SDK RTOS based development for these devices on the E2E forums. The documentation for Processor SDK RTOS clearly highlights this need to use older compiler as you can see from here:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_BOOT_C66x

    Hope this helps.

    Regards,
    Rahul