aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-28 18:30:17 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-30 00:36:59 +0200
commit2bd1cf92e97f2b4b9e8ae87d2c662d92f7791ab4 (patch)
tree205fc87c5388516c9c2341c2433139b01494fbe0 /target/linux/ar71xx
parentc963e4267b916fa3b074b5ae1f5b5d2b9fc0af68 (diff)
downloadupstream-2bd1cf92e97f2b4b9e8ae87d2c662d92f7791ab4.tar.gz
upstream-2bd1cf92e97f2b4b9e8ae87d2c662d92f7791ab4.tar.bz2
upstream-2bd1cf92e97f2b4b9e8ae87d2c662d92f7791ab4.zip
ar71xx: fix splitting firmware partition for TL-WR902AC v1
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> (cherry picked from commit a7b07f8ba880895f0d235a63729dd189cb2410a7)
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/image/generic-tp-link.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/generic-tp-link.mk b/target/linux/ar71xx/image/generic-tp-link.mk
index e9440bd786..0f3f731d17 100644
--- a/target/linux/ar71xx/image/generic-tp-link.mk
+++ b/target/linux/ar71xx/image/generic-tp-link.mk
@@ -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