summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2017-05-05 17:07:28 +0200
committerMathias Kresin <dev@kresin.me>2017-05-05 20:00:57 +0200
commit86196830371c07c2b5721002f2ad500ca893076e (patch)
tree2673f2e5eb20dffc6a9570424d464b5fe87b4c79 /target/linux/ramips
parentd90ff22c8c4f9fb92487115d9c2bbdcaee2cab5f (diff)
downloadmtk-20170518-86196830371c07c2b5721002f2ad500ca893076e.zip
mtk-20170518-86196830371c07c2b5721002f2ad500ca893076e.tar.gz
mtk-20170518-86196830371c07c2b5721002f2ad500ca893076e.tar.bz2
ramips: add factory firmware for Tp-Link C20i/C50
TP-Link firmware doesn't accept sysupgrade.bin with metadata. Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/image/mt7620.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 42745c4..e27c405 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -37,7 +37,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
@@ -47,7 +49,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