From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-x233.google.com (mail-yk0-x233.google.com [IPv6:2607:f8b0:4002:c07::233]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id EE81021F709 for ; Sat, 5 Dec 2015 03:36:00 -0800 (PST) Received: by ykdr82 with SMTP id r82so149931472ykd.3 for ; Sat, 05 Dec 2015 03:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BnPrl4/jvrWo9WwidcdXKQST4ZKemBwCjENhlbzN8us=; b=w+fXeUs8tVSd3wea8fqvezIRHXcKJ/6I0IfRQq2+7gJ0UkiF9eI2cpNgrDRJJE7XAB bss31S8PfuKiRC8s1syn9EfkYkoSXJr9k14QgVaPHMntOqXuegAPD3NJCQ8a/pMgc7V1 EvDFXQ5CYoJrUZ8OaX9BrbtKTeui3hC4Cb7CwgBA6//JPzGzk8mDDd5U6p+xIALoIGW4 89t06x9R1fUdYQxykOXAeQu1ja38taI52c7SqrHTRlUhDhyNtTQFVWdzKjlltDdRZxbt DcixBQ06rrjOeQikYFgFsjICGk6UZrJTLZ+59uhU3CSEf8pChaIDZ+5OiOhhZNvvH2R6 PTSg== MIME-Version: 1.0 X-Received: by 10.13.225.75 with SMTP id k72mr16317818ywe.48.1449315359392; Sat, 05 Dec 2015 03:35:59 -0800 (PST) Received: by 10.37.210.145 with HTTP; Sat, 5 Dec 2015 03:35:59 -0800 (PST) In-Reply-To: References: Date: Sat, 5 Dec 2015 12:35:59 +0100 Message-ID: From: Dave Taht To: "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 Subject: [Cerowrt-devel] Fwd: [OpenWrt-Devel] [PATCH] [ipq806x] Add initial support for TP-Link Archer C2600 X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 11:36:23 -0000 It seems like it has taken far too long, but more useful, almost hackable hardware seems to be arriving. If only we could just find one 802.11ac wifi maker willing to open their onboard firmware... or find ways to work with those that do have access to it. https://plus.google.com/u/0/100866848340734561931/posts/9MufV2Fq4Ck ---------- Forwarded message ---------- From: Josh Bendavid Date: Sat, Dec 5, 2015 at 5:13 AM Subject: [OpenWrt-Devel] [PATCH] [ipq806x] Add initial support for TP-Link Archer C2600 To: John Crispin Cc: openwrt-devel@lists.openwrt.org From: Josh Bendavid Add initial support for Archer C2600 to Makefiles and profiles. This is sufficient to build a working factory image. Sysupgrade image is not implemented yet. Currently wired network is working, but LED's/buttons/wireless are not. Signed-off-by: Josh Bendavid --- diff --git a/include/image.mk b/include/image.mk index fd5e3f4..9ad2d43 100644 --- a/include/image.mk +++ b/include/image.mk @@ -327,6 +327,16 @@ define Build/netgear-dni mv $@.new $@ endef +define Build/tplink-safe + $(STAGING_DIR_HOST)/bin/tplink-safeloader \ + -B $(TPLINK_BOARD_ID) -V OpenWrt.$(REVISION) \ + -k $(word 1,$^) \ + -r $(word 2,$^) \ + -j \ + -o $@.new + mv $@.new $@ +endef + define Build/fit $(TOPDIR)/scripts/mkits.sh \ -D $(DEVICE_NAME) -o $@.its -k $@ \ diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile index 14cf442..8e6a174 100644 --- a/target/linux/ipq806x/image/Makefile +++ b/target/linux/ipq806x/image/Makefile @@ -85,6 +85,18 @@ define Device/DniImage endef DEVICE_VARS += KERNEL_SIZE NETGEAR_BOARD_ID NETGEAR_HW_ID DEVICE_BLOCK_SIZE DEVICE_PAGE_SIZE +define Device/TpSafeImage + PROFILES += $$(DEVICE_NAME) + FILESYSTEMS := squashfs + KERNEL_SUFFIX := -uImage + KERNEL = kernel-bin | append-dtb | uImage none + KERNEL_NAME := zImage + TPLINK_BOARD_ID := + IMAGES := factory.bin + IMAGE/factory.bin := tplink-safe +endef +DEVICE_VARS += TPLINK_BOARD_ID + define Device/AP148 $(call Device/FitImage) $(call Device/UbiFit) @@ -103,6 +115,15 @@ define Device/AP148-legacy BOARD_NAME := ap148 endef +define Device/C2600 + $(call Device/TpSafeImage) + DEVICE_DTS := qcom-ipq8064-ap148 + BLOCKSIZE := 128KiB + PAGESIZE := 2048 + BOARD_NAME := ap148 + TPLINK_BOARD_ID := C2600 +endef + define Device/DB149 $(call Device/FitImage) DEVICE_DTS := qcom-ipq8064-db149 @@ -121,6 +142,6 @@ define Device/R7500 BOARD_NAME := r7500 endef -TARGET_DEVICES += AP148 AP148-legacy DB149 R7500 +TARGET_DEVICES += AP148 AP148-legacy C2600 DB149 R7500 $(eval $(call BuildImage)) diff --git a/target/linux/ipq806x/profiles/tplink.mk b/target/linux/ipq806x/profiles/tplink.mk index e69de29..d3f5a6c 100644 --- a/target/linux/ipq806x/profiles/tplink.mk +++ b/target/linux/ipq806x/profiles/tplink.mk @@ -0,0 +1,20 @@ +# +# Copyright (c) 2014 The Linux Foundation. All rights reserved. +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/C2600 + NAME:=TP-Link Archer C2600 + PACKAGES:= \ + kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + kmod-usb3 kmod-usb-dwc3-qcom kmod-usb-phy-qcom-dwc3 \ + kmod-ath10k ath10k-firmware-qca99x0 wpad-mini +endef + +define Profile/C2600/Description + Package set for the TP-Link Archer C2600. +endef +$(eval $(call Profile,C2600)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel