[U-Boot] TFTP pause and timeout on MX28 platforms

Hector Palacios
2013-03-13T09:46:38Z

Hello,

When doing large TFTP downloads (files bigger than 10MiB) on my MX28 platform I'm
sometimes experiencing pauses and timeouts. U-Boot will eventually restart the
transmission and sometimes may successfully complete the download, but other times it
won't.
On my platform it was somewhat mitigated (but not resolved) by reverting this patch
from Marek:

commit 67449098a86be18cbdb27345bebe8da57e5d8899
Author: Marek Vasut <marex@denx.de>
Date: Wed Aug 29 03:49:50 2012 +0000

FEC: Rework the TX wait mechanism

The problem is reproducible in Freescale's MX28EVK.
The larger the file, the more chances to see the problem. Please try with 50MiB files
or larger. Has anybody else seen it?

On an old U-Boot v2009 TFTP transmission was twice slower than with v2013, but didn't
suffer from this.
--
H?ctor Palacios