diff options
author | Davide Fioravanti <pantanastyle@gmail.com> | 2019-05-05 22:21:44 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-05-18 17:59:49 +0200 |
commit | c349cc5752165c65d4133374755f07fc30004e74 (patch) | |
tree | f56645c2959d806c5e4ee4c438af3c9d7ccc7438 | |
parent | aee5c9861996983394ac49f91a831c4641a4bf83 (diff) | |
download | upstream-c349cc5752165c65d4133374755f07fc30004e74.tar.gz upstream-c349cc5752165c65d4133374755f07fc30004e74.tar.bz2 upstream-c349cc5752165c65d4133374755f07fc30004e74.zip |
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>
-rw-r--r-- | tools/firmware-utils/src/mktplinkfw2.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ -159,6 +159,18 @@ static struct flash_layout layouts[] = { .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 */ } }; |