[PATCH 3/4] openwrt: tp-link region code for wr841-v11

Tim Niemeyer tim at tn-x.org
Fr Jan 6 14:15:57 CET 2017


Fixes #16

Signed-off-by: Tim Niemeyer <tim at tn-x.org>
---

 build_patches/openwrt/0007-use-EU-code.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/build_patches/openwrt/0007-use-EU-code.patch b/build_patches/openwrt/0007-use-EU-code.patch
index 7088d48..1632bdb 100644
--- a/build_patches/openwrt/0007-use-EU-code.patch
+++ b/build_patches/openwrt/0007-use-EU-code.patch
@@ -19,3 +19,13 @@ index a8073f2..5f0df54 100644
  		-k $@ \
  		-o $@.new \
  		-s -S \
+@@ -589,6 +598,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-eu.bin := append-rootfs | mktplinkfw factory -C EU
++    IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
+ endef
+ 
+ define Device/tl-wr842n-v2
-- 
2.1.4



Mehr Informationen über die Mailingliste franken-dev