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.

PROCESSOR-SDK-C665X: Additional Information needed to replicate "[FAQ] PROCESSOR-SDK-C665X: IBL Build Steps on Windows 10 (Processor family: C665x)"

Part Number: PROCESSOR-SDK-C665X

I am attempting to replicate the described actions in the "[FAQ] PROCESSOR-SDK-C665X: IBL Build Steps on Windows 10 (Processor family: C665x)".  The described activities are insufficiently described to ensure I am replicating the process correctly.

1)  Step 1: It appears that you are asking me to download the Mingw utility from sourceforge.net and run the installation utility and install four packages from the basic installation.  However, I am not sure exactly which packages you are referring to.  (i.e. the names are different than requested.  see picture.) Is this correct?

2) Step 2: This step askes the user to add a folder to the Path installation.  Of what? What program is this referring to?  More information is needed here.

  • Hi Brad,

    1)  Step 1: It appears that you are asking me to download the Mingw utility from sourceforge.net and run the installation utility and install four packages from the basic installation.  However, I am not sure exactly which packages you are referring to.  (i.e. the names are different than requested.  see picture.) Is this correct?

    Yes.

    2) Step 2: This step askes the user to add a folder to the Path installation.  Of what? What program is this referring to?  More information is needed here.

    We need to add path mentioned in FAQ screenshot to environment variables.(do windows search on "Environment variables" and select "Environment variables" in the dialog box and select "Path" variable under "User variables for XXXX"(XXXX represents username)).

    If your mingw installed in "C:\", then "MinGW" folder created. Then add path as

    • "C:\MinGW\bin"
    • "C:\MinGW\msys\1.0\bin"
    • "C:\MinGW\libexec\gcc\mingw32\6.3.0"

    Thanks,

    Rajarajan U

  • Rajarajan,  

    Thanks for the additional information.  However, as I moved on to step 3 of your process I cannot fined how do you access/start the "MingW Terminal". (I.e. this is not a program listed on the start menu or a program that I can find on my hard drive.)  Did I not install something? Would you provide additional information about this step?

  • Hi Brad,

    After you install the MingW, go to command prompt and just give this:-

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

    --> MingW terminal will get opened.

    Regards

    Shankari G

  • Shankari,

    With this information I am closer but have not gotten a good compile.

    1) I have installed MinGW as requested.

    2) Added the MinGW paths to the environmental variable. 

    3) Opened the MinGW Terminal using “C:\MinGW\msys\1.0\msys.bat” from a command prompt. Changed to the requested directory using “cd C:/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make/”

    4) Executed the “source setupenvMsys.sh”

    5) Executed the "make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51"

    However the build did not complete correctly.  Can you provide any additional insight/help?

  • Hi,

    Please try doing a "make clean" before "make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51"

    Regards

    Shankari G

  • I tried your suggestion but the build still did not complete correctly.  See attached log

    Build log(with Clean).txt

  • It looked like the CL6x compiler was not being found so I added the two TI directories from your original post. (i.e. C:\ti\ccs930\xdctools_3_60_02_34_core and C:\ti\ti-cgt-c6000_8.3.2\bin) but the compilation still fails.

    Build log(after defining additional paths).txt

  • Brad,

    One of my colleagues, will post a video shortly on,  how to build the IBL.

    Thanks  for your patience.

    Regards

    Shankari G

  • Brad, 

    Would you please "echo the path variable in the terminal " and post a screenshot here?

    So that we can check wether the compiler path is added...

    C:\> echo %PATH%

    --

    C:\Users\Admin>echo %PATH%
    C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\Admin\Downloads\MinGW\bin;C:\Program Files (x86)\Texas Instruments\C6000 Code Generation Tools 7.3.0;C:\ti\xdctools_3_55_02_22_core;C:\MinGW\bin;C:\Users\Admin\AppData\Local\Microsoft\WindowsApps;C:\Users\Admin\Downloads\MinGW\bin;C:\Program Files (x86)\Texas Instruments\C6000 Code Generation Tools 7.3.0;C:\ti\xdctools_3_55_02_22_core;

    C:\Users\Admin>

    --

    Regards

    Shankari G

  • The path for my system is...

    C:\WINDOWS\system32>path
    PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files (x86)\cvsnt;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\sut71568\AppData\Local\Microsoft\WindowsApps;C:\Users\sut71568\AppData\Local\GitHubDesktop\bin;C:\Users\sut71568\AppData\Local\Programs\Microsoft VS Code\bin;C:\ti\ccs930\xdctools_3_60_02_34_core;C:\ti\ti-cgt-c6000_8.3.2\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\MinGW\libexec\gcc\mingw32\6.3.0;

  • Hi Brad,

    The "TI CGT C6000" installed with CCS might be "8.3.x" version, which is not comaptible for IBL (Confirm it by going to C:\ti\ccs930\ccs\tools if you are using CCS 9.3 recommended by SDK). Please install the same tool of version "7.4.x" from the following link : https://www.ti.com/tool/download/C6000-CGT-7-4 and install inside "C:\ti" folder. It might install inside following folder : "C:\\ti\ti_cgt_c6000_7.4.24"

    And also modify "C:\ti\pdk_c665x_2_0_16\packages\ti\boot\ibl\src\make\setupenvMsys.sh" to support "7.4.24" version. Initially, It was scripted to support "7.4.1" version. I have attached the modified version of "setupenvMsys.sh" to support "7.4.24", place it in "C:\ti\pdk_c665x_2_0_16\packages\ti\boot\ibl\src\make\" folder and give following commands,

    Also, Before giving the commands, Please remove "C:\ti\ti-cgt-c6000_8.3.2\bin" entry from User space environment variables.

     

    source setupenvMsys_new.sh
    
    make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51
     

    setupenvMsys_new.sh

    Thanks,

    Rajarajan U

  • Hi Brad,

    IBL successful compilation video, PFA.

    Thanks,

    Rajarajan U

  • Thank you for the additional information.  However, my issue still persists.  I have...

    1) Installed the C6000 compiler v7.4.24 to the specified directory "C:\ti\ti_cgt_c6000_7.4.24". 

    2) Downloaded and copied the provided "setupenvMsys_new.sh" to the "C:\ti\pdk_c665x_2_0_16\packages\ti\boot\ibl\src\make\"

    3) Removed the specified directory from the path environment variable

    4) Started MinGW and executed the  “cd C:/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make/”, “source setupenvMsys_new.sh”, and "make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51" commands.

    5) My results still contained errors.  So, I ran a "make clean" command and reran the "make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51" command.  It looks like the compile completed but my output from the compilation script contains more information than the video above.  Attached are the results of my last compile.  Is this a successful compilation of the IBL?

    Build log(possible success).txt
    sut71568@KCK-USL01790 ~
    $ cd C:/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make/
    
    sut71568@KCK-USL01790 /c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make
    $ source setupenvMsys_new.sh
    
    sut71568@KCK-USL01790 /c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make
    $ make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51
    make -f makestg1 I2C_BUS_ADDR=0x51 I2C_MAP_ADDR=0x500 \
    ENDIAN_MODE=little ARCH=c64x TARGET=c665x EVM=c6657l SPI=no SPI_DEFS='SPI_MODE=1 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=1 SPI_CLKDIV=8 SPI_ROM=1' \
    CEXCLUDES='COFF BIS NAND_GPIO' c665x
    make[1]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    make -f makestg2 ARCH=c64x TARGET=c665x ENDIAN=little I2C_SIZE_BYTES=0x20000 I2C_BUS_ADDR=0x51 INTERNAL_UTILS= SPI_DEFS='SPI_MODE=1 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=1 SPI_CLKDIV=8 SPI_ROM=1' utils
    make[2]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    make -C ../util/btoccs
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/btoccs'
    gcc -o b2ccs b2ccs.c
    gcc -o b2i2c b2i2c.c
    gcc -o ccs2b ccs2b.c
    gcc -o bfaddsect bfaddsect.c
    gcc -o bfmerge bfmerge.c
    gcc -o ccs2bin ccs2bin.c
    ccs2bin.c: In function 'parseit':
    ccs2bin.c:74:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
             if (!strcmp (argv[i], "-swap"))
                  ^~~~~~
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/btoccs'
    make -C ../util/romparse TARGET=c665x
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/romparse'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/romparse'
    make -C ../util/i2cConfig c665x MAINDEFS='-DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x51 -DEXCLUDE_COFF -DEXCLUDE_BIS -DEXCLUDE_NAND_GPIO -DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE='"ibl_c665x/ibl_init.i2c.be.ccs"' -DEXE_FILE_1='""' -DEXE_FILE_2='"ibl_c665x/ibl.i2c.be.ccs"''
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/i2cConfig'
    make -f makestg2 ARCH=c64x I2C_BUS_ADDR=0x51 I2C_MAP_ADDR=0x500 TARGET=c665x c665x
    make[4]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/i2cConfig'
    Checking command line dependencies
    same
    making hw
    make -C ../../hw/c64x/make hw
    $
    Checking command line dependencies
    same
    make[5]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/hw/c64x/make'
    making device
    make -C ../../device/c64x/make CDEFS='-DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x51 -DEXCLUDE_COFF -DEXCLUDE_BIS -DEXCLUDE_NAND_GPIO -DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE=ibl_c665x/ibl_init.i2c.be.ccs -DEXE_FILE_1= -DEXE_FILE_2=ibl_c665x/ibl.i2c.be.ccs' device
    make[5]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/device/c64x/make'
    $
    /bin/sh: q: command not found
    make[5]: [c64x.da] Error 127 (ignored)
    Checking command line dependencies
    same
    make[5]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/device/c64x/make'
    cl6x -z -o i2cparam_c665x_le.out -m i2cparam_c665x_le.map i2cparam.le.oc ../../hw/c64x/make/i2c.le.oc ../../hw/c64x/make/pll.le.oc ../../hw/c64x/make/cfgpll.le.oc ../../hw/c64x/make/cfgpll2.le.oc ../../device/c64x/make/c64x.le.oa ../../hw/c64x/make/psc.le.oc ../../device/$
    <Linking>
    make[4]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/i2cConfig'
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/i2cConfig'
    make -C ../util/bconvert
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/bconvert'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/bconvert'
    make -C ../util/iblConfig/build EVM=c6657l I2C_MAP_ADDR=0x500
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/iblConfig/build'
    touch input.txt
    echo "file_name = ibl.bin" > input.txt
    echo "device = 8" >> input.txt
    echo "offset = 0x500" >> input.txt
    echo "ethBoot-doBootp = " >> input.txt
    echo "ethBoot-bootFormat = " >> input.txt
    echo "ethBoot-ipAddr = " >> input.txt
    echo "ethBoot-serverIp = " >> input.txt
    echo "ethBoot-gatewayIp = " >> input.txt
    echo "ethBoot-netmask = " >> input.txt
    echo "ethBoot-fileName = " >> input.txt
    gcc   -O2 -DEVM=c6657l -DI2C_MAP_ADDR=0x500 ./obj/iblConfig.obj ./obj/device.obj  -o iblConfig.out
    cp iblConfig.out iblConfig.out.dbg
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/util/iblConfig/build'
    make[2]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    make -f makestg2 ARCH=c64x TARGET=c665x ENDIAN=little I2C_SIZE_BYTES=0x20000 I2C_BUS_ADDR=0x51 SPI_DEFS='SPI_MODE=1 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=1 SPI_CLKDIV=8 SPI_ROM=1' c665x
    make[2]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    making main SPI_CFG=-DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE="ibl_c665x/ibl_init.i2c.be.ccs" -DEXE_FILE_1="" -DEXE_FILE_2="ibl_c665x/ibl.i2c.be.ccs" CDEFS= EXCLUDES=COFF BIS NAND_GPIO
    make -C ../main/c64x/make CDEFS='-DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x51 -DEXCLUDE_COFF -DEXCLUDE_BIS -DEXCLUDE_NAND_GPIO -DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE='"ibl_c665x/ibl_init.i2c.be.ccs"' -DEXE_FILE_1='""' -DEXE_FILE_2='"ibl_c665x/ibl.i2c.be.ccs"'' main
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/main/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/main/c64x/make'
    making device SPI_CFG=-DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE="ibl_c665x/ibl_init.i2c.be.ccs" -DEXE_FILE_1="" -DEXE_FILE_2="ibl_c665x/ibl.i2c.be.ccs" CDEFS= EXCLUDES=COFF BIS NAND_GPIO
    make -C ../device/c64x/make CDEFS='-DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x51 -DEXCLUDE_COFF -DEXCLUDE_BIS -DEXCLUDE_NAND_GPIO -DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE='"ibl_c665x/ibl_init.i2c.be.ccs"' -DEXE_FILE_1='""' -DEXE_FILE_2='"ibl_c665x/ibl.i2c.be.ccs"'' device
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/device/c64x/make'
    q -I -a -ele.oa -o$.da ../../../device/c64x/c64x.s
    /bin/sh: q: command not found
    make[3]: [c64x.da] Error 127 (ignored)
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/device/c64x/make'
    making ethboot
    make -C ../ethboot/c64x/make ethboot
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/ethboot/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/ethboot/c64x/make'
    making nandboot
    make -C ../nandboot/c64x/make nandboot
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/nandboot/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/nandboot/c64x/make'
    making driver
    make -C ../driver/c64x/make driver
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/driver/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/driver/c64x/make'
    making hw
    make -C ../hw/c64x/make hw
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/hw/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/hw/c64x/make'
    making interp
    make -C ../interp/c64x/make interp
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/interp/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/interp/c64x/make'
    making ecc
    make -C ../ecc/c64x/make ecc
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/ecc/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/ecc/c64x/make'
    making norboot
    make -C ../norboot/c64x/make norboot
    make[3]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/norboot/c64x/make'
    Checking command line dependencies
    same
    make[3]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/norboot/c64x/make'
    cat ibl_c665x/ibl_init_objs_template.inc | sed -e s/ENDIAN_TAG/le/g > ibl_c665x/ibl_init_objs.tmp
    cl6x -ppo -DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x51 -DEXCLUDE_COFF -DEXCLUDE_BIS -DEXCLUDE_NAND_GPIO -DENDIAN_TAG=le ibl_c665x/ibl_init_objs.tmp
    cp -f ibl_c665x/ibl_init_objs.pp ibl_c665x/ibl_init_objs.inc
    cl6x -z -o ibl_c665x/ibl_c665x_init.out -m ibl_c665x/ibl_c665x_init.map ibl_c665x/ibl_init.cmd /c/ti/ti_cgt_c6000_7.4.24/lib/rts64plus.lib
    <Linking>
    cp -f ibl_c665x/ibl_c665x_init.out ibl_c665x/ibl_c665x_init.le.out
    rm -f -f ibl_c665x/ibl_init_obj.inc
    hex6x -order L ibl_c665x/ibl_init_image.rmd ibl_c665x/ibl_c665x_init.out
    Translating to ASCII-Hex format...
       "ibl_c665x/ibl_c665x_init.out"   ==> .text
       "ibl_c665x/ibl_c665x_init.out"   ==> .cinit
       "ibl_c665x/ibl_c665x_init.out"   ==> .const
    cp -f ibl_le.b ibl_c665x/ibl.b
    ../util/btoccs/b2ccs ibl_c665x/ibl.b ibl_c665x/ibl_init.le.ccs
    hex6x -order L ibl_c665x/ibl_init.rmd ibl_c665x/ibl_c665x_init.out
    Translating to ASCII-Hex format...
       "ibl_c665x/ibl_c665x_init.out"   ==> .cinit  (BOOT LOAD)
       "ibl_c665x/ibl_c665x_init.out"   ==> .const  (BOOT LOAD)
       "ibl_c665x/ibl_c665x_init.out"   ==> .text   (BOOT LOAD)
    ../util/bconvert/bconvert64x -le ibl_le.b ibl.b
    cp -f ibl.b ibl_c665x
    ../util/btoccs/b2i2c ibl_c665x/ibl.b ibl_c665x/ibl.i2c.b
    ../util/btoccs/b2ccs ibl_c665x/ibl.i2c.b ibl_c665x/ibl_init.i2c.le.ccs
    sed -e 's/\r//' ../util/symExtract/symExtract > ../util/symExtract/symExtract_unix
    bash ../util/symExtract/symExtract_unix ibl_c665x/ibl_c665x_init.map ibl_c665x/ibl_init_symbols.inc iblBootBtbl iblMalloc iblFree iblMemset iblMemcpy
    rm -f ../util/symExtract/symExtract_unix
    cat ibl_c665x/ibl_objs_template.inc | sed -e s/ENDIAN_TAG/le/g > ibl_c665x/ibl_objs.tmp
    cl6x -ppo -DIBL_CFG_I2C_MAP_TABLE_DATA_BUS_ADDR=0x51 -DEXCLUDE_COFF -DEXCLUDE_BIS -DEXCLUDE_NAND_GPIO -DENDIAN_TAG=le ibl_c665x/ibl_objs.tmp
    cp -f ibl_c665x/ibl_objs.pp ibl_c665x/ibl_objs.inc
    cl6x -z -o ibl_c665x/ibl_c665x.out -m ibl_c665x/ibl_c665x.le.map  ibl_c665x/ibl.cmd /c/ti/ti_cgt_c6000_7.4.24/lib/rts64plus.lib
    <Linking>
    cp -f ibl_c665x/ibl_c665x.out ibl_c665x/ibl_c665x.le.out
    rm -f -f ibl_c665x/ibl_obj.inc
    hex6x -order L ibl_c665x/ibl.rmd ibl_c665x/ibl_c665x.out
    Translating to ASCII-Hex format...
       "ibl_c665x/ibl_c665x.out"   ==> .cinit       (BOOT LOAD)
       "ibl_c665x/ibl_c665x.out"   ==> .const       (BOOT LOAD)
       "ibl_c665x/ibl_c665x.out"   ==> .text        (BOOT LOAD)
       "ibl_c665x/ibl_c665x.out"   ==> .switch      (BOOT LOAD)
    ../util/bconvert/bconvert64x -le ibl_le.b ibl.b
    cp -f ibl.b ibl_c665x
    ../util/btoccs/b2i2c ibl_c665x/ibl.b ibl_c665x/ibl.i2c.b
    ../util/btoccs/b2ccs ibl_c665x/ibl.i2c.b ibl_c665x/ibl.i2c.le.ccs
    make[2]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    make -f makestg2 ARCH=c64x TARGET=c665x I2CROM=little_endian I2C_BUS_ADDR=0x51 I2C_MAP_ADDRESS= EVM=c6657l COMPACT_I2C= SPI_DEFS='SPI_MODE=1 SPI_ADDR_WIDTH=24 SPI_NPIN=5 SPI_CSEL=2 SPI_C2TDEL=1 SPI_CLKDIV=8 SPI_ROM=1'  i2crom spiRom
    make[2]: Entering directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    cl6x -ppo -I../cfg/c665x -DI2C_BUS_ADDR=0x51 -DI2C_MAP_ADDR=0x500 -DEVM=c6657l -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE='"ibl_c665x/ibl_init.i2c.le.ccs"' -DEXE_FILE_1='"ibl_c665x/ibl.i2c.le.ccs"' -DEXE_FILE_2='""' ibl_c665x/i2crom.map.pre
    ../util/romparse/romparse  -rom_base 0x51 ibl_c665x/i2crom.map.pp
    file_cp -f i2crom.ccs ibl_c665x/i2crom.ccs
    cp -f i2crom.ccs ibl_c665x/i2crom.dat
    ../util/btoccs/ccs2bin -swap ibl_c665x/i2crom.ccs ibl_c665x/i2crom.bin
    cp ibl_c665x/i2crom.bin ../util/iblConfig/build/ibl.bin
    (cd ../util/iblConfig/build;./iblConfig.out)
    Opened file ibl.bin
    Generated updated binary ibl.bin
    cp ../util/iblConfig/build/ibl.bin ibl_c665x/i2crom.bin
    rm -f i2crom.ccs ibl_le.b ibl.b
    Making SPI ROM
    cl6x -ppo -I../cfg/c665x -DSPI_MODE=1 -DSPI_ADDR_WIDTH=24 -DSPI_NPIN=5 -DSPI_CSEL=2 -DSPI_C2TDEL=1 -DSPI_CLKDIV=8 -DSPI_ROM=1 -DPAD_FILE_ID_1=1 -DPAD_FILE_ID_2=1 -DINIT_EXE_FILE='"ibl_c665x/ibl_init.i2c.le.ccs"' -DEXE_FILE_1='"ibl_c665x/ibl.i2c.le.ccs"' -DEXE_FILE_2='""' ibl_c665x/spiRom.map.pre
    ../util/romparse/romparse  -fill 0xff -rom_base 0 ibl_c665x/spiRom.map.pp
    file_cp -f i2crom.ccs ibl_c665x/spiRom.ccs
    cp -f i2crom.ccs ibl_c665x/spiRom.dat
    make[2]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    make[1]: Leaving directory `/c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make'
    cp -f ibl_c665x/i2crom.dat bin/i2crom_0x51_c6657_le.dat
    cp -f ibl_c665x/i2crom.bin bin/i2crom_0x51_c6657_le.bin
    cp -f ../util/i2cConfig/i2cparam_c665x_le.out bin/i2cparam_0x51_c6657_le_0x500.out
    
    sut71568@KCK-USL01790 /c/ti/pdk_c665x_2_0_16/packages/ti/boot/ibl/src/make
    $

  • Hi Brad,

    IBL has been successfully compiled. Video is incomplete.

    Thanks,

    Rajarajan U