X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c43902582ab5914e6e70a8e4e7301890ab0ef61d..87689d10643ebdbf0c4c2556247cc0be2e42967c:/tools/firmware-utils/src/mktplinkfw.c diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c index b9caa0e6b..ced79e1cc 100644 --- a/tools/firmware-utils/src/mktplinkfw.c +++ b/tools/firmware-utils/src/mktplinkfw.c @@ -33,11 +33,13 @@ #endif #define HEADER_VERSION_V1 0x01000000 +#define HWID_TL_MR3420_V1 0x34200001 #define HWID_TL_WA901ND_V1 0x09010001 #define HWID_TL_WR741ND_V1 0x07410001 #define HWID_TL_WR841N_V1_5 0x08410002 #define HWID_TL_WR841ND_V3 0x08410003 #define HWID_TL_WR841ND_V5 0x08410005 +#define HWID_TL_WR841ND_V7 0x08410007 #define HWID_TL_WR941ND_V2 0x09410002 #define HWID_TL_WR941ND_V4 0x09410004 #define HWID_TL_WR1043ND_V1 0x10430001 @@ -116,6 +118,14 @@ char md5salt_boot[MD5SUM_LEN] = { 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-WA901NDv1", .hw_id = HWID_TL_WA901ND_V1, .hw_rev = 1, @@ -155,6 +165,14 @@ static struct board_info boards[] = { .kernel_la = 0x80060000, .kernel_ep = 0x80060000, .rootfs_ofs = 0x140000, + }, { + .id = "TL-WR841NDv7", + .hw_id = HWID_TL_WR841ND_V7, + .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,