rampis: mt7621: Edgerouter-X adjust IMAGE_SIZE to reflect new kernel size
authorTim Lunn <tim@feathertop.org>
Fri, 26 Apr 2024 01:27:45 +0000 (11:27 +1000)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:46:37 +0000 (18:46 +0000)
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@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@true.cz>
target/linux/ramips/image/mt7621.mk

index bebe40c2161838078c810ed7751b21d1b2f5eb50..1dc1219d241e465b162285642ae45a29e12fc629 100644 (file)
@@ -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