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>
This commit is contained in:
Henryk Heisig 2017-05-05 17:07:28 +02:00 committed by Mathias Kresin
parent 063ee9d0bd
commit cfdd3f260e

View File

@ -33,7 +33,9 @@ define Device/ArcherC20i
SUPPORTED_DEVICES := c20i SUPPORTED_DEVICES := c20i
KERNEL := $(KERNEL_DTB) KERNEL := $(KERNEL_DTB)
KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC20i -c 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 IMAGE/sysupgrade.bin := append-kernel | tplink-header ArcherC20i -j | append-metadata
IMAGES += factory.bin
DEVICE_TITLE := TP-Link ArcherC20i DEVICE_TITLE := TP-Link ArcherC20i
endef endef
TARGET_DEVICES += ArcherC20i TARGET_DEVICES += ArcherC20i
@ -43,7 +45,9 @@ define Device/ArcherC50
SUPPORTED_DEVICES := c50 SUPPORTED_DEVICES := c50
KERNEL := $(KERNEL_DTB) KERNEL := $(KERNEL_DTB)
KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC50 -c 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 IMAGE/sysupgrade.bin := append-kernel | tplink-header ArcherC50 -j | append-metadata
IMAGES += factory.bin
DEVICE_TITLE := TP-Link ArcherC50 DEVICE_TITLE := TP-Link ArcherC50
endef endef
TARGET_DEVICES += ArcherC50 TARGET_DEVICES += ArcherC50