This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: RedBoot's TFTP client and dumb TFTP servers
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