Browse Source

apalis/colibri_t20/t30: increase tftp blocksize

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 <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Max Krummenacher 9 years ago
parent
commit
baa6f0f1b1
3 changed files with 9 additions and 0 deletions
  1. 3 0
      include/configs/apalis_t30.h
  2. 3 0
      include/configs/colibri_t20.h
  3. 3 0
      include/configs/colibri_t30.h

+ 3 - 0
include/configs/apalis_t30.h

@@ -58,6 +58,9 @@
 
 
 /* General networking support */
 /* General networking support */
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_DHCP
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE		16384
+#define CONFIG_TFTP_TSIZE
 
 
 /* Miscellaneous commands */
 /* Miscellaneous commands */
 #define CONFIG_FAT_WRITE
 #define CONFIG_FAT_WRITE

+ 3 - 0
include/configs/colibri_t20.h

@@ -46,6 +46,9 @@
 
 
 /* General networking support */
 /* General networking support */
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_DHCP
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE		1536
+#define CONFIG_TFTP_TSIZE
 
 
 /* LCD support */
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_LCD

+ 3 - 0
include/configs/colibri_t30.h

@@ -51,6 +51,9 @@
 
 
 /* General networking support */
 /* General networking support */
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_DHCP
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE		16384
+#define CONFIG_TFTP_TSIZE
 
 
 /* Miscellaneous commands */
 /* Miscellaneous commands */
 #define CONFIG_FAT_WRITE
 #define CONFIG_FAT_WRITE