From 1d6e594aa07547c17904be7e2e92ee6a2447ba33 Mon Sep 17 00:00:00 2001 From: Russell Morris Date: Thu, 29 Jul 2021 22:19:45 -0500 Subject: [PATCH] ramips: sunvalley - allow larger sysupgrade Aligned to size of mtd-concat partition (firmware) - in this device we have mtd-concat driver that joins multiple flash partitions - since sysupgrade works with mtd devices the rootfs partition is already joined - we can use a bigger sysupgrade image than factory/TFTP install images Checked on hardware, no issues seen. No modifications to images other than sysupgrade (i.e. TFTP / recovery images not touched). Signed-off-by: Russell Morris --- target/linux/ramips/image/mt7620.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 7c2ff740f057..bb06e0d6c82d 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -592,6 +592,8 @@ define Device/sunvalley_filehub_common IMAGES += kernel.bin rootfs.bin IMAGE/kernel.bin := append-loader-okli $(1) | check-size 64k IMAGE/rootfs.bin := $$(sysupgrade_bin) | check-size + IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \ + check-size 7744k | append-metadata endef define Device/hootoo_ht-tm05 -- 2.30.2