public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot & FTP
Date: Tue, 04 Jan 2005 18:37:29 -0600	[thread overview]
Message-ID: <41DB36C9.3080807@orkun.us> (raw)
In-Reply-To: <20050104222003.8195FC108D@atlas.denx.de>

Wolfgang Denk wrote:
> In message <E89EC5FBB92CAB4C9BB301E636B0D858075C14@mailserver4.mail4.local> you wrote:
> 
>>Are there any patches/modifications that enable U-boot to boot a kernel
>>via FTP. ?
> 
> 
> No, and there will be none.
> 
> FTP requires TCP/IP, which is too  much  overhead  just  for  a  boot
> loader. If you need FTP, then boot an OS which runs the download.
> 
> On the othe rhand, U-Boot offers TFTP and  NFS  for  download,  so  I
> wonder why you think that FTP would make your life easier.
> 
> Best regards,
> 
> Wolfgang Denk
> 

I can think of one case where FTP would be desirable. If the host is 
behind a stateful firewall and TFTP Server is on the other side, the 
client might not be able to access the TFTP server properly. Because per 
TFTP RFC the server uses a dynamic port as source port for response 
packets which is detected as unsolicited by stateful firewalls and 
dropped. Unlike FTP this dynamic port number is not negotiated so 
stateful firewall cannot implement an ALG (unless ignoring the source 
port numbers completely which reduces the effectiveness of the firewall 
and is not desirable).

Such a problem did surface while updating firmware of a VOIP phone using 
TFTP (not u-boot related but could have been).

Now, typically the TFTP server and the U-Boot host is not seperated by a 
firewall but it could be in some situations. I personally do not need it 
but I can see it may be needed by some. A very basic lightweight and 
tight TCP support could be developped for FTP support. There are some 
TCP implementations for really limited resource hosts.

  reply	other threads:[~2005-01-05  0:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 21:17 [U-Boot-Users] U-Boot & FTP D Palmer
2005-01-04 21:22 ` Jerry Van Baren
2005-01-04 22:19 ` Wolfgang Denk
2005-01-05  0:37   ` Tolunay Orkun [this message]
2005-01-05  0:46     ` Wolfgang Denk
2005-01-05 13:54       ` Jerry Van Baren
2005-01-05 14:44         ` Marius Groeger
2005-01-05 14:58           ` Jerry Van Baren
2005-01-05 15:31         ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41DB36C9.3080807@orkun.us \
    --to=listmember@orkun.us \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox