[U-Boot-Users] TFTP timeout

Browsing the mailing list i saw that some people met my problem but i can' find the answer. Here is my problem :
TFTP transfer with u-boot (1.1.4) sometimes ended with timeout (TTT) and then a MAL error.
I'am using a 440EP, with 2 PHY from Micrel (KSZ8001) in SMII mode. Under linux (ELDK 4.0, kernel 2.6.16) we have no problem (nfs, ftp, tftp work well).
We used a Etheral to sniff and found out that u-boot ack one datapackage but when the next datapackage arrives u-boot doesn't seem to hear it. Instead u-boot timesout listening and sends another ack on the previous datapackage. The tftp server then retransmits the last datapackage again witch u-boot doesn't hear, u-boot times out and send another ack on the previous datapackage, and we are stuck in this loop.
A previous discussion "[U-Boot-Users] TFTP times out?" ended with a bad timer implementation.
Could someone help me ?
Thanks - Philippe.

Hi Philippe,
On Friday 28 July 2006 17:13, Philippe Villet wrote:
Browsing the mailing list i saw that some people met my problem but i can' find the answer. Here is my problem :
TFTP transfer with u-boot (1.1.4) sometimes ended with timeout (TTT) and then a MAL error.
I'am using a 440EP, with 2 PHY from Micrel (KSZ8001) in SMII mode. Under linux (ELDK 4.0, kernel 2.6.16) we have no problem (nfs, ftp, tftp work well).
We used a Etheral to sniff and found out that u-boot ack one datapackage but when the next datapackage arrives u-boot doesn't seem to hear it. Instead u-boot timesout listening and sends another ack on the previous datapackage. The tftp server then retransmits the last datapackage again witch u-boot doesn't hear, u-boot times out and send another ack on the previous datapackage, and we are stuck in this loop.
A previous discussion "[U-Boot-Users] TFTP times out?" ended with a bad timer implementation.
Timer should be ok for PPC440.
What did you define "CFG_RX_ETH_BUFFER" in your board config file to? Did you try to enable the debug output in the 4xx ethernet driver "INFO_4XX_ENET"? Are you using top-of-git UBoot version?
Best regards, Stefan

In message F9D1A9212590B640B744B50EF9E01686037BC5@ENIEXCH01.ds.jdsu.net you wrote:
TFTP transfer with u-boot (1.1.4) sometimes ended with timeout (TTT) and then a MAL error.
The usual question: is this plain 1.1.4 or current code (top of tree in git repo)?
------_=_NextPart_001_01C6B258.58E521CD Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
HTML postings are forbidden on this list.
Best regards,
Wolfgang Denk
participants (3)
-
Philippe Villet
-
Stefan Roese
-
Wolfgang Denk