我们想做二次启动,想在6678外挂的eeprom里烧写个IBL,然后再进行跳转的启动方式。我想咨询一下,怎么烧写这个IBL到eeprom里啊?比如说我们要根据自己的硬件来做相应的DDR配置,这个ddr启动配置应该是在IBL里吧?这个怎么弄?有没有相关的例程?
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.
我们想做二次启动,想在6678外挂的eeprom里烧写个IBL,然后再进行跳转的启动方式。我想咨询一下,怎么烧写这个IBL到eeprom里啊?比如说我们要根据自己的硬件来做相应的DDR配置,这个ddr启动配置应该是在IBL里吧?这个怎么弄?有没有相关的例程?
安装好MCSDK或者processor SDK后,会有\tools\writer\eeprom 中间有烧写例程,或者参考tools\boot_loader\examples\i2c\nand
DDR启动配置可以放在EEPROM中,具体参考BOOT UG的Boot Configuration Table 章节
A boot configuration table is used if certain peripherals must be programmed with
values that differ from their reset values before loading an application. For example, if
the application needs to be loaded into DDR memory, the boot configuration table can
be used to program the DDR registers and enable the DDR peripheral before loading
the application code into DDR.
Utilities Used to Generate Different Tables
Utilities used to generate different table formats are listed below:
• Hex6x is used to convert the application code into a boot table format.
• Romparse is used to append the boot parameter to a boot table or a boot
configuration table.
• Bootconvert6x is used to convert the boot table derived from a little endian
application code to a big endian format. This is required as the RBL assumes all
the images to be in big endian mode.
• B2i2c is used to convert the boot table into a i2c/spi format table. This table can
be loaded into an EEPROM that is connected through I2C to the device.
• Bootpacket is used to break the boot table into packets that can be sent from the
host to the device booted in Ethernet boot mode.
• Pcsendpkt is used to help the host send the packets generated by bootpacket to
the boot device
请参考下面的processor SDK bootloader说明。
http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_BOOT_C66x#Flashing_the_Bootloader