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>
This commit is contained in:
Russell Morris 2021-07-29 22:19:45 -05:00 committed by Chuanhong Guo
parent b71c870caa
commit 1d6e594aa0

View File

@ -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