[backfire] tools: backport r23137
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Nov 2011 18:16:57 +0000 (18:16 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Nov 2011 18:16:57 +0000 (18:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@29033 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/firmware-utils/src/mktplinkfw.c

index 4db4bc0a9c6254a7268530ea8d6e79bd67f7eb5b..d32da3743be2470a764791bbde3211062eaaae87 100644 (file)
@@ -33,6 +33,7 @@
 #endif
 
 #define HEADER_VERSION_V1      0x01000000
 #endif
 
 #define HEADER_VERSION_V1      0x01000000
+#define HWID_TL_MR3420_V1      0x34200001
 #define HWID_TL_WR741ND_V1     0x07410001
 #define HWID_TL_WR740N_V1      0x07400001
 #define HWID_TL_WR841N_V1_5    0x08410002
 #define HWID_TL_WR741ND_V1     0x07410001
 #define HWID_TL_WR740N_V1      0x07400001
 #define HWID_TL_WR841N_V1_5    0x08410002
@@ -110,6 +111,14 @@ char md5salt_boot[MD5SUM_LEN] = {
 
 static struct board_info boards[] = {
        {
 
 static struct board_info boards[] = {
        {
+               .id             = "TL-MR3420v1",
+               .hw_id          = HWID_TL_MR3420_V1,
+               .hw_rev         = 1,
+               .fw_max_len     = 0x3c0000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x140000,
+       }, {
                .id             = "TL-WR741NDv1",
                .hw_id          = HWID_TL_WR741ND_V1,
                .hw_rev         = 1,
                .id             = "TL-WR741NDv1",
                .hw_id          = HWID_TL_WR741ND_V1,
                .hw_rev         = 1,