
27 Jan
2010
27 Jan
'10
1:36 p.m.
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