From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Wed, 16 Jan 2008 18:33:35 -0500 Subject: [U-Boot-Users] [PATCH] TFTP: add host ip addr support In-Reply-To: <20080116230910.D050E243C0@gemini.denx.de> References: <20080116230910.D050E243C0@gemini.denx.de> Message-ID: <478E944F.2090406@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <20080116222754.GG31365@game.jcrosoft.org> you wrote: > >>> Except that the length should be 128 to match the boot file name >>> length that BOOTP / DHCP can pass as per RFC. >>> >> Personnaly, I'll prefer 1K length because if you use as I use a lost of >> time a full path when downloading uImage or other so a path with a >> length over than 512 arrive often. >> > > So is there a newer RFC that changes this? IIRC the max length is > defined as 128 bytes. > > Best regards, > > Wolfgang Denk > > My 2c is that we go with 128, and have a CONFIG_LONG_TFTP_FILE_NAME that allows 1k for people with ridiculously long paths. regards, Ben