From 97e4ddd012546ecaf5dea609af784e339408e502 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 31 Jan 2012 18:37:01 +0000 Subject: ar71xx: add support for TP-Link TL-MR11U Adds support for TL-MR11U, a portable router with very similar hardware to the TL-WR703N and TL-MR3020, but with an onboard 2000mAh battery. Tested, working: All interfaces (Ethernet, 802.11n, USB) WPS & Reset switches (Power appears to be a hardware slider) Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled) Sysupgrade [juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch breakage] Signed-off-by: Simon Taylor SVN-Revision: 29972 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 ++++++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 6761382743..9f117225f1 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -100,6 +100,9 @@ tplink_board_detect() { "254300"*) model="TP-Link TL-WR2543N/ND" ;; + "110101"*) + model="TP-Link TL-MR11U" + ;; "302000"*) model="TP-Link TL-MR3020" ;; @@ -292,6 +295,9 @@ ar71xx_board_detect() { *"TL-WR703N v1") name="tl-wr703n" ;; + *"TL-MR11U") + name="tl-mr11u" + ;; *UniFi) name="unifi" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d07b7823ad..49df3c3966 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -122,6 +122,7 @@ platform_check_image() { } return 0 ;; + tl-mr11u | \ tl-mr3020 | \ tl-mr3220 | \ tl-mr3420 | \ -- cgit v1.2.3