aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Chekryzhev <13hakta@gmail.com>2017-01-05 16:23:07 +0500
committerJohn Crispin <john@phrozen.org>2017-01-20 00:39:30 +0100
commit65985e9aced42c86d11c98776fe9d73ca427a2ae (patch)
tree2694aed71bcbcebc9199ef3592023ad8c1bb62b7
parentf9d91a4ac77d7914395ce44b1cfb30064d4c4c9b (diff)
downloadupstream-65985e9aced42c86d11c98776fe9d73ca427a2ae.tar.gz
upstream-65985e9aced42c86d11c98776fe9d73ca427a2ae.tar.bz2
upstream-65985e9aced42c86d11c98776fe9d73ca427a2ae.zip
ramips: ZyXEL Keenetic Omni align factory images
ZyXEL web-flasher requires squashfs to be aligned to 64kb. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
-rw-r--r--target/linux/ramips/image/mt7620.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 42e0ab63c2..d2a4ad7502 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -448,7 +448,7 @@ define Device/kn_rc
DEVICE_TITLE := ZyXEL Keenetic Omni
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
IMAGES += factory.bin
- IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | check-size $$$$(IMAGE_SIZE) | \
+ IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \
zyimage -d 4882 -v "ZyXEL Keenetic Omni"
endef
TARGET_DEVICES += kn_rc
@@ -458,7 +458,7 @@ define Device/kn_rf
DEVICE_TITLE := ZyXEL Keenetic Omni II
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
IMAGES += factory.bin
- IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | check-size $$$$(IMAGE_SIZE) | \
+ IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \
zyimage -d 2102034 -v "ZyXEL Keenetic Omni II"
endef
TARGET_DEVICES += kn_rf