ramips: Add support to TP-Link Archer MR200
[openwrt/staging/stintel.git] / tools / firmware-utils / src / mktplinkfw2.c
index 92775290f816f95d461829ad9eb55439d54d82f6..3ab5c52ec2a3b26f927fe76f63e4a0fc67f35b45 100644 (file)
@@ -143,12 +143,24 @@ static struct flash_layout layouts[] = {
                .kernel_la      = 0x80002000,
                .kernel_ep      = 0x80002000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "16Mltq",
+               .fw_max_len     = 0xf90000,
+               .kernel_la      = 0x80002000,
+               .kernel_ep      = 0x800061b0,
+               .rootfs_ofs     = 0x140000,
        }, {
                .id             = "8Mmtk",
                .fw_max_len     = 0x7a0000,
                .kernel_la      = 0x80000000,
                .kernel_ep      = 0x80000000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "8MLmtk",
+               .fw_max_len     = 0x7b0000,
+               .kernel_la      = 0x80000000,
+               .kernel_ep      = 0x80000000,
+               .rootfs_ofs     = 0x140000,
        }, {
                /* terminating entry */
        }
@@ -172,6 +184,26 @@ static struct board_info boards[] = {
                .layout_id      = "8Mmtk",
                .hdr_ver        = 3,
                .endian_swap    = true,
+       }, {
+               .id             = "ArcherVR200V",
+               .hw_id          = 0x73b70801,
+               .hw_rev         = 0x2f,
+               .layout_id      = "16Mltq",
+               .hdr_ver        = 2,
+       }, {
+               .id             = "ArcherC50",
+               .hw_id          = 0xc7500001,
+               .hw_rev         = 69,
+               .layout_id      = "8Mmtk",
+               .hdr_ver        = 3,
+               .endian_swap    = true,
+       }, {
+               .id             = "ArcherMR200",
+               .hw_id          = 0xd7500001,
+               .hw_rev         = 0x4a,
+               .layout_id      = "8MLmtk",
+               .hdr_ver        = 3,
+               .endian_swap    = true,
        }, {
                /* terminating entry */
        }