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.

[FAQ] PROCESSOR-SDK-C665X: IBL Build Steps on Linux (Ubuntu) (Processor family: C665x /C667x)

How to build / generate IBL binaries in Linux environment?

  • PRE-REQUISITE:

    For C6657, download "PROCESSOR-SDK-RTOS-C665x 06_03_00_106" -  http://software-dl.ti.com/processor-sdk-rtos/esd/C665x/latest/index_FDS.html

    For C6678, download "PROCESSOR-SDK-RTOS-C667x  06_03_00_106 https://software-dl.ti.com/processor-sdk-rtos/esd/C667x/latest/index_FDS.html

    IBL Build Instructions - Linux (Ubuntu)

    1. Supported EVM: C6657 / C6678
    2. Supported ENDIAN: Big and little
    3. Required toolset: C6000 code generation tools – compiler (TI CGT), version: 7.4.X, can be downloaded from following link: https://www.ti.com/tool/download/C6000-CGT-7-4

    Build Instructions

    1. Go to "IBL source" directory 
    2. For C6657 : -
    3. It will be in "/home/$USER/ti/pdk_c665x_<SDK version>/packages/ti/boot/ibl/src/make") in terminal: “cd /home/$USER/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make”
    4. For C6678 : -
    5. iI will be in "/home/$USER/ti/pdk_c667x_<SDK version>/packages/ti/boot/ibl/src/make") in terminal: “cd /home/$USER/ti/pdk_c667x_2_0_16/packages/ti/boot/ibl/src/make”
    6. Modify the environment setup script to match the tool chain installation directory:
      1. To build in terminal modify “setupenvLnx.sh” as follows,
        1. Add this line, export C6X_BASE_DIR="/home/$USER/ti/c6000_7.4.24"(Intsalled path)
          1. Install "C6000 code generation tools - compiler" of version "7.4.X" from https://www.ti.com/tool/download/C6000-CGT-7-4
        2. Modify version, C6X_CGT_VERSION=7.4.24
        3. Modified "setupLnx.sh" is attached here, setupenvLnx.sh.
    7. Set the environment variables: “source setupenvLnx.sh” Build the image : 
      1. For C6657:
      2.      “make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51”
      3. For C6678:
      4.      “make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51”
      5. For C6657:
        1. Output images will be built in "bin" directory and the Images are
          1. i2crom_0x51_c6657_le.dat (CCS data format)
          2. i2crom_0x51_c6657_le.bin (raw binary)
      6. For C6678:
        1. Output images will be built in "bin" directory and the Images are
          1. i2crom_0x51_c6678_le.dat (CCS data format)
          2. i2crom_0x51_c6678_le.bin (raw binary)

    Thanks,

    Rajarajan