From: David Bauer Date: Mon, 31 Dec 2018 15:24:24 +0000 (+0100) Subject: tools: mktplinkfw2: add split-uboot layout X-Git-Tag: v19.07.0-rc1~1476 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36a091cb076dda891e3b41ae3080f858f88697c3;p=oweals%2Fopenwrt.git 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 --- 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 @@ -146,6 +146,12 @@ static struct flash_layout layouts[] = { .kernel_la = 0x80000000, .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,