From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Tue, 25 Aug 2015 09:12:40 +0200 Subject: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8) In-Reply-To: References: Message-ID: <20150825071240.GA9803@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue 2015-08-25 10:25:35, Bin Meng wrote: > Hi, > > With latest u-boot/master, TFTP is seriously broken. Sorry about that. > => tftp 100000 bzImage > Speed: 100, full duplex > Using pch_gbe device > TFTP from server 10.10.0.8; our IP address is 10.10.0.100; sending > through gateway 10.10.0.1 > Filename 'bzImage'. > Load address: 0x100000 > Loading: T > TFTP error: 'Unsupported option(s) requested' (8) > Starting again > > git bisect shows the following commit broke the TFTP I was not intentionally changing the packets being sent. Could you try to capture tcpdump, including contents of packet, ideally in both working and broken sessions? Could you try setting -#define TIMEOUT 5000UL +#define TIMEOUT 100UL in net/tftp.c to something like 1000UL? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html