From: Marcel Ziswiler Date: Wed, 14 Sep 2016 14:36:55 +0000 Subject: [U-Boot] [PATCH] colibri_t30: fix usb ethernet functionality In-Reply-To: References: <1473474049-1854-1-git-send-email-marcel.ziswiler@toradex.com> Message-ID: <1473863815.14918.9.camel@toradex.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2016-09-10 at 18:51 +0200, Marek Vasut wrote: > On 09/10/2016 04:20 AM, Marcel Ziswiler wrote: > > > > Since commit aa7a648747d8c704a9a81c9e493d386930724e9d > > ("net: Stop including NFS overhead in defragment max") the > > following > > has been reproducibly observed while trying to transfer data over > > TFTP: > > > > Load address: 0x80408000 > > Loading: EHCI timed out on TD - token=0x8008d80 > > T EHCI timed out on TD - token=0x88008d80 > > Rx: failed to receive: -5 > > > > This patch fixes this by upping our maximal de-fragmentation aka IP > > packet size again. > > > > Signed-off-by: Marcel Ziswiler > > > > --- > > > > ?include/configs/colibri_t30.h | 1 + > > ?1 file changed, 1 insertion(+) > > > > diff --git a/include/configs/colibri_t30.h > > b/include/configs/colibri_t30.h > > index fbb235d..3431cde 100644 > > --- a/include/configs/colibri_t30.h > > +++ b/include/configs/colibri_t30.h > > @@ -48,6 +48,7 @@ > > ? > > ?/* General networking support */ > > ?#define CONFIG_IP_DEFRAG > > +#define CONFIG_NET_MAXDEFRAG (16384 + 4096 + 24) > > ?#define CONFIG_TFTP_BLOCKSIZE 16384 > > ?#define CONFIG_TFTP_TSIZE > > ? > > > Applied, thanks . If you need to rectify this further based on Joe's > feedback, please do, but I want this fixed before the release. Unfortunately the release already happened. Nevertheless I will send an updated version 2 ASAP which fixes all of our boards currently exhibiting this issue the way Joe suggested.