本人最近开始学习6657的 EMAC BOOT,根据官方的说明文档README.txt文件按照以下几个步骤:
Steps to boot i2ctftpboot from TFTP:
1. Be sure IBL is programmed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to
tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM.
(关于第一步,之前做的NAND、NOR BOOT的实验中已经做过,查明文档说明只需要烧写一次)
2. By default, IBL will boot a BBLOB image from TFTP, to run this example, we need to change the
TFTP boot image format to ELF:
a. In setConfig_c66xx_main() of tools\boot_loader\ibl\src\make\bin\i2cConfig.gel, replace ibl.bootModes[2].u.ethBoot.bootFormat = ibl_BOOT_FORMAT_BBLOB;
with
ibl.bootModes[2].u.ethBoot.bootFormat = ibl_BOOT_FORMAT_ELF;
b. Re-program the boot configuration table, refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot configuration table to EEPROM. (第二步也完成了)
3. Start a TFTP server (you can download a free, open source application from http://tftpd32.jounin.net) and copy
tools\boot_loader\examples\i2c\tftp\evmc66xxl\bin\i2ctftpboot_evm66xxl.out to the TFTP base directory, rename
i2ctftpboot_evm66xxl.out to app.out.
4. Set the IP address of the PC that is running the TFTP server to 192.168.2.101, since by default IBL will set the EVM
IP address to 192.168.2.100 and the TFTP server IP address to 192.168.2.101.
(不理解第三步与第四步,主要问题有):
1.下载的TFTP64 service edition,但是打不开,不知道是不是网络的问题;
2.怎么修改PC的IP地址?是在计算机修改本地网络还是在TFTP64 service edition中修改?
5. Set the boot dip switches to I2C master mode, bus address 0x51 and boot parameter index to be 4.
6. Be sure the EVM and the PC are connected in the same subnet of a local network, after POR, IBL will download the
boot image from TFTP server and boot from it.
运行出错结果:
谢谢!
Denny%20Yang99373:
1.下载的TFTP64 service edition,但是打不开,不知道是不是网络的问题;
换台电脑试试,看看于杀毒软件什么的有关没?
2.怎么修改PC的IP地址?是在计算机修改本地网络还是在TFTP64 service edition中修改?
修改PC的IP。本地网络
user4990482:
回复 Denny%20Yang99373:
你好Denny Yang,谢谢你的回复!
两个问题想请教,
1.我从官网下载TFTp32软件打开之后界面是这样的,是不是还需要做什么配置工作?
2.我将以太网线连接了PC和EVM并设置了IP地址,这样做对吗?
这样做之后,将BOOT MODE管教配置到EMAC BOOT模式,然后连接以太网、串口线上电发现仍然一直显示IBL booting from Ethernet。
请问这是怎么回事呢?
user4990482:
回复 Denny%20Yang99373:
这是IP设置的情况,请问哪儿有错没