Re: RedBoot's TFTP client and dumb TFTP servers

Sergei Gavrikov <[email protected]>
Newsgroups gmane.os.ecos.devel
Message-ID <[email protected]>
On Mon, 10 Jan 2011, Gary Thomas wrote:

> On 01/10/2011 07:13 AM, Sergei Gavrikov wrote:
> > Hi
> > 
> > I tried to get working the QEMU's embedded TFTP server with
> > RedBoot's FTP client and the RedBoot's 'load' command always wept,
> > -- "illegal TFTP operation".
> > 
> > I did dig that QEMU's TFTP server has the very simple check for a
> > transfer mode:
> > 
> > slirp/tftp.c:314
> > 
> >      if (memcmp(&tp->x.tp_buf[k], "octet\0", 6) != 0) {
> >          tftp_send_error(spt, 4, "Unsupported transfer mode", tp);
> >          return;
> >      }
> > 

[snip]

> I've never run across another TFTP server that can't handle OCTET in
> upper case.
> 
> By your reference, the QEMU server is what's broken - why not fix it
> instead?


Gary, thanks for your expertise, then I will disturb qemu-devel list.


Sergei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.