Topic: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

Wiki page (http://wiki.openwrt.org/toh/tp-link/tl-mr12u) was recently updated with OpenWRT bootlog, soI assume that the router has support for OpenWRT now.

It would be nice if the person who managed to run OpenWRT on TL-MR12U can share details of his/her work, like publishing a patch to add support for this router in trunc.

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

Pcb photos of TP-Link TL-MR12U
http://translate.google.com.co/translat … ;sandbox=1

http://techbbs.zol.com.cn/gallery-51-16716-7727358.html

3 (edited by bluearcus 2013-09-09 12:58:44)

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

The wiki page update to add the bootlog was done by p1vo...

And the kernel line suggests a build by

cezary@eko.one.pl on Wed Jul 3 21:27:19 CEST 2013

I'd love to know that this model is supported too... it fits the requirements for a project I would like to do perfectly.

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

It's me. Supported by generic image for MR3040.

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

Just wondered if there were any suggestions for how to install on an MR12U? I've tried various MR3040 images (as above) but all return error messages.

6 (edited by cpjackso 2013-10-05 10:49:05)

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

Just to update this thread - the instructions from obsy are;

obsy wrote:

Just add

$(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLMR12UV1,tl-mr12u-v1,TL-MR3040,ttyATH0,115200,0x00120101,1,4Mlzma))

(this should be all be one line - no linefeeds)

to target/linux/ar71xx/image/Makefile and recompile sources.

I'm going to try this and will update here with results.

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

Any joy with building a working image then?

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

Please, try to build with this set of patches:

diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
index b7d4ec0..b18c364 100644
--- a/target/linux/ar71xx/generic/profiles/tp-link.mk
+++ b/target/linux/ar71xx/generic/profiles/tp-link.mk
@@ -38,6 +38,17 @@ endef
 $(eval $(call Profile,TLMR11U))
 
 
+define Profile/TLMR12U
+    NAME:=TP-LINK TL-MR12U
+    PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR12U/Description
+    Package set optimized for the TP-LINK TL-MR12U.
+endef
+$(eval $(call Profile,TLMR12U))
+
+
 define Profile/TLMR13U
     NAME:=TP-LINK TL-MR13U
     PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index a1b53bc..4d1ba18 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -910,6 +910,7 @@ $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,ARCHERC7,archer-c7-v1,ARCHER-C7,t
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR10U,tl-mr10u-v1,TL-MR10U,ttyATH0,115200,0x00100101,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV1,tl-mr11u-v1,TL-MR11U,ttyATH0,115200,0x00110101,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV2,tl-mr11u-v2,TL-MR11U,ttyATH0,115200,0x00110102,1,4Mlzma))
+$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR12UV1,tl-mr12u-v1,TL-MR3040,ttyATH0,115200,0x00120101,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR13U,tl-mr13u-v1,TL-MR13U,ttyATH0,115200,0x00130101,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR3020,tl-mr3020-v1,TL-MR3020,ttyATH0,115200,0x30200001,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR3040V1,tl-mr3040-v1,TL-MR3040,ttyATH0,115200,0x30400001,1,4Mlzma))
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index 2574678..a7ca728 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -31,6 +31,7 @@
 
 #define HEADER_VERSION_V1    0x01000000
 #define HWID_TL_MR10U_V1    0x00100101
+#define HWID_TL_MR12U_V1    0x00120101
 #define HWID_TL_MR13U_V1    0x00130101
 #define HWID_TL_MR3020_V1    0x30200001
 #define HWID_TL_MR3220_V1    0x32200001
@@ -200,6 +201,11 @@ static struct board_info boards[] = {
         .hw_rev        = 1,
         .layout_id    = "4Mlzma",
     }, {
+        .id        = "TL-MR12Uv1",
+        .hw_id        = HWID_TL_MR12U_V1,
+        .hw_rev        = 1,
+        .layout_id    = "4Mlzma",
+    }, {
         .id        = "TL-MR13Uv1",
         .hw_id        = HWID_TL_MR13U_V1,
         .hw_rev        = 1,

Get raw patch from http://pastebin.com/8MEZ1wpS

I have not tested them as I do not have the TL-MR12U, but I expect this should generate correct firmware file. Use at your own risk.

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

have anyone succeeded with installing openwrt on this one? I wish I could use mine TL-MR12U but everything is in chinese! If the "raw patch" in the previous post works, can someone give me some hints/links about how to do a so called raw patch?

Re: TP-Link TL-MR12U - small router with built-in 5,200 mAh battery

hrr, I have installed Gargoyle (based on OpenWRT) onto my TL-MR12U using the image from obsy (cezary@eko.one.pl) available here:

http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/

which seems to be based on the MR3040 image. I haven't tested it extensively, but it seems to work fine. I believe the TL-MR10U, TL-MR12U, and TL-MR13U images should all be pretty much interchangeable, just with some differences in the headers (and some slight differences in the hardware, like the 3G/Router/AP switch)