From 57d3874b365ab2f72fd6aacfca17640f07510dcc Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Mon, 4 Jun 2018 20:16:18 -0400 Subject: [PATCH] Add Archer C7 V2 support (still needs replacement wifi card). Use at own riskgit status! --- target/linux/ar71xx/image/tp-link.mk | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk index 9d3af61289..d952e952f4 100644 --- a/target/linux/ar71xx/image/tp-link.mk +++ b/target/linux/ar71xx/image/tp-link.mk @@ -224,7 +224,29 @@ define Device/archer-c7-v1 TPLINK_HWID := 0x75000001 endef -TARGET_DEVICES += archer-c7-v1 +define Device/archer-c7-v2 + $(Device/tplink-16mlzma) + DEVICE_TITLE := TP-LINK Archer C7 v2 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport + BOARDNAME := ARCHER-C7-V2 + DEVICE_PROFILE := ARCHERC7 + TPLINK_HWID := 0xc7000002 + IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin + IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US + IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU +endef + +define Device/archer-c7-v2-il + $(Device/tplink-16mlzma) + DEVICE_TITLE := TP-LINK Archer C7 v2 IL + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport + BOARDNAME := ARCHER-C7-V2 + DEVICE_PROFILE := ARCHERC7 + TPLINK_HWID := 0xc7000002 + TPLINK_HWREV := 0x494c0001 +endef + +TARGET_DEVICES += archer-c7-v1 archer-c7-v2 archer-c7-v2-il define Device/tl-mr10u-v1 $(Device/tplink-4mlzma) -- 2.25.1