[openwrt/openwrt] rampis: mt7621: Edgerouter-X adjust IMAGE_SIZE to reflect new kernel size

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 28 10:57:22 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/79c711a035e5a98dcb16b1e68d323c865a08db1e

commit 79c711a035e5a98dcb16b1e68d323c865a08db1e
Author: Tim Lunn <tim at feathertop.org>
AuthorDate: Fri Apr 26 11:27:45 2024 +1000

    rampis: mt7621: Edgerouter-X adjust IMAGE_SIZE to reflect new kernel size
    
    IMAGE_SIZE was previously set to kernel1 + ubi size = 256768k, now
    kernel1 is 6MB adjust this value to add 3072k to total image size.
    
    Signed-off-by: Tim Lunn <tim at feathertop.org>
    Link: https://github.com/openwrt/openwrt/pull/15194
    (cherry picked from commit 5b406bccaccadb494cad139b3f69e17ab62d3968)
    Link: https://github.com/openwrt/openwrt/pull/17097
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 target/linux/ramips/image/mt7621.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index bebe40c216..1dc1219d24 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -2834,7 +2834,7 @@ define Device/ubnt_edgerouter_common
   $(Device/dsa-migration)
   $(Device/uimage-lzma-loader)
   DEVICE_VENDOR := Ubiquiti
-  IMAGE_SIZE := 256768k
+  IMAGE_SIZE := 259840k
   FILESYSTEMS := squashfs
   KERNEL_SIZE := 6144k
   IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata




More information about the lede-commits mailing list