aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRussell Morris <rmorris@rkmorris.us>2021-07-29 22:19:45 -0500
committerChuanhong Guo <gch981213@gmail.com>2023-06-20 21:23:58 +0800
commit1d6e594aa07547c17904be7e2e92ee6a2447ba33 (patch)
treeb1313e52fcbe2b0da4b62466883b413a5d6a629b /target
parentb71c870caa7288529fec48d4c014069f8449f4fe (diff)
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 <rmorris@rkmorris.us>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/image/mt7620.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 7c2ff740f0..bb06e0d6c8 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