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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
darkbit
ffbs-gluon
Commits
5ef3d883
Unverified
Commit
5ef3d883
authored
8 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
ar71xx-generic: backport region code support for TP-Link TL-WR841ND v11
parent
60b4830c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
patches/openwrt/0076-ar71xx-generate-region-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch
+26
-0
26 additions, 0 deletions
...ion-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch
targets/ar71xx-generic/profiles.mk
+6
-2
6 additions, 2 deletions
targets/ar71xx-generic/profiles.mk
with
32 additions
and
2 deletions
patches/openwrt/0076-ar71xx-generate-region-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch
0 → 100644
+
26
−
0
View file @
5ef3d883
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Fri, 11 Nov 2016 03:29:59 +0100
Subject: ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11
The latest stock firmwares for US and EU regions have started checking the
region code.
Tested-by: Andreas Ziegler <ml@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of LEDE 9cac5e8be014b89326880ae5d7b885013614e0ca
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 9ac1d60..6346eb9 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -602,6 +602,9 @@
define Device/tl-wr841n-v11
BOARDNAME := TL-WR841N-v11
DEVICE_PROFILE := TLWR841
TPLINK_HWID := 0x08410011
+ IMAGES += factory-us.bin factory-eu.bin
+ IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
+ IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
endef
define Device/tl-wr842n-v2
This diff is collapsed.
Click to expand it.
targets/ar71xx-generic/profiles.mk
+
6
−
2
View file @
5ef3d883
...
...
@@ -70,7 +70,7 @@ ifneq ($(BROKEN),)
$(eval $(call GluonModel,TLWA801,tl-wa801nd-v3,tp-link-tl-wa801n-nd-v3)) # BROKEN
:
untested
endif
# TL-WR841N/ND v3, v5, v7, v8, v9, v10
, v11
# TL-WR841N/ND v3, v5, v7, v8, v9, v10
$(
eval
$(
call GluonProfile,TLWR841
))
$(
eval
$(
call GluonModel,TLWR841,tl-wr841nd-v3,tp-link-tl-wr841n-nd-v3
))
$(
eval
$(
call GluonModel,TLWR841,tl-wr841nd-v5,tp-link-tl-wr841n-nd-v5
))
...
...
@@ -78,7 +78,11 @@ $(eval $(call GluonModel,TLWR841,tl-wr841nd-v7,tp-link-tl-wr841n-nd-v7))
$(
eval
$(
call GluonModel,TLWR841,tl-wr841n-v8,tp-link-tl-wr841n-nd-v8
))
$(
eval
$(
call GluonModel,TLWR841,tl-wr841n-v9,tp-link-tl-wr841n-nd-v9
))
$(
eval
$(
call GluonModel,TLWR841,tl-wr841n-v10,tp-link-tl-wr841n-nd-v10
))
$(
eval
$(
call GluonModel,TLWR841,tl-wr841n-v11,tp-link-tl-wr841n-nd-v11
))
# TL-WR841N/ND v11
$(
eval
$(
call GluonProfile,TLWR841_REGION,,TLWR841
))
$(
eval
$(
call GluonModel,TLWR841_REGION,tl-wr841n-v11,tp-link-tl-wr841n-nd-v11
))
$(
eval
$(
call GluonProfileFactorySuffix,TLWR841_REGION,-squashfs-factory
$(
if
$(
GLUON_REGION
)
,-
$(
GLUON_REGION
))
,.bin
))
# TL-WR842N/ND v1, v2
$(
eval
$(
call GluonProfile,TLWR842
))
...
...
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