From patchwork Mon Jul 20 22:35:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 497935 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 6AE0A14076B for ; Tue, 21 Jul 2015 08:43:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02B884B64D; Tue, 21 Jul 2015 00:43:10 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g-kPMZDfxtf5; Tue, 21 Jul 2015 00:43:09 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 78D424B61F; Tue, 21 Jul 2015 00:43:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7D0034B61F for ; Tue, 21 Jul 2015 00:43:07 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dX84qkehsdod for ; Tue, 21 Jul 2015 00:43:07 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by theia.denx.de (Postfix) with ESMTPS id 0C0A44A01C for ; Tue, 21 Jul 2015 00:43:04 +0200 (CEST) Received: from localhost.net ([89.217.117.82]) by mrelay.perfora.net (mreueus003) with ESMTPSA (Nemesis) id 0Lj3bk-1YfVM347VG-00dJNw; Tue, 21 Jul 2015 00:36:54 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Tue, 21 Jul 2015 00:35:47 +0200 Message-Id: X-Mailer: git-send-email 2.4.3 In-Reply-To: References: X-Provags-ID: V03:K0:Pm2P++H842PaY1e2BC4rkPCF1NAUd2kvarQuOqTWTGcTyG4rpv0 qUgq/tv/rqLVmNNG+bvMaYyyZtBnoTgrGVvlgFUl7GlKH3YRCoAJMLbUgUgqbqNy7t94PF7 r6NhjVOWCbCpsm2WnzyjEYSZfvsO1cBCZueIpsYaV9wAtVESDPs+J/hheNN2l6qjNsTx89u 1usOyMkMsRcIIEH3fIGXg== X-UI-Out-Filterresults: notjunk:1; V01:K0:4UjEGxVM6RU=:eadn3nXpuTe8HM9rGkJFHT 6tFjxV7+cFMPxYftCP/UGDkm2uBt5JFZVymkldBbYJwG8UQY5DHfI5PKJpyOYI0IpdF3Ino4B RIQCaS287O+Qut+pfiWhYOGIIqqDjY7zQZAbLGzLeX6fRCVvApD31vuUJMf5lxpYiG81Exmx7 sVKwuPQ0+Li/3AhwjSjB7YFWUaHfaBgz81+tZRpgVKIIZAM2FzoB/jGdcQzAQzT26vHsdEXvb kblT2iv0XWi73OjNuNhKABoDIY4uoGDJI6EZsyOzl6gO+7RGkC88I/Tol4iNZLzRnqqE2b4ny wBHAsoQKTrvgJBO4i6rxFvhGTsP+WUEKdy7WggTG7hnuWGvs3gEfxQ1HV33VXL2BWCnJVNlBP ZAmQXVXLE/LW07Tg2Jpgc+VMBNSbnB+bgKX8Rs7/CN6p2RnhE6ITmqVvc2VcjuHaIjdjN7Rde bXqUm+mz5XH28jjfn2MpxeqaQS28ltn50/OEw26osN388U53dN8m6ZQv/VfSJHIzvp8GqVcJC 5PoX1lNOtLw1o6fWqineeJt/14gMVAPGpt6gfcUbfO3dqIzzvX8pDOdf4q2lO/NBiNH3OHMgs gdqfht2Iy8OpNaSBuOyVUXcZqTvNiW8BfD6853yT+mDPq+ZnhbksVgG5YvZXmGam+neIfKRyl I+xVniaia/N4Zd54XtYjKy+dY Cc: Stefan Agner , Tom Rini , Marcel Ziswiler , Tom Warren , Max Krummenacher , Scott Wood , Stephen Warren , Marcel Ziswiler Subject: [U-Boot] [PATCH v2 13/16] apalis/colibri_t20/t30: increase tftp blocksize X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Max Krummenacher Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty '#' independent of the downloaded file size. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: Only limit it to 1536 bytes on Colibri T20 to avoid issues observed otherwise. include/configs/apalis_t30.h | 3 +++ include/configs/colibri_t20.h | 3 +++ include/configs/colibri_t30.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h index 898ccdf..8f7f833 100644 --- a/include/configs/apalis_t30.h +++ b/include/configs/apalis_t30.h @@ -60,6 +60,9 @@ /* General networking support */ #define CONFIG_CMD_DHCP +#define CONFIG_IP_DEFRAG +#define CONFIG_TFTP_BLOCKSIZE 16384 +#define CONFIG_TFTP_TSIZE /* Miscellaneous commands */ #define CONFIG_FAT_WRITE diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index 4c45ef8..65c4bee 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -48,6 +48,9 @@ /* General networking support */ #define CONFIG_CMD_DHCP +#define CONFIG_IP_DEFRAG +#define CONFIG_TFTP_BLOCKSIZE 1536 +#define CONFIG_TFTP_TSIZE /* LCD support */ #define CONFIG_LCD diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h index 3ef4778..f91c2e2 100644 --- a/include/configs/colibri_t30.h +++ b/include/configs/colibri_t30.h @@ -53,6 +53,9 @@ /* General networking support */ #define CONFIG_CMD_DHCP +#define CONFIG_IP_DEFRAG +#define CONFIG_TFTP_BLOCKSIZE 16384 +#define CONFIG_TFTP_TSIZE /* Miscellaneous commands */ #define CONFIG_FAT_WRITE