ar71xx: fix splitting firmware partition for TL-WR902AC v1
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 28 May 2020 16:30:17 +0000 (18:30 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 29 May 2020 22:35:24 +0000 (00:35 +0200)
The -O option for the tplink-v1-header was missing for the TP-Link
TL-WR902AC v1, while safeloader and MTDPARTS where set up with a
single firmware partition.

This led to bootloops after using sysupgrade.

Fixes: FS#3118
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ar71xx/image/generic-tp-link.mk

index 3b8659d1d6b136db7031e96f667ea6fad08f8b8d..dac5ad2850e2a63cd6b6a3e9e9c9dcacc9ac7215 100644 (file)
@@ -525,6 +525,8 @@ define Device/tl-wr902ac-v1
   SUPPORTED_DEVICES := tl-wr902ac-v1
   IMAGE_SIZE := 7360k
   MTDPARTS := spi0.0:128k(u-boot)ro,7360k(firmware),640k(tplink)ro,64k(art)ro
+  KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
+  KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
 endef
 TARGET_DEVICES += tl-wr902ac-v1