【发布时间】:2016-03-04 04:08:20
【问题描述】:
我正在尝试使用 uboot 下载文件。 当文件大小为 512 字节并且是整数倍时,Uboot 给出超时,但 tftp 服务器说传输完成。
TFTP 服务器在 Windows 7 上
Uboot日志:
using FM1@DTSEC2 device
TFTP from server 192.168.1.22; our IP address is 192.168.1.21
Filename 'u-boot_p4080ds.bin'.
Load address: 0x100000
Loading: #################################################################
#################################################################
########################T T T T T T T T T T
Retry count exceeded; starting again
FM2@DTSEC1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM2@DTSEC1: No link.
FM2@DTSEC2 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM2@DTSEC2: No link.
FM2@DTSEC3 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM2@DTSEC3: No link.
FM2@DTSEC4 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM2@DTSEC4: No link.
Tftp 服务器日志:
15:48:15 INFO TFTPServer - Transferring file (binary): u-boot_p4080ds.bin
15:48:15 INFO TFTPServer - Transfer done: u-boot_p4080ds.bin
例如,如果文件大小为 1023 字节或 1025 字节,则传输成功完成。但是,如果文件大小为 1024 字节,则会失败。
怎么了?
【问题讨论】: