aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-09-27 14:54:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-09-27 14:54:02 +0000
commit4cda300019396e5ef6bf4495b7626efe9a761f78 (patch)
tree5d847ec96eb2283cd81731fa184bc0e8937d8b95 /tools/firmware-utils
parent4f50f84bbe3269cee7c101f26cbb7859be87b57f (diff)
downloadupstream-4cda300019396e5ef6bf4495b7626efe9a761f78.tar.gz
upstream-4cda300019396e5ef6bf4495b7626efe9a761f78.tar.bz2
upstream-4cda300019396e5ef6bf4495b7626efe9a761f78.zip
firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23137 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index 92e5be081c..ced79e1cc0 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -33,6 +33,7 @@
#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
@@ -117,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,