diff options
| author | Rosen Penev | 2026-04-04 23:34:16 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-04-10 14:28:39 +0000 |
| commit | f70631c2bbab3ab80c106b4295d50fd9d9c4d496 (patch) | |
| tree | 74c9b40938e3e955f4d5005b8bf645a3b8f070a0 | |
| parent | c85f123d297b516a54e9ec69ca14051c7ead9e82 (diff) | |
| download | openwrt-f70631c2bbab3ab80c106b4295d50fd9d9c4d496.tar.gz | |
ath79: wndap360: use lzma-loader for kernel
The bootloader on this device is old and supports no lzma. So use
lzma-loader to work around this and get the size smaller so that an
image can actuallly be created and flashed. Because of these size
problems, the last usable version of OpenWrt was 23.05.
This UIMAGE_MAGIC seems to be used by other Netgear devices. Add to
avoid
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000000: 0x2705 instead
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22769
(cherry picked from commit 60383c5d6b2064e3dae1105c1aa7123aaffdf8a9)
Link: https://github.com/openwrt/openwrt/pull/22867
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/ath79/image/generic.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index 982a131ca7..a596d66424 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -2237,8 +2237,9 @@ define Device/netgear_wndap360 DEVICE_PACKAGES := kmod-owl-loader IMAGE_SIZE := 7744k BLOCKSIZE := 256k - KERNEL := kernel-bin | append-dtb | gzip | uImage gzip - KERNEL_INITRAMFS := kernel-bin | append-dtb | uImage none + 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 |