From cfdd3f260e13d78feb232831c220e190e927c290 Mon Sep 17 00:00:00 2001 From: Henryk Heisig Date: Fri, 5 May 2017 17:07:28 +0200 Subject: [PATCH] ramips: add factory firmware for Tp-Link C20i/C50 TP-Link firmware doesn't accept sysupgrade.bin with metadata. Signed-off-by: Henryk Heisig --- target/linux/ramips/image/mt7620.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 71b651cda641..f0710e68afdd 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -33,7 +33,9 @@ define Device/ArcherC20i SUPPORTED_DEVICES := c20i KERNEL := $(KERNEL_DTB) KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC20i -c + IMAGE/factory.bin := append-kernel | tplink-header ArcherC20i -j IMAGE/sysupgrade.bin := append-kernel | tplink-header ArcherC20i -j | append-metadata + IMAGES += factory.bin DEVICE_TITLE := TP-Link ArcherC20i endef TARGET_DEVICES += ArcherC20i @@ -43,7 +45,9 @@ define Device/ArcherC50 SUPPORTED_DEVICES := c50 KERNEL := $(KERNEL_DTB) KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC50 -c + IMAGE/factory.bin := append-kernel | tplink-header ArcherC50 -j IMAGE/sysupgrade.bin := append-kernel | tplink-header ArcherC50 -j | append-metadata + IMAGES += factory.bin DEVICE_TITLE := TP-Link ArcherC50 endef TARGET_DEVICES += ArcherC50 -- 2.30.2