Re: [U-Boot] u-boot tftp problem

2015-03-02 Thread PF4Public
Hello, Joe Recently I have repeated my tests. U-Boot logs along with pcap dump could be found here: https://mega.co.nz/#!g4UnVaDL!K6ej1OQXg5VE6pU5cmFoELkeqasIDXH1OZbDwdLiXSU I may be wrong, but after careful examination of these dumps (and older ones), I came to the following conclusion: Some

Re: [U-Boot] u-boot tftp problem

2015-02-25 Thread PF4Public
Hello, Joe >Can you provide more exact details on the servers you are trying including versions? >Perhaps also provide pcap files (not text dumps) so the exact packet contents can be observed? Recently I've done some tests, hope you find them interesting. Server in question: Linux sterver 3.

Re: [U-Boot] u-boot tftp problem

2015-02-23 Thread Joe Hershberger
On Fri, Feb 20, 2015 at 10:51 AM, PF4Public wrote: > > Hello, Nikolay > > Now I see, what you mean. > > From every dump the requests made by U-Boot are the same. They're as follows: > 00:00:00.000310 IP (tos 0x0, ttl 255, id 11267, offset 0, flags [DF], proto UDP (17), length 66) > 192.168.100

Re: [U-Boot] u-boot tftp problem

2015-02-20 Thread PF4Public
Hello, Nikolay Now I see, what you mean. From every dump the requests made by U-Boot are the same. They're as follows: 00:00:00.000310 IP (tos 0x0, ttl 255, id 11267, offset 0, flags [DF], proto UDP (17), length 66) 192.168.100.88.3821 > 192.168.100.254.69: 38 RRQ "uImage" octet timeout 5

Re: [U-Boot] u-boot tftp problem

2015-02-20 Thread Nikolay Dimitrov
Hi PF4Public, On 02/20/2015 04:43 PM, PF4Public wrote: >When working with large TFTP packets (probably 4096 bytes, as set in your board config file), U-Boot TFTP code sends wrong acknowledges for the TFTP packets. But what is clear from traffic dumps is that a packet size never exceeds 516 whe

Re: [U-Boot] u-boot tftp problem

2015-02-18 Thread Nikolay Dimitrov
Hi, Here's what I think happens: When working with large TFTP packets (probably 4096 bytes, as set in your board config file), U-Boot TFTP code sends wrong acknowledges for the TFTP packets. If the TFTP server implementation is too strict (the OpenBSD server is a good example), the transfer will

Re: [U-Boot] u-boot tftp problem

2015-02-18 Thread PF4Public
>Are you saying that it is completely consistent that when TFTPing from a specific TFTP server to u-boot you always get these time-outs, but with a different one you never get them? Exactly. Even when I try to download uImage from kvm host machine, I still got timeouts. But should I try to downlo

Re: [U-Boot] u-boot tftp problem

2015-02-17 Thread Joe Hershberger
On Fri, Feb 13, 2015 at 8:05 PM, PF4Public wrote: > > Hi all > > I'm asking for your help to figure out what interferes with u-boot's tftp in my setup. > I have a custom board with TI OMAP SoC. I'm trying to download uImage from linux machine via tftp. It fails with timeouts (most of the tries tim

[U-Boot] u-boot tftp problem

2015-02-16 Thread PF4Public
Hi all I'm asking for your help to figure out what interferes with u-boot's tftp in my setup. I have a custom board with TI OMAP SoC. I'm trying to download uImage from linux machine via tftp. It fails with timeouts (most of the tries timeout limit exceeds) on several, but succeeds on others.