summaryrefslogtreecommitdiff
path: root/package/boot
diff options
context:
space:
mode:
authorEddi De Pieri <eddi@dpeddi.com>2016-11-21 15:59:54 +0100
committerMathias Kresin <dev@kresin.me>2016-11-23 08:43:49 +0100
commitea12a80276c0aca680d67515e7f651e2cef3f3ee (patch)
tree28964560153e66467912943a38fc8c8685cf9084 /package/boot
parentec1de9b1a6cd957bb2cb68f7eda294ab73bf9102 (diff)
downloadmtk-20170518-ea12a80276c0aca680d67515e7f651e2cef3f3ee.zip
mtk-20170518-ea12a80276c0aca680d67515e7f651e2cef3f3ee.tar.gz
mtk-20170518-ea12a80276c0aca680d67515e7f651e2cef3f3ee.tar.bz2
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 <eddi@depieri.net>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-lantiq/patches/0114-MIPS-add-board-support-for-Arcadyan-VGV7519.patch4
1 files changed, 3 insertions, 1 deletions
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 952bdce..2ac7856 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 <daniel.schwierzeck@gmail.com>
--- /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 }
+