Re: [U-Boot] U-Boot TFTP protection

2018-06-19 Thread Simon Glass
Hi Stefan, On 15 June 2018 at 00:44, Stefan Johansson wrote: > > Hello, > We have been looking at protecting U-Boot from (malicious) TFTP overwrites. > We want to do this after our ARMv7 U-Boot has relocated. > > The memory map looks like this (I hope): > > --- Top of

Re: [U-Boot] U-Boot TFTP protection

2018-06-19 Thread Lukasz Majewski
Hi Stefan, > Hello, > We have been looking at protecting U-Boot from (malicious) TFTP > overwrites. We want to do this after our ARMv7 U-Boot has relocated. > > The memory map looks like this (I hope): > > --- Top of DRAM > | U-Boot (Protected) > |

[U-Boot] U-Boot TFTP protection

2018-06-15 Thread Stefan Johansson
Hello, We have been looking at protecting U-Boot from (malicious) TFTP overwrites. We want to do this after our ARMv7 U-Boot has relocated. The memory map looks like this (I hope): --- Top of DRAM | U-Boot (Protected) | -- U_Boot_start | Heap

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:

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

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

2015-02-23 Thread Joe Hershberger
On Fri, Feb 20, 2015 at 10:51 AM, PF4Public pf4pub...@mail.ru 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)

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

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-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

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

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

2015-02-17 Thread Joe Hershberger
On Fri, Feb 13, 2015 at 8:05 PM, PF4Public pf4pub...@mail.ru 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

[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.

Re: [U-Boot] U-BOOT TFTP

2011-07-25 Thread simran gill
,Simran Date: Thu, 21 Jul 2011 10:24:07 + Subject: Re: [U-Boot] U-BOOT TFTP From: vickylinu...@gmail.com To: simrangill...@hotmail.com CC: u-boot@lists.denx.de Hello simran The things u have to do is check your network connectivity between board and target .If it is not working after

Re: [U-Boot] U-BOOT TFTP

2011-07-21 Thread Detlev Zundel
Hi simran, you should really provide us with more data to give us even a remote chance of helping you. What board do you use, what CPU is it, what U-Boot version do you use? Are you doing a custom U-Boot port or simply use a well-supported U-Boot configuration from mainline? Hello, This is

Re: [U-Boot] U-BOOT TFTP

2011-07-21 Thread vignesh rajendran
Hello simran The things u have to do is check your network connectivity between board and target .If it is not working after that, make a clean u-boot compilation again with basic configuration(no confusing) of your board header file and port again. Regards Vignesh Rajendran

Re: [U-Boot] U-BOOT TFTP

2011-07-19 Thread simran gill
...@gmail.com Date: Sun, 17 Jul 2011 18:40:55 -0700 CC: u-boot@lists.denx.de Subject: Re: [U-Boot] U-BOOT TFTP Hello,Nothing happens after I run the tftp command. It just returns a new u-boot prompt with no warnings at all. Date: Sat, 16 Jul 2011 06:01:27 + Subject: Re: [U-Boot] U-BOOT TFTP From

Re: [U-Boot] U-BOOT TFTP

2011-07-18 Thread simran gill
CC: u-boot@lists.denx.de Subject: Re: [U-Boot] U-BOOT TFTP Hello,Nothing happens after I run the tftp command. It just returns a new u-boot prompt with no warnings at all. Date: Sat, 16 Jul 2011 06:01:27 + Subject: Re: [U-Boot] U-BOOT TFTP From: vickylinu...@gmail.com To: simrangill

Re: [U-Boot] U-BOOT TFTP

2011-07-17 Thread simran gill
Hello,Nothing happens after I run the tftp command. It just returns a new u-boot prompt with no warnings at all. Date: Sat, 16 Jul 2011 06:01:27 + Subject: Re: [U-Boot] U-BOOT TFTP From: vickylinu...@gmail.com To: simrangill...@hotmail.com CC: u-boot@lists.denx.de Hi Can u give

Re: [U-Boot] U-BOOT TFTP

2011-07-16 Thread vignesh rajendran
Hi Can u give a clear log about uboot version and what u getting after executing tftp 100 /tftpboot/uImage. Regards Vignesh Rajendran ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] U-BOOT TFTP

2011-07-16 Thread vignesh rajendran
sorry about my wrong post ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] U-BOOT TFTP

2011-07-15 Thread simran gill
Hello,I am running Linux 2.6.34.6 on p4080ds board. I am trying to get the interfaces running on the kernel but it does not seem to be working. So far I am able to set up the ipaddress etc for the interface fm1-gb1 but still cannot ping the outside world. I edited the file /etc/rc.d/rc.conf

[U-Boot] U-BOOT TFTP

2011-07-15 Thread simran gill
Sorry about my last post. I am new and need some help. Hello,I am developing on freescale P4080DS BOARD. I am trying to put new kernel image onto the board but need a tftp connection. When I type tftp 100 /tftpboot/uImage nothing happens and the new prompt appears. I was able to tftp