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.

rebuilding IBL for 6678

All-

We're attempting to rebuild IBL.  Currently we have this error:

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 -$
make[3]: Entering directory
`/home/dave/ti/mcsdk_2_01_02_06/tools/boot_loader/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)   *** <- ERROR ***

We've made all changes described in this post

  http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/248504.aspx

Are there some additional changes to make?  Thanks.

-Jeff
Signalogic

  • Jeff,

    Can you confirm that you are following the instructions that are given in the document:

    C:\ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\doc\built_instructions.txt

    From the build error it looks like that the make file is not able to find some tool path but it is unclear can you do a make clean before you execute 

    make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 

    Are you building in the MinGW environemnt or Linux environemnt?

    Regards,

    Rahul

  • Rahul-

    We got it to build under Linux.  There are a number of typos in the TI makefile and other files that we had to fix.  A very painful process.  If you would like us to post the corrected files we can do that.

    After loading iblinit.out and iblmain.out we can see our board attempting TFTP boot.

    Question -- since we initially boot from I2C 0x50 and run an extensive test program, and we're essentially "calling" IBL from that program, can we eliminate iblinit.out?  Is it really needed?  At the point where we invoke IBL, we've already initialized all peripherals, including DDR3 mem, Ethernet, etc.

    Thanks.

    -Jeff

  • Hi Jeff,

    It would be great if you could post your files on the forums for the benefit of the community members. I have built these files under windows environment with MinGW and haven`t encountered the problems that you did.

    You can skip the iblinit.out when you want to re-enter the IBL and boot from TFTP boot. It is required when IBL boots the first time but not necessary if you have initialized all the interfaces and run your post example.

    Regards,

    Rahul