mktplinkfw2: Add 16MLmtk layout master
authorSergii Shcherbakov <shchers@gmail.com>
Mon, 20 Jan 2025 19:30:02 +0000 (20:30 +0100)
committerSergii Shcherbakov <shchers@gmail.com>
Mon, 20 Jan 2025 19:30:02 +0000 (20:30 +0100)
This layout is used by MERCUSYS MB130-4G which bootloader is based on
TP-Link MR200/MR400 source code, but has bigger flash.

Signed-off-by: Sergii Shcherbakov <shchers@gmail.com>
src/mktplinkfw2.c

index 82c83a60edf6266a132b91f3ee64e323cdab0d3b..1255a39a82260c68d3b54af22cf943da31a53f30 100644 (file)
@@ -149,6 +149,12 @@ static struct flash_layout layouts[] = {
                .kernel_la      = 0x80000000,
                .kernel_ep      = 0x80000000,
                .rootfs_ofs     = 0x140000,
+       }, {
+               .id             = "16MLmtk",
+               .fw_max_len     = 0xe90000,
+               .kernel_la      = 0x80000000,
+               .kernel_ep      = 0x80000000,
+               .rootfs_ofs     = 0x140000,
        }, {
                .id             = "16Mmtk",
                .fw_max_len     = 0xfa0000,