aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-13 07:29:03 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-13 07:29:03 +0000
commit5f00ace3c25e4988e94ebfc2b12b3e978bf7d4eb (patch)
treefd70fef676c70c0582cec465b465888ea1514358 /target/linux
parent9d5f884a09e6b612ac2695c2f4fe184b1a0a6c6d (diff)
downloadupstream-5f00ace3c25e4988e94ebfc2b12b3e978bf7d4eb.tar.gz
upstream-5f00ace3c25e4988e94ebfc2b12b3e978bf7d4eb.tar.bz2
upstream-5f00ace3c25e4988e94ebfc2b12b3e978bf7d4eb.zip
ar71xx: Add user-space support for TP-Link MR12U v1
This patch adds user-space support for the TL-MR12U board based on the mr13u patches. Signed-off-by: Daniel Petre <daniel.petre@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44426 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh1
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index aca94fa5bd..3cbf7fbd5e 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -237,6 +237,7 @@ get_status_led() {
archer-c7 | \
tl-wdr4900-v2 | \
tl-mr10u | \
+ tl-mr12u | \
tl-mr13u | \
tl-wdr4300 | \
tl-wr703n | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 706cb7f345..efc212ecc7 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -319,6 +319,7 @@ rb-sxt2n |\
rb-sxt5n |\
tl-mr10u |\
tl-mr11u |\
+tl-mr12u |\
tl-mr13u |\
tl-mr3020 |\
tl-mr3040 |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 99e44672fe..6247f86fb0 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -180,6 +180,9 @@ tplink_board_detect() {
"001101"*)
model="TP-Link TL-MR11U"
;;
+ "001201"*)
+ model="TP-Link TL-MR12U"
+ ;;
"001301"*)
model="TP-Link TL-MR13U"
;;
@@ -726,6 +729,9 @@ ar71xx_board_detect() {
*"TL-MR11U")
name="tl-mr11u"
;;
+ *"TL-MR12U")
+ name="tl-mr12u"
+ ;;
*"TL-MR13U")
name="tl-mr13u"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index d2a7d8e58f..f81c0ff72e 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -302,6 +302,7 @@ platform_check_image() {
smart-300 | \
tl-mr10u | \
tl-mr11u | \
+ tl-mr12u | \
tl-mr13u | \
tl-mr3020 | \
tl-mr3040 | \