Add support for Archer C60 v1/v2

Signed-off-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Fabian Bläse 2018-09-30 09:56:00 +02:00
parent 52b573ab08
commit b93f6d7d6a
5 changed files with 35 additions and 5 deletions

View File

@ -8,6 +8,10 @@ CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_gl-ar150=y
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_gl-ar150=""
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_archer-c25-v1=y
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_archer-c25-v1="-kmod-ath10k kmod-ath10k-ct"
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_archer-c60-v1=y
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_archer-c60-v1=""
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_archer-c60-v2=y
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_archer-c60-v2=""
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_archer-c7-v2=y
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_archer-c7-v2="-kmod-ath10k kmod-ath10k-ct"
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_cpe210-220-v1=y

View File

@ -35,4 +35,6 @@ images=("openwrt-${chipset}-${subtarget}-cpe210-220-v1-squashfs-sysupgrade.bin"
"openwrt-${chipset}-${subtarget}-tl-wdr4310-v1-squashfs-sysupgrade.bin"
"openwrt-${chipset}-${subtarget}-archer-c7-v2-squashfs-sysupgrade.bin"
"openwrt-${chipset}-${subtarget}-archer-c25-v1-squashfs-sysupgrade.bin"
"openwrt-${chipset}-${subtarget}-archer-c60-v1-squashfs-sysupgrade.bin"
"openwrt-${chipset}-${subtarget}-archer-c60-v2-squashfs-sysupgrade.bin"
)

View File

@ -1,12 +1,12 @@
From a90784d1eb5eff968d6d2ced5c33b980dcfe40d0 Mon Sep 17 00:00:00 2001
From 9411f7a293f0f6e7db5141791b1f9265f136a8cf Mon Sep 17 00:00:00 2001
From: Tim Niemeyer <tim@tn-x.org>
Date: Mon, 6 Aug 2018 18:39:04 +0200
Subject: [PATCH] allow building all devives as tiny
---
target/linux/ar71xx/image/Makefile | 5 +++++
target/linux/ar71xx/tiny/config-default | 14 ++++++++++++++
2 files changed, 19 insertions(+)
target/linux/ar71xx/tiny/config-default | 16 ++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 1eaf1e457c..602323bba2 100644
@ -25,15 +25,17 @@ index 1eaf1e457c..602323bba2 100644
ifeq ($(SUBTARGET),nand)
include ./nand.mk
diff --git a/target/linux/ar71xx/tiny/config-default b/target/linux/ar71xx/tiny/config-default
index 2e9031a24c..fa62b41047 100644
index 2e9031a24c..02836de067 100644
--- a/target/linux/ar71xx/tiny/config-default
+++ b/target/linux/ar71xx/tiny/config-default
@@ -70,3 +70,17 @@ CONFIG_SOC_AR933X=y
@@ -70,3 +70,19 @@ CONFIG_SOC_AR933X=y
CONFIG_SOC_AR934X=y
CONFIG_SOC_QCA953X=y
CONFIG_SOC_QCA956X=y
+# FFF
+CONFIG_ATH79_MACH_ARCHER_C25_V1=y
+CONFIG_ATH79_MACH_ARCHER_C60_V1=y
+CONFIG_ATH79_MACH_ARCHER_C60_V2=y
+CONFIG_ATH79_MACH_ARCHER_C7=y
+CONFIG_ATH79_MACH_CPE510=y
+CONFIG_ATH79_MACH_GL_AR150=y

View File

@ -0,0 +1,11 @@
PORTORDER="4 3 2 1"
WANDEV=eth0
SWITCHDEV=eth1
CLIENT_PORTS="1 2 0t"
WAN_PORTS=""
BATMAN_PORTS="3 4 0t"
CPUPORT="0t"
ETHMESHMAC=$(cat /sys/class/net/eth1/address)
ROUTERMAC=$(cat /sys/class/net/eth0/address)

View File

@ -0,0 +1,11 @@
PORTORDER="4 3 2 1"
WANDEV=eth0
SWITCHDEV=eth1
CLIENT_PORTS="1 2 0t"
WAN_PORTS=""
BATMAN_PORTS="3 4 0t"
CPUPORT="0t"
ETHMESHMAC=$(cat /sys/class/net/eth1/address)
ROUTERMAC=$(cat /sys/class/net/eth0/address)