ar71xx: add preliminary support for the TL-WR841ND v5 board
authorGabor Juhos <juhosg@openwrt.org>
Fri, 30 Oct 2009 12:26:25 +0000 (12:26 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 30 Oct 2009 12:26:25 +0000 (12:26 +0000)
SVN-Revision: 18226

target/linux/ar71xx/image/Makefile
tools/firmware-utils/src/mktplinkfw.c

index 577758a3268b024db5fee4e88d12d27f90a9b9e6..dac7ded0167936230e8fcddc94fd79db14b9bd7f 100644 (file)
@@ -345,6 +345,10 @@ define Image/Build/Profile/TLWR841NDV3
        $(call Image/Build/Template/TPLINK/$(1),tl-wr841ndv3,board=TL-WR941ND,TL-WR841NDv3)
 endef
 
+define Image/Build/Profile/TLWR841NDV5
+       $(call Image/Build/Template/TPLINK4K/$(1),tl-wr841ndv5,board=TL-WR741ND,TL-WR841NDv5)
+endef
+
 define Image/Build/Profile/TLWR941NDV2
        $(call Image/Build/Template/TPLINK/$(1),tl-wr941ndv2,board=TL-WR941ND,TL-WR941NDv2)
 endef
@@ -367,6 +371,7 @@ define Image/Build/Profile/Default
        $(call Image/Build/Profile/TEW652BRP,$(1))
        $(call Image/Build/Profile/TLWR741NDV1,$(1))
        $(call Image/Build/Profile/TLWR841NDV3,$(1))
+       $(call Image/Build/Profile/TLWR841NDV5,$(1))
        $(call Image/Build/Profile/TLWR941NDV2,$(1))
        $(call Image/Build/Profile/UBNT,$(1))
        $(call Image/Build/Profile/WP543,$(1))
index 9bb353eb63f0693f536a990936cc53bb2373850a..cb6a59bea395ec1c75388de2d2a2a83f08feb76a 100644 (file)
@@ -35,6 +35,7 @@
 #define HEADER_VERSION_V1      0x01000000
 #define HWID_TL_WR741ND_V1     0x07410001
 #define HWID_TL_WR841ND_V3     0x08410003
+#define HWID_TL_WR841ND_V5     0x08410005
 #define HWID_TL_WR941ND_V2     0x09410002
 
 #define MD5SUM_LEN     16
@@ -119,6 +120,14 @@ static struct board_info boards[] = {
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "TL-WR841NDv5",
+               .hw_id          = HWID_TL_WR841ND_V5,
+               .hw_rev         = 1,
+               .fw_max_len     = 0x3c0000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x140000,
        }, {
                .id             = "TL-WR941NDv2",
                .hw_id          = HWID_TL_WR941ND_V2,