summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:48 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:48 +0000
commit6aae3694c96dbbb4ded67d756c6fd7fc88812d78 (patch)
tree2450ad11aaa7543a613f9844ea2d17ee6cd0dab1
parent02f2e90d5f9071ff3641a8dccfd54ab1354a0c13 (diff)
downloadmtk-20170518-6aae3694c96dbbb4ded67d756c6fd7fc88812d78.zip
mtk-20170518-6aae3694c96dbbb4ded67d756c6fd7fc88812d78.tar.gz
mtk-20170518-6aae3694c96dbbb4ded67d756c6fd7fc88812d78.tar.bz2
firmware-utils/mktplinkfw: add an option to generate 16MiB images
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Patchwork: http://patchwork.openwrt.org/patch/2449/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40034
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index d15ca5b..d92207f 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -187,6 +187,18 @@ static struct flash_layout layouts[] = {
.kernel_ep = 0x80060000,
.rootfs_ofs = 0x100000,
}, {
+ .id = "16M",
+ .fw_max_len = 0xf80000,
+ .kernel_la = 0x80060000,
+ .kernel_ep = 0x80060000,
+ .rootfs_ofs = 0x140000,
+ }, {
+ .id = "16Mlzma",
+ .fw_max_len = 0xf80000,
+ .kernel_la = 0x80060000,
+ .kernel_ep = 0x80060000,
+ .rootfs_ofs = 0x100000,
+ }, {
.id = "16Mppc",
.fw_max_len = 0xf80000,
.kernel_la = 0x00000000,