<div dir="ltr">This patch is useless now.We don't need to change mktplinkfw.c .The flash layout is defined in target/linux/ar71xx/image/Makefile :-D</div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-11 22:49 GMT+08:00 Daniel Petre <span dir="ltr"><<a href="mailto:daniel.petre@gmail.com" target="_blank">daniel.petre@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch adds support for the TL-MR12U board.<br>
<br>
Signed-off-by: Daniel Petre <<a href="mailto:daniel.petre@gmail.com">daniel.petre@gmail.com</a>><br>
<br>
Index: trunk/tools/firmware-utils/src/mktplinkfw.c<br>
===================================================================<br>
--- trunk/tools/firmware-utils/src/mktplinkfw.c (revision 44381)<br>
+++ trunk/tools/firmware-utils/src/mktplinkfw.c (working copy)<br>
@@ -33,6 +33,7 @@<br>
 #define HWID_GL_INET_V1                0x08000001<br>
 #define HWID_GS_OOLITE_V1      0x3C000101<br>
 #define HWID_TL_MR10U_V1       0x00100101<br>
+#define HWID_TL_MR12U_V1       0x00120101<br>
 #define HWID_TL_MR13U_V1       0x00130101<br>
 #define HWID_TL_MR3020_V1      0x30200001<br>
 #define HWID_TL_MR3220_V1      0x32200001<br>
@@ -220,6 +221,11 @@<br>
                .hw_rev         = 1,<br>
                .layout_id      = "4Mlzma",<br>
        }, {<br>
+               .id             = "TL-MR12Uv1",<br>
+               .hw_id          = HWID_TL_MR12U_V1,<br>
+               .hw_rev         = 1,<br>
+               .layout_id      = "4Mlzma",<br>
+       }, {<br>
                .id             = "TL-MR13Uv1",<br>
                .hw_id          = HWID_TL_MR13U_V1,<br>
                .hw_rev         = 1,<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div>