Dear Luca Ceresoli,

In message <4da59b5e.5000...@comelit.it> you wrote:
>
> >>     Usage:    tftpsrv [<loadaddr>]
> >>
> >> This would be used almost like tftpboot, except no file name is specified 
> >> on
> >> the commandline.
> >> <loadaddr>   would default to the environment variable.
> > I see some user interface issues here:
> > - When and how do you terminate this command?  After a successful
> >    download, ok.  But how long do we wait for that?  Forever? Or do we
> >    time out?
> The TFTP client tries sending a RRQ packet TIMEOUT_COUNT times (default 10),
> spaced TIMEOUT msecs (default 5000) from each other. 50 seconds total by 
> default.

Well - this requires that there actually _is_ a TFTP client which
attempts to connect.  But there is no guarantee that any such client
is running at all, or that it can connect through firewalls, routers,
etc.

So assuming we never see any incoming packets - how long will we wait?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
If all you have is a hammer, everything looks like a nail.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to