[U-Boot] [PATCH] net: Increase the size of the net_boot_file_name buffer
Stefan Bruens
stefan.bruens at rwth-aachen.de
Sat Oct 3 16:13:38 CEST 2015
On Thursday 01 October 2015 16:27:11 Wolfgang Denk wrote:
> Dear Jacob,
>
> In message <1443622325-30792-1-git-send-email-j-stiffler at ti.com> you wrote:
> > The net_boot_file_name buffer is used as storage for the bootfilename
> > command line argument to network boot commands such as tftp and nfs.
> >
> > Increase the size of this buffer to 1024 bytes as the current size of
> > 128 bytes is restrictive for arbitrary paths on the server.
>
> According to RFC 2131, the boot file name has a fixed size of 128
> octets.
You can also put the file name into Option 67, which results in a length limit
of 255 octets (DHCP option length limit).
I sent patches with several DHCP enhancements, including Option 67 support, to
the ML a few weeks ago.
Kind regards,
Stefan
--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
work: +49 2405 49936-424
More information about the U-Boot
mailing list