]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/IBL_README.txt
Add NAND/NOR writer support and update POST for C6670
[keystone-rtos/mcsdk-tools.git] / boot_loader / IBL_README.txt
1 C6x Bootloader 
3 Tools required to build IBL:
4 1. Cygwin 1.7.8-1 (http://www.cygwin.com/)
5 2. TI Code Gen Tools 7.2.0 (bundled with CCSv5)
7 Notes: 
8 1. For Cygwin installation, be sure to include Bison, Flex, gcc Compiler and make tools which are required to build IBL.
11 Steps to build IBL:
12 1. Refer to tools\boot_loader\ibl\doc\release_info.txt on how to build IBL for C66x
15 Steps to program IBL:
17 1. Program IBL ROM data to I2C EEPROM bus address 0x51:
18    a. Copy tools\boot_loader\ibl\src\make\ibl_c661x\i2cRom.dat to tools\writer\eeprom\evmc66xxl\bin directory and rename 
19       it to "app.dat".
21    b. Change bus_addr to "81" (0x51) in tools\writer\eeprom\evmc66xxl\bin\eepromwriter_input.txt and save the file.
23    c. Refer to tools\writer\eeprom\evmc66xxl\docs\README.txt on how to program the CCS data file to EEPROM.
26 2. Program boot configuration table to I2C EEPROM bus address 0x51:
27    a. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM (please refer to the EVM technical 
28       reference manual on how to set the boot mode dip switchs)
30    b. Load program tools\boot_loader\ibl\src\util\i2cConfig\i2cparam_c661x_le.out to CCS
32    c. Run the program and a message "Run the GEL for for the device to be configured, press return to program the I2C"
33       will be printed on the CCS console.
35    d. Load tools\boot_loader\ibl\src\util\i2cConfig\i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
36       window and select "Load GEL"
38    e. Run the GEL script EVMC66xx IBL->setConfig_c66xx_main, this will by default set the boot parameters for NOR boot over 
39       I2C. If the user wants to configure NAND boot or EMAC boot over I2C, he/she should run EVMC66xx IBL->setConfig_c66xx_main 
40       followed by EVMC66xx IBL->setConfig_c66xx_nand or EVMC66xx IBL->setConfig_c66xx_emac.
42    f. Press "Enter" in the CCS console window, and the program will write the boot configuration table to the EEPROM