Archer C7 v2 DSA

What do I need to do to port my device from swconfig to DSA? Is it mostly trial and error, or is there some structured logic to get it working?

Here's the board as of 21.02-rc4:

{
	"model": {
		"id": "tplink,archer-c7-v2",
		"name": "TP-Link Archer C7 v2"
	},
	"switch": {
		"switch0": {
			"enable": true,
			"reset": true,
			"ports": [
				{
					"num": 0,
					"device": "eth1",
					"need_tag": false,
					"want_untag": false
				},
				{
					"num": 2,
					"role": "lan"
				},
				{
					"num": 3,
					"role": "lan"
				},
				{
					"num": 4,
					"role": "lan"
				},
				{
					"num": 5,
					"role": "lan"
				},
				{
					"num": 6,
					"device": "eth0",
					"need_tag": false,
					"want_untag": false
				},
				{
					"num": 1,
					"role": "wan"
				}
			],
			"roles": [
				{
					"role": "lan",
					"ports": "2 3 4 5 0t",
					"device": "eth1.1"
				},
				{
					"role": "wan",
					"ports": "1 6t",
					"device": "eth0.2"
				}
			]
		}
	},
	"network": {
		"lan": {
			"device": "eth1.1",
			"protocol": "static"
		},
		"wan": {
			"device": "eth0.2",
			"protocol": "dhcp"
		}
	}
}

PR4036 with movment to other targets, see ATH79 in last post

1 Like

Seems like some solid progress there. Nearing completion by the looks of things.

For ar79 platform, esp Archer C7-v?, see this PR. Seems mostly working, just a few kinks to iron out for outliers.