uboot-lantiq: fix boot of images larger than 8MB
authorMathias Kresin <dev@kresin.me>
Fri, 30 Dec 2016 20:42:05 +0000 (21:42 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 2 Jan 2017 18:16:54 +0000 (19:16 +0100)
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>
12 files changed:
package/boot/uboot-lantiq/patches/0102-MIPS-add-board-support-for-Arcadyan-ARV4519PW.patch
package/boot/uboot-lantiq/patches/0103-MIPS-add-board-support-for-Arcadyan-ARV7518PW.patch
package/boot/uboot-lantiq/patches/0104-MIPS-add-board-support-for-AudioCodes-MP-252.patch
package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch
package/boot/uboot-lantiq/patches/0106-MIPS-add-board-support-for-Gigaset-SX76X.patch
package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch
package/boot/uboot-lantiq/patches/0108-MIPS-add-board-support-for-Arcadyan-ARV752DPW.patch
package/boot/uboot-lantiq/patches/0109-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch
package/boot/uboot-lantiq/patches/0110-MIPS-add-board-support-for-Arcadyan-ARV7510PW.patch
package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch
package/boot/uboot-lantiq/patches/0113-MIPS-add-board-support-for-Arcadyan-ARV8539PW22.patch
package/boot/uboot-lantiq/patches/0115-MIPS-add-board-support-for-Arcadyan-ARV7506PW11.patch

index 51738e40b8af929e17d6e2a0f4151e0ae1a7ace1..413061cbaf09248a880fa9bf27b8d9587d90269e 100644 (file)
@@ -172,7 +172,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      lantiq          easy50712           easy50712_ram                        easy50712:SYS_BOOT_RAM                                                                                                            Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 --- /dev/null
 +++ b/include/configs/arv4519pw.h
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,69 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -193,6 +193,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_AR8216
index 21e6a2c5e96ab0299c8f7a2e96eaeb50984cb6a0..490ab2dbb8b13206e0b7e46d3c6169bd06f97eec 100644 (file)
@@ -172,7 +172,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      lantiq          easy50712           easy50712_ram                        easy50712:SYS_BOOT_RAM                                                                                                            Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 --- /dev/null
 +++ b/include/configs/arv7518pw.h
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,69 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -193,6 +193,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_AR8216
index 00820f8e3dc426145d4284d464a7ce3a8cd087b0..16a44ccdd191f5378386a61f642df8a227708cb7 100644 (file)
@@ -185,7 +185,7 @@ Signed-off-by: Daniel Golle <dgolle@allnet.de>
  Active  mips        mips32         danube      lantiq          easy50712           easy50712_ram                        easy50712:SYS_BOOT_RAM                                                                                                            Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 --- /dev/null
 +++ b/include/configs/acmp252.h
-@@ -0,0 +1,60 @@
+@@ -0,0 +1,62 @@
 +/*
 + * Copyright (C) 2013 Daniel Golle <daniel.golle@gmail.com>
 + * Copyright (C) 2011 Luka Perkov <luka@openwrt.org>
@@ -207,6 +207,8 @@ Signed-off-by: Daniel Golle <dgolle@allnet.de>
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_ADM6996I
index 77014e44ce0f9d11022f736fa782048c7d14c49a..d7850e4b5b7856a5da0673656cc3add252cce5d1 100644 (file)
@@ -273,7 +273,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         vrx200      lantiq          easy80920           easy80920_norspl                     easy80920:SYS_BOOT_NORSPL                                                                                                         Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 --- /dev/null
 +++ b/include/configs/fb3370.h
-@@ -0,0 +1,78 @@
+@@ -0,0 +1,80 @@
 +/*
 + * Copyright (C) 2011-2013 Daniel Schwierzeck, daniel.schwierzeck@googlemail.com
 + *
@@ -308,6 +308,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +
 +#define CONFIG_SYS_DRAM_PROBE
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Environment */
 +#define CONFIG_ENV_SPI_BUS            CONFIG_SPL_SPI_BUS
 +#define CONFIG_ENV_SPI_CS             CONFIG_SPL_SPI_CS
index 96737fa4839b10b55c00d0749ad3a8b84eb0606a..16946e9bfd3a3652a502b56ea5bf47c1b10364d1 100644 (file)
@@ -185,7 +185,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      lantiq          easy50712           easy50712_ram                        easy50712:SYS_BOOT_RAM                                                                                                            Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 --- /dev/null
 +++ b/include/configs/sx76x.h
-@@ -0,0 +1,59 @@
+@@ -0,0 +1,61 @@
 +/*
 + * Copyright (C) 2011-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -206,6 +206,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_ADM6996I
index a1c0bdede0afa4b005dc683278f7622722d2f4ce..3f77d9847632a98ea19f87694eae4573aa91a5fc 100644 (file)
@@ -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
index 07bef6e312709452024f79839420a0fecab93856..084930524da21b39cd7e7867a9cae47ad1640d10 100644 (file)
@@ -172,7 +172,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      gigaset         sx76x               gigasx76x_nor                        sx76x:SYS_BOOT_NOR                                                                                                                Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv752dpw.h
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,69 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -193,6 +193,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_RTL8306
index 85e3ebdb3a96e7f6157cc9eb3534106bf729ec9d..29b9648ca4a4b4a348da940f00cfd50e15f07ce7 100644 (file)
@@ -173,7 +173,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      gigaset         sx76x               gigasx76x_nor                        sx76x:SYS_BOOT_NOR                                                                                                                Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv752dpw22.h
-@@ -0,0 +1,68 @@
+@@ -0,0 +1,70 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
@@ -194,6 +194,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_AR8216
index 8c463685b638b01a794dfb9f0f3d513d7b8c979c..902f7b7d0492d6ea5feb3a6ee5cbff0873862718 100644 (file)
@@ -191,7 +191,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  Active  mips        mips32         danube      arcadyan        arv7518pw           arv7518pw_ram                        arv7518pw:SYS_BOOT_RAM                                                                                                            Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv7510pw.h
-@@ -0,0 +1,75 @@
+@@ -0,0 +1,77 @@
 +/*
 + * Copyright (C) 2013 Matti Laakso <malaakso@elisanet.fi>
 + *
@@ -210,6 +210,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 +#define CONFIG_LTQ_SUPPORT_ETHERNET   /* Enable ethernet */
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_ADM6996I
index 902a7cfb5e3d7be23b1b7995a62e08d849ee176f..416f16ed00f5a2e76d365202e298bb68b40bdfd0 100644 (file)
  Active  mips        mips32         danube      arcadyan        arv7518pw           arv7518pw_ram                        arv7518pw:SYS_BOOT_RAM                                                                                                            Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv7510pw22.h
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,69 @@
 +/*
 + * Copyright (C) 2014 Álvaro Fernández Rojas <noltari@gmail.com>
 + *
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_AR8216
index e68ce2d31a5a3b457aa1549609da01cd3cb171e1..5185c945fffe17b96664f456e3764726269d062f 100644 (file)
  Active  mips        mips32         danube      gigaset         sx76x               gigasx76x_nor                        sx76x:SYS_BOOT_NOR                                                                                                                Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv8539pw22.h
-@@ -0,0 +1,68 @@
+@@ -0,0 +1,70 @@
 +/*
 + * Copyright (C) 2012-2013 Luka Perkov <luka@openwrt.org>
 + *
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH   /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_AR8216
index b7a8a6ac2a7541ca9bbad834d236044dd1cb6032..2a7c49c0692baf0c9f5e765990f47ff2b396e60f 100644 (file)
  Active  mips        mips32         danube      arcadyan        arv7510pw           arv7510pw_ram                        arv7510pw:SYS_BOOT_RAM                                                                                                            Luka Perkov <luka@openwrt.org>
 --- /dev/null
 +++ b/include/configs/arv7506pw11.h
-@@ -0,0 +1,62 @@
+@@ -0,0 +1,64 @@
 +/*
 + * Copyright (C) 2016 Mathias Kresin <dev@kresin.me>
 + *
 +
 +#define CONFIG_LTQ_SUPPORT_NOR_FLASH  /* Have a parallel NOR flash */
 +
++#define CONFIG_SYS_BOOTM_LEN          0x1000000       /* 16 MB */
++
 +/* Switch devices */
 +#define CONFIG_SWITCH_MULTI
 +#define CONFIG_SWITCH_RTL8306