Browse Source

tools/firmware-utils: mktplinkfw2: add Qualcomm layouts

This commit adds the partition layout used by the TP-Link Archer D50
and probably by the TP-Link Archer D7 to mktplinkfw2.

Signed-off-by: Davide Fioravanti <[email protected]>
Davide Fioravanti 6 years ago
parent
commit
c349cc5752
1 changed files with 12 additions and 0 deletions
  1. 12 0
      tools/firmware-utils/src/mktplinkfw2.c

+ 12 - 0
tools/firmware-utils/src/mktplinkfw2.c

@@ -158,6 +158,18 @@ static struct flash_layout layouts[] = {
 		.kernel_la	= 0x80000000,
 		.kernel_ep	= 0x80000000,
 		.rootfs_ofs	= 0x140000,
+	}, {
+		.id             = "8Mqca",
+		.fw_max_len     = 0x7a0000,
+		.kernel_la      = 0x80060000,
+		.kernel_ep      = 0x80060000,
+		.rootfs_ofs     = 0x140000,
+	}, {
+		.id             = "16Mqca",
+		.fw_max_len     = 0xf90000,
+		.kernel_la      = 0x80060000,
+		.kernel_ep      = 0x80060000,
+		.rootfs_ofs     = 0x140000,
 	}, {
 		/* terminating entry */
 	}