From: Eddi De Pieri Date: Mon, 21 Nov 2016 14:59:54 +0000 (+0100) Subject: uboot-lantiq: vgv7519 fix tftp loading of big kernel/image size X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ea12a80276c0aca680d67515e7f651e2cef3f3ee;p=openwrt%2Fstaging%2Fansuel.git uboot-lantiq: vgv7519 fix tftp loading of big kernel/image size On my board: Bytes transferred = 7084442 (6c199a hex) Image Name: MIPS OpenWrt Linux-3.10.49 Created: 2014-11-11 17:40:00 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 7084378 Bytes = 6.8 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 7 - must RESET b ROM VER: 1.0.5 CFG 01 Signed-off-by: Eddi De Pieri --- diff --git a/package/boot/uboot-lantiq/patches/0114-MIPS-add-board-support-for-Arcadyan-VGV7519.patch b/package/boot/uboot-lantiq/patches/0114-MIPS-add-board-support-for-Arcadyan-VGV7519.patch index 952bdce0cc..2ac785692a 100644 --- a/package/boot/uboot-lantiq/patches/0114-MIPS-add-board-support-for-Arcadyan-VGV7519.patch +++ b/package/boot/uboot-lantiq/patches/0114-MIPS-add-board-support-for-Arcadyan-VGV7519.patch @@ -223,7 +223,7 @@ Active mips mips32 vrx200 avm fb3370 fb3370_sfspl fb3370:SYS_BOOT_SFSPL Daniel Schwierzeck --- /dev/null +++ b/include/configs/vgv7519.h -@@ -0,0 +1,62 @@ +@@ -0,0 +1,64 @@ +/* + * This file is released under the terms of GPL v2 and any later version. + * See the file COPYING in the root directory of the source tree for details. @@ -245,6 +245,8 @@ + +#define CONFIG_LTQ_SUPPORT_NOR_FLASH /* Have a parallel NOR flash */ + ++#define CONFIG_SYS_BOOTM_LEN 0x1000000 /* 16 MB */ ++ +#define CONFIG_SYS_MAX_FLASH_BANKS 2 /* max number of memory banks */ +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH2_BASE } +