mktplinkfw2: Add 16Mmtk layout
authorDamien Zammit <damien@zamaudio.com>
Thu, 25 Jul 2024 04:21:17 +0000 (14:21 +1000)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 3 Oct 2024 11:21:34 +0000 (13:21 +0200)
This supports eg, TP-Link Archer MR200 v6

Signed-off-by: Damien Zammit <damien@zamaudio.com>
Link: https://github.com/openwrt/firmware-utils/pull/34
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
src/mktplinkfw2.c

index e00e13ca5d3dba577dff679f24aa497ae7cc9f69..82c83a60edf6266a132b91f3ee64e323cdab0d3b 100644 (file)
@@ -149,6 +149,12 @@ static struct flash_layout layouts[] = {
                .kernel_la      = 0x80000000,
                .kernel_ep      = 0x80000000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "16Mmtk",
+               .fw_max_len     = 0xfa0000,
+               .kernel_la      = 0x80000000,
+               .kernel_ep      = 0x80000000,
+               .rootfs_ofs     = 0x140000,
        }, {
                .id             = "8MSUmtk", /* Split U-Boot OS */
                .fw_max_len     = 0x770000,