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.

TMS320C6678: Building IBL using make

Part Number: TMS320C6678

Hello,

I'm having trouble trying to build the IBL for the C6678 EVM using the make command.

The command prompt says "make[5]: cl6x: Command not found".

Does anyone know what is going on?

Thanks,

Viney

  • Hi Viney,

    You don't have the C6x compiler exported in PATH, or you have the wrong C6x compiler directory exported.
    Verify your PATH variable with echo $PATH, and correct it accordingly.

    Best Regards,
    Yordan
  • Hi Yordan,

    I successfully exported the Cl6x compiler to the PATH variable.

    I retried building the IBL and now I get these errors :

    line 44: fatal error #1965: cannot open source file "stdint.h"
    1 catastrophic error detected in the compilation of "../../../hw/uart/c66x_uart/c66x_uart.c".
    Compilation terminated.

    line 55: fatal error #1965: cannot open source file "stdlib.h"
    1 catastrophic error detected in the compilation of "../../../hw/spi/spiutil.c".
    Compilation terminated.

    Do you know how I can fix this?

    Thanks,
    Viney
  • Hi Viney,

    Not sure which SDK you use. However in the RTOS, I have installed the stdlib.h & stdint.h are located in ~ti/ccsv6/tools/compiler/c6000_7.4.18/include/

    and

    ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/include/  

    The ibl most likely uses the CGT include directory.

    By default the pdksetupenv.sh points to CGT_VERSION=8.1.0, while the SDK installs cgt-c6000_8.1.1, so I need to change the CGT_VERSION to 8.1.1

    So my suggestions are: 

    1. Carefully inspect your environment variables, they should point to the exact versions of the compilers you have installed. 

    2. Copy the header files ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/include/stdint.h & ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/include/stdlib.h to the ../../../hw/uart/c66x_uart/ directory & use #include "stdlib.h" & #include "stdint.h" 

    Best Regards, 
    Yordan