[source] ramips: ZyXEL Keenetic Omni align factory images

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 20 01:00:58 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/65985e9aced42c86d11c98776fe9d73ca427a2ae

commit 65985e9aced42c86d11c98776fe9d73ca427a2ae
Author: Vitaly Chekryzhev <13hakta at gmail.com>
AuthorDate: Thu Jan 5 16:23:07 2017 +0500

    ramips: ZyXEL Keenetic Omni align factory images
    
    ZyXEL web-flasher requires squashfs to be aligned to 64kb.
    
    Signed-off-by: Vitaly Chekryzhev <13hakta at gmail.com>
---
 target/linux/ramips/image/mt7620.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 42e0ab6..d2a4ad7 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



More information about the lede-commits mailing list