[openwrt/openwrt] rampis: mt7621: resize Edgerouter-X kernel size to 6MB
LEDE Commits
lede-commits at lists.infradead.org
Fri Nov 8 04:38:04 PST 2024
ynezz pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/09a6bffb6e0a714f20d71043ae8382af4c5925b6
commit 09a6bffb6e0a714f20d71043ae8382af4c5925b6
Author: Tim Lunn <tim at feathertop.org>
AuthorDate: Wed Apr 17 10:51:35 2024 +1000
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 at feathertop.org>
Tested-by: Mauri Sandberg <maukka at ext.kapsi.fi>
Link: https://github.com/openwrt/openwrt/pull/15194
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 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
More information about the lede-commits
mailing list