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 <pantanastyle@gmail.com>
This commit is contained in:
Davide Fioravanti 2019-05-05 22:21:44 +02:00 committed by Christian Lamparter
parent aee5c98619
commit c349cc5752

View File

@ -158,6 +158,18 @@ static struct flash_layout layouts[] = {
.kernel_la = 0x80000000, .kernel_la = 0x80000000,
.kernel_ep = 0x80000000, .kernel_ep = 0x80000000,
.rootfs_ofs = 0x140000, .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 */ /* terminating entry */
} }