aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-12-31 16:24:24 +0100
committerMathias Kresin <dev@kresin.me>2019-01-26 21:46:32 +0100
commit36a091cb076dda891e3b41ae3080f858f88697c3 (patch)
treea9f0396288259adedd0eae1dbd4db215e3093970
parent53cc74bfa720980f9e0cc3868d3457820f7c202e (diff)
downloadupstream-36a091cb076dda891e3b41ae3080f858f88697c3.tar.gz
upstream-36a091cb076dda891e3b41ae3080f858f88697c3.tar.bz2
upstream-36a091cb076dda891e3b41ae3080f858f88697c3.zip
tools: mktplinkfw2: add split-uboot layout
This commit adds the split-uboot partition layout used by the Archer C50 v4 to mktplinkfw2. Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--tools/firmware-utils/src/mktplinkfw2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src/mktplinkfw2.c
index dead49e7af..35db848bba 100644
--- a/tools/firmware-utils/src/mktplinkfw2.c
+++ b/tools/firmware-utils/src/mktplinkfw2.c
@@ -147,6 +147,12 @@ static struct flash_layout layouts[] = {
.kernel_ep = 0x80000000,
.rootfs_ofs = 0x140000,
}, {
+ .id = "8MSUmtk", /* Split U-Boot OS */
+ .fw_max_len = 0x770000,
+ .kernel_la = 0x80000000,
+ .kernel_ep = 0x80000000,
+ .rootfs_ofs = 0x140000,
+ }, {
.id = "8MLmtk",
.fw_max_len = 0x7b0000,
.kernel_la = 0x80000000,