From: Davide Fioravanti Date: Sun, 5 May 2019 20:21:44 +0000 (+0200) Subject: tools/firmware-utils: mktplinkfw2: add Qualcomm layouts X-Git-Tag: v19.07.0-rc1~609 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c349cc5752165c65d4133374755f07fc30004e74;p=openwrt%2Fstaging%2Fhauke.git 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 --- diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src/mktplinkfw2.c index 35db848bba..102d72b1cc 100644 --- a/tools/firmware-utils/src/mktplinkfw2.c +++ b/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 */ }