diff options
author | Mathias Kresin <dev@kresin.me> | 2016-12-30 21:42:05 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-01-02 19:16:54 +0100 |
commit | 8c822ec4ca7557563370aa568c034edda81e6b6e (patch) | |
tree | 610be869c4a4f72a32ee8e64632d73180a54a579 /package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch | |
parent | cfe1c6debe8247ce9239b92aa1213fde396b1405 (diff) | |
download | upstream-8c822ec4ca7557563370aa568c034edda81e6b6e.tar.gz upstream-8c822ec4ca7557563370aa568c034edda81e6b6e.tar.bz2 upstream-8c822ec4ca7557563370aa568c034edda81e6b6e.zip |
uboot-lantiq: fix boot of images larger than 8MB
Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to
support uncompressing images larger than 8 MB when using the bootm
command.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch')
-rw-r--r-- | package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch b/package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch index a1c0bdede0..3f77d98476 100644 --- a/package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch +++ b/package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch @@ -231,7 +231,7 @@ Signed-off-by: Luka Perkov <luka@openwrt.org> Active nds32 n1213 ag101 AndesTech adp-ag101 adp-ag101 - Andes <uboot@andestech.com> --- /dev/null +++ b/include/configs/p2812hnufx.h -@@ -0,0 +1,67 @@ +@@ -0,0 +1,69 @@ +/* + * Copyright (C) 2013 Luka Perkov <luka@openwrt.org> + * @@ -265,6 +265,8 @@ Signed-off-by: Luka Perkov <luka@openwrt.org> + +#define CONFIG_SYS_DRAM_PROBE + ++#define CONFIG_SYS_BOOTM_LEN 0x1000000 /* 16 MB */ ++ +/* Environment */ +#if defined(CONFIG_SYS_BOOT_NANDSPL) +#define CONFIG_ENV_IS_IN_NAND |