[source] ramips: add factory firmware for Tp-Link C20i/C50
LEDE Commits
lede-commits at lists.infradead.org
Sat May 6 01:50:54 PDT 2017
mkresin pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/86196830371c07c2b5721002f2ad500ca893076e
commit 86196830371c07c2b5721002f2ad500ca893076e
Author: Henryk Heisig <hyniu at o2.pl>
AuthorDate: Fri May 5 17:07:28 2017 +0200
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 at o2.pl>
---
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 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
More information about the lede-commits
mailing list