From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Wed, 27 Jan 2010 13:36:51 +0100 Subject: [U-Boot] problems with tftp In-Reply-To: <20100127122707.42589E1C7C3@gemini.denx.de> References: <20100127122707.42589E1C7C3@gemini.denx.de> <1264582292.6870.15.camel@lab7.powersoft.it> Message-ID: <20100127123650.GA15227@morgana.gnudd.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> 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