summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Zammit2024-07-25 04:21:17 +0000
committerChristian Marangi2024-10-03 11:21:34 +0000
commit5192cf9063d669b23a3d1ede532d85af365eb073 (patch)
tree848c5b04675d8e1f01fd1a45bf70d37ae4af1232
parented9c97fa3305c70cf08f9b11869cafdae5ea5068 (diff)
mktplinkfw2: Add 16Mmtk layout
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>
-rw-r--r--src/mktplinkfw2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mktplinkfw2.c b/src/mktplinkfw2.c
index e00e13c..82c83a6 100644
--- a/src/mktplinkfw2.c
+++ b/src/mktplinkfw2.c
@@ -150,6 +150,12 @@ static struct flash_layout layouts[] = {
.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,
.kernel_la = 0x80000000,