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.

the question of IBL bulid

Hi everyone;

I am testing the post program provided by TI. But I can't see the result from the hyper terminal. Then I think that maybe I didn't pre-build the IBL. so I decide to build the IBL. but there are something I didn't understand in the build-instruction.txt. here is the text :

 

 3) Required toolset

    - TI CGEN compiler CGT_C6000_7.2.0

 

   Requirements for building IBL on Windows:

   For building on a Windows machine, a GNU development environment is

   required. MinGW installation is required for this. 

   MinGW project link: http://www.mingw.org/

   MinGW installer can be obtained from the following link

   http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110316/mingw-get-inst-20110316.exe/download

   While installing MinGW following options have to be chosen:

    1.  MinGw Compiler Suite

        -   C Compiler

    2. MinGW Developer Toolkit 

 

4) Build Instructions

 

    - Change directory to ibl\src\make

    - Modify the environment setup script to match the tool chain installation directory:

        For building in MINGW-MSYS Bash shell modify setupenvMsys.sh 

        For building in Linux Bash shell modify setupenvLnx.sh 

    - Set the environment variables:

         On a Linux Bash shell run  "source setupenvLnx.sh"

         On a MinGW-MSYS Bash shell "source setupenvMsys.sh"

    - Following are the commands for building IBL:

        For C6678 Low Cost EVM:

        make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 

        Output images:

        IBL image: bin/i2crom_0x51_c6678_le.dat (CCS data format)

                 : bin/i2crom_0x51_c6678_le.bin (raw binary)

        IBL configuration writer:

                 : bin/i2cparam_0x51_c6678_le_0x500.out

        IBL configuration gel script:

                 : bin/i2cConfig.gel

 

the question is:

1.my pc can't contect the internet. is there is a full install file that doesn't the internet.

2.the fourth step I can't understand.

Does anyone have try this? 

  • Hi Liang,

     The webpage http://www.mingw.org/wiki/InstallationHOWTOforMinGW provides instructions for manual installation (installation of downloaded packages) of MinGW. I haven't tried it ever, so can't comment on the correctness of the procedure.

    On the second question, can you please let us know which part of the instructions are not clear. If you are looking for instructions on programming IBL on the EVM, then you should refer to evmc6678-instructions.txt.

    By the way if you are not making any changes to IBL, then you can also use the pre-built IBL binaries from the MCSDK package.

    Regards

    Sandeep

  • Hi Sandeep,

    I have take  you advice.but it doesn't work so far. I cann't understand the steps of the install of IBL bulid. The fourth step really puzzled me. the following are what puz,zled me:

    1.how to understand change to the directory? I have two understand, one is install the MINGW to the directory, the other one is go to the directory. I think the second one more reasonable.

    2 how to Modify the environment setup script to match the tool chain installation directory:  For building in MINGW-MSYS Bash shell modify setupenvMsys.sh 

    can you explain this sentence in detail or tell the operation if I install the MINGW in the c:\MINGW directory.

    3 how to  Set the environment variables:

     On a MinGW-MSYS Bash shell "source setupenvMsys.sh"

    maybe the second question sloved, the thrid one can be sloved too.

    4  For C6678 Low Cost EVM:

            make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 

            Output images:

            IBL image: bin/i2crom_0x51_c6678_le.dat (CCS data format)

                     : bin/i2crom_0x51_c6678_le.bin (raw binary)

            IBL configuration writer:

                     : bin/i2cparam_0x51_c6678_le_0x500.out

            IBL configuration gel script:

                     : bin/i2cConfig.gel

    are these command executed in the MINGW Bash shell.

     

    As you mentioned, if Idon't want to make any change to the IBL, I can use the pre-build IBL binaries from the MCSDK packag.  is it needed a software environment . can you explain the how to use the IBL image in the boot operation.  and is there any doucment about the eeprom. the eeprom is divided to two section distinguish by bus address 0x50 and 0x51 ,but I don't understand it.

  • Hi Liang,

     If you are not interested in changing IBL, you can flash prebuilt IBL images from MCSDK release on the EEPROM. The procedure for this is available on the MCSDK user guide. The link to it is http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Updating_EEPROM_Images

    Regards

    Sandeep

  • Hi Sandeep,

    How can I find out whether the result is corrected? The document describe use the hyper terminal to display the result. But in POR mode,the program is runing and then creat the connection between the hyper terminal and EVM board, I find it can't printf the result at all. How to use the Hyper terminal to display the result to check the test is passed or not.

    Regards

    Liang Le

  • Hi Liang,

     I'm not sure if I understood your question properly. Are you saying that you cannot connect hyperterminal to the EVM when it is powered down? I always use "Tera Term" for terminal emulation and have never faced this issue. Can you please try to use "Tera Term" ?

    POST also flashes some LED's to indicate different test results. The details for this are in the user guide at http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Power_On_Self_Test_.28POST.29

    Regards

    Sandeep

  • I was trying to execute the I2C over NAND example tools\boot_loader\examples\i2c\nand\evmc6678l directory. I got the two outputs in the CCS console.

    As a next step, that is i replaced ibl_BOOT_FORMAT_BBLOB with ibl_BOOT_FORMAT_ELF in the function setConfig_c6678_main() in the i2cconfig.gel file. In order to re program the boot configuration table,   I downloaded MINGW from http://sourceforge.net/projects/mingw/files/latest/download?source=files .

    In the C:\MinGW\msys\1.0\home\vinoth.gs i edited the setupenvMsys.sh file as below. I added the two paths as such 

    export C6X_BASE_DIR='"C:/ti/ccsv5/tools/compiler/c6000"'  and  export C6X_BASE_DIR_MSYS=/c/ti/ccsv5/tools/compiler/c6000. derived definitions i did not change anything.

    I opened the MinGW shell and typed the command source setupenvMsys.sh and the provided  make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51

    I was getting compilation errors. 

    In the path C:\Program Files\Texas Instruments\mcsdk_2_00_00_beta2\tools\boot_loader\ibl\src\make i edited the file and provided the below given lines

    export C6X_BASE_DIR='"C:/ti/ccsv5/tools/compiler/c6000"'  and  export C6X_BASE_DIR_MSYS=/c/ti/ccsv5/tools/compiler/c6000 . 

    I was able to generate three files(.out, .bin and .dat) in this path C:\Program Files\Texas Instruments\mcsdk_2_00_00_beta2\tools\boot_loader\ibl\src\make\bin path and in C:\Program Files\Texas Instruments\mcsdk_2_00_00_beta2\tools\boot_loader\ibl\src\util\i2cConfig i got i2cparam_c66x_le.out