Date: Thu, 31 Dec 2009 15:48:26 +0000 From: Rui Paulo <rpaulo@freebsd.org> To: Patrick Mahan <mahan@mahan.org> Cc: freebsd-net@freebsd.org Subject: Re: Any plans to upgrade the tftp client and server images for FreeBSD? Message-ID: <2C4E1C7D-90CF-4D0D-9B86-668ACB516299@freebsd.org> In-Reply-To: <4B3C2CC1.9070308@mahan.org> References: <4B3C2CC1.9070308@mahan.org>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, On 31 Dec 2009, at 04:46, Patrick Mahan wrote: > Not sure if this is the correct list, but I am working as part of > a kernel team that is using FreeBSD 8.0 for it's base OS. >=20 > We have had a ongoing issue with our bootloader (u-boot) with it > being unable to tftp from the tftp server running on our FreeBSD > server. We traced the issue down to the tftp code in u-boot was > using the 'blksize' option and was not handling the option nak > correctly. Since we didn't want to have to require a change in > the bootloader, it was instead decided to fix the tftp server to > support RFC 2348. After looking around the internet, we found that > the tftp server under NetBSD did support RFC 2348. This made it > an easy port, one line change to the usr.bin/tftp/Makefile and a > slight change to libexec/tftpd.c (changed the name of an internal > function from 'sendfile' back to 'xmitfile'). It has been working > just fine for us. >=20 > So I have been tasked with asking if the FreeBSD developers would > like this code for future inclusion (or one of the current developers > could just grab it from NetBSD). Yes. >=20 > Reading the website it seems to contribute we need to be running = -CURRENT > which is not currently possible (other reasons we are using 8.0. This > is actually a recent upgrade as we were previously using FreeBSD 6.2). >=20 > So if this is something that could be useful, I have the code and a = patch > to modify the original NetBSD code to contribute. >=20 > Also, if it is already done, then I was not able to view it (I tried = the CVS and > SVN web source browser and did not see any changes related to adding = RFC 2348 > support. The tftp server on 8.0 is the same as on 9.0. Can you send a patch? Thanks, -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C4E1C7D-90CF-4D0D-9B86-668ACB516299>