[U-Boot] problems with tftp

Alessandro Rubini rubini-list at gnudd.com
Wed Jan 27 13:36:51 CET 2010


>> Jan 27 09:24:33 lab7 atftpd[5910]: Requested file to big, increase
>> BLKSIZE

> In this case it is a server parameter.

I actually think in _this_ case it is a client one. By reading atftpd
manual page it says blksize is supported by default, but it's the
client that must specify it, or the default 512 applies.

Current u-boot supports it through CONFIG_TFTP_BLOCKSIZE as well as IP
fragments.  I use 4k blocksize like this (include/configs/nhk8815.h):

#define CONFIG_IP_DEFRAG        /* Allows faster download, TFTP and NFS */
#define CONFIG_TFTP_BLOCKSIZE   4096
#define CONFIG_NFS_READ_SIZE    4096

/alessandro


More information about the U-Boot mailing list