summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2026-04-06 18:57:03 +0000
committerRobert Marko2026-04-10 14:28:40 +0000
commitd745c232d3f9df8d719a6e0fb1656a52aadf59bc (patch)
tree8b2a8e467be92ae3db1bb5744db08014be019c02
parentf70631c2bbab3ab80c106b4295d50fd9d9c4d496 (diff)
downloadopenwrt-d745c232d3f9df8d719a6e0fb1656a52aadf59bc.tar.gz
ath79: wndap360: fix sysupgrade
BLOCKSIZE is wrong here. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22769 (cherry picked from commit d49f62d1a4f73cc8607a43b1403229e6759e107f) Link: https://github.com/openwrt/openwrt/pull/22867 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/ath79/image/generic.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index a596d66424..2e17f09dd9 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -2236,13 +2236,12 @@ define Device/netgear_wndap360
DEVICE_MODEL := WNDAP360
DEVICE_PACKAGES := kmod-owl-loader
IMAGE_SIZE := 7744k
- BLOCKSIZE := 256k
LOADER_TYPE := bin
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | uImage none
KERNEL_INITRAMFS := $$(KERNEL)
IMAGES := sysupgrade.bin
- IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-rootfs | pad-rootfs | \
- check-size | append-metadata
+ IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
+ append-rootfs | pad-rootfs | check-size | append-metadata
endef
TARGET_DEVICES += netgear_wndap360