summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Lunn2024-04-17 00:51:35 +0000
committerPetr Štetiar2024-11-28 18:46:28 +0000
commit1fd7e5124ebe06b4fab8b619d38f695828640905 (patch)
tree9d29ea9407a2cb98d9581ac976d9c6e4e12ba110
parentc2cde63ae654185d2c117ec72c1837b683212734 (diff)
downloadopenwrt-1fd7e5124ebe06b4fab8b619d38f695828640905.tar.gz
rampis: mt7621: resize Edgerouter-X kernel size to 6MB
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 (cherry picked from commit 09a6bffb6e0a714f20d71043ae8382af4c5925b6) Link: https://github.com/openwrt/openwrt/pull/17097 Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--target/linux/ramips/image/mt7621.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 9654e237a8..27adb06bf7 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -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