1 C6x Bootloader
3 Tools required to build IBL:
4 1. MinGW MSYS v1.0.11 (http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe)
5 2. TI Code Gen Tools 7.2.0 (bundled with CCSv5)
8 Steps to build IBL:
9 1. Refer to tools\boot_loader\ibl\doc\release_info.txt on how to build IBL for C66x
12 Steps to program IBL:
14 1. Program IBL ROM data to I2C EEPROM bus address 0x51:
15 a. Copy tools\boot_loader\ibl\src\make\ibl_c661x\i2crom.dat to tools\writer\eeprom\evmc66xxl\bin directory and rename
16 it to "app.dat".
18 b. Change bus_addr to "81" (0x51) in tools\writer\eeprom\evmc66xxl\bin\eepromwriter_input.txt and save the file.
20 c. Refer to tools\writer\eeprom\evmc66xxl\docs\README.txt on how to program the CCS data file to EEPROM.
23 2. Program boot configuration table to I2C EEPROM bus address 0x51:
24 a. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM
26 b. Load program tools\boot_loader\ibl\src\util\i2cConfig\i2cparam_c661x_le.out to CCS
28 c. Run the program and a message "Run the GEL for for the device to be configured, press return to program the I2C"
29 will be printed on the CCS console.
31 d. Load tools\boot_loader\ibl\src\util\i2cConfig\i2cConfig.gel (in CCSv5 Tools->GEL Files, right click mouse in GEL Files
32 window and select "Load GEL"
34 e. Run the GEL script EVMC66xx IBL->setConfig_c66xx_main, wait for 10 seconds to ensure that the script configuration is completed.
37 Supported boot modes:
39 IBL supports three I2C boot modes: NOR boot, NAND boot and EMAC boot. Both NOR boot and NAND boot support maximum 2 images, EMAC
40 boot supports only 1 image. For all the I2C boot modes, user needs to set the boot dip switches to I2C master, bus address 0x51.
42 NOR Boot:
43 Boot parameter index 0 and 1 selects to boot image 0 and 1 from the NOR flash, by default the boot configuration table sets the
44 NOR offset address to be 0 and image format to be ELF for image 0.
46 NAND Boot:
47 Boot parameter index 2 and 3 selects to boot image 0 and 1 from the NAND flash, by default the boot configuration table sets the
48 NAND offset address to be 16384 (start of block 1) and image format to be BBLOB for image 0.
50 EMAC Boot:
51 Boot parameter index 4 selects to boot an image from a remote TFTP server, by default the boot configuration table sets the
52 server IP to be 192.168.2.101, board IP to be 192.168.2.100 and image format to be ELF.