【问题标题】:uboot timeouts, but tftp server says transfer done- integer-folds of 512 bytesuboot 超时,但 tftp 服务器说传输完成 - 512 字节的整数倍
【发布时间】: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 字节,则会失败。

怎么了?

【问题讨论】:

    标签: timeout u-boot tftp


    【解决方案1】:

    在这种情况下,问题在于您使用的 TFTP 服务器。尝试使用其他 TFTP 服务器,例如 SolarWind。

    【讨论】:

    • 您可以将此作为评论发布,然后在确认后添加为答案吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-21
    相关资源
    最近更新 更多