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 d49f62d1a4)
Link: https://github.com/openwrt/openwrt/pull/22867
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen Penev 2026-04-06 11:57:03 -07:00 committed by Robert Marko
parent f70631c2bb
commit d745c232d3

View File

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