rampis: mt7621: resize Edgerouter-X kernel size to 6MB
authorTim Lunn <tim@feathertop.org>
Wed, 17 Apr 2024 00:51:35 +0000 (10:51 +1000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 8 Nov 2024 12:37:04 +0000 (12:37 +0000)
With the updated partition layout set in dts, set the KERNEL_SIZE
parameter to 6MB allowing builds of Linux 6.1 and later to fit.

Signed-off-by: Tim Lunn <tim@feathertop.org>
Tested-by: Mauri Sandberg <maukka@ext.kapsi.fi>
Link: https://github.com/openwrt/openwrt/pull/15194
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/image/mt7621.mk

index 9654e237a8af227399a2fe7a7e380ee6e5855ab3..27adb06bf7ddf23a028d4be08fcbb43c42f9f422 100644 (file)
@@ -2860,7 +2860,7 @@ define Device/ubnt_edgerouter_common
   DEVICE_VENDOR := Ubiquiti
   IMAGE_SIZE := 256768k
   FILESYSTEMS := squashfs
-  KERNEL_SIZE := 3145728
+  KERNEL_SIZE := 6144k
   KERNEL_INITRAMFS := $$(KERNEL) | \
        ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar
   IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata