Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
firmware
FFS Gluon
Commits
13f16ed7
Commit
13f16ed7
authored
Jan 06, 2020
by
Dark4MD
Committed by
David Bauer
Jan 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ramips-mt7620: add support for TP-Link Archer C2 v1
parent
bc570734
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
docs/user/supported_devices.rst
docs/user/supported_devices.rst
+4
-0
package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
+1
-1
targets/ramips-mt7620
targets/ramips-mt7620
+7
-0
No files found.
docs/user/supported_devices.rst
View file @
13f16ed7
...
...
@@ -300,6 +300,10 @@ ramips-mt7620
- WT3020AD/F/H
* TP-Link
- Archer C2 v1
* Xiaomi
- MiWiFi Mini
...
...
package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
View file @
13f16ed7
...
...
@@ -61,7 +61,7 @@ elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then
table.insert
(
try_files
,
1
,
'/sys/class/net/eth0/address'
)
elseif
platform
.
match
(
'mpc85xx'
,
'p1020'
,
{
'ocedo,panda'
})
then
table.insert
(
try_files
,
1
,
'/sys/class/net/eth1/address'
)
elseif
platform
.
match
(
'ramips'
,
'mt7620'
,
{
'miwifi-mini'
})
then
elseif
platform
.
match
(
'ramips'
,
'mt7620'
,
{
'miwifi-mini'
,
'tplink,c2-v1'
})
then
table.insert
(
try_files
,
1
,
'/sys/class/net/eth0/address'
)
elseif
platform
.
match
(
'ramips'
,
'mt7621'
,
{
'dir-860l-b1'
})
then
table.insert
(
try_files
,
1
,
'/sys/class/ieee80211/phy1/macaddress'
)
...
...
targets/ramips-mt7620
View file @
13f16ed7
...
...
@@ -32,6 +32,13 @@ device('nexx-wt3020-8m', 'wt3020-8M', {
})
-- TP-Link
device('tp-link-archer-c2-v1', 'tplink_c2-v1', {
factory = false,
})
-- Xiaomi
device('xiaomi-miwifi-mini', 'miwifi-mini', {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment