From 6aae3694c96dbbb4ded67d756c6fd7fc88812d78 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 27 Mar 2014 06:36:48 +0000 Subject: firmware-utils/mktplinkfw: add an option to generate 16MiB images Signed-off-by: Andrew 'Necromant' Andrianov Patchwork: http://patchwork.openwrt.org/patch/2449/ Signed-off-by: Gabor Juhos SVN-Revision: 40034 --- tools/firmware-utils/src/mktplinkfw.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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, -- cgit v1.1