Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-gluon
Commits
19e0f795
Commit
19e0f795
authored
5 years ago
by
Dark4MD
Committed by
David Bauer
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ramips-mt7620: add support for TP-Link Archer C50 v1
parent
13f16ed7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/user/supported_devices.rst
+1
-0
1 addition, 0 deletions
docs/user/supported_devices.rst
package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
+1
-1
1 addition, 1 deletion
package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
targets/ramips-mt7620
+9
-0
9 additions, 0 deletions
targets/ramips-mt7620
with
11 additions
and
1 deletion
docs/user/supported_devices.rst
+
1
−
0
View file @
19e0f795
...
...
@@ -303,6 +303,7 @@ ramips-mt7620
* TP-Link
- Archer C2 v1
- Archer C50 v1
* Xiaomi
...
...
This diff is collapsed.
Click to expand it.
package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac
+
1
−
1
View file @
19e0f795
...
...
@@ -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'
,
'tplink,c2-v1'
})
then
elseif
platform
.
match
(
'ramips'
,
'mt7620'
,
{
'miwifi-mini'
,
'tplink,c2-v1'
,
'c50'
})
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'
)
...
...
This diff is collapsed.
Click to expand it.
targets/ramips-mt7620
+
9
−
0
View file @
19e0f795
...
...
@@ -34,10 +34,19 @@ device('nexx-wt3020-8m', 'wt3020-8M', {
-- TP-Link
local tplink_region_suffix = ''
if (env.GLUON_REGION or '') ~= '' then
tplink_region_suffix = '-' .. env.GLUON_REGION
end
device('tp-link-archer-c2-v1', 'tplink_c2-v1', {
factory = false,
})
device('tp-link-archer-c50', 'ArcherC50v1', {
factory = '-squashfs-factory' .. tplink_region_suffix,
})
-- Xiaomi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment