projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53cc74b
)
tools: mktplinkfw2: add split-uboot layout
author
David Bauer
<mail@david-bauer.net>
Mon, 31 Dec 2018 15:24:24 +0000
(16:24 +0100)
committer
Mathias Kresin
<dev@kresin.me>
Sat, 26 Jan 2019 20:46:32 +0000
(21:46 +0100)
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>
tools/firmware-utils/src/mktplinkfw2.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/mktplinkfw2.c
b/tools/firmware-utils/src/mktplinkfw2.c
index dead49e7af8839bac5d1dee7445cf8921208c970..35db848bbab9f8315526dfa24ed351ad58878dde 100644
(file)
--- 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,