firmware-utils/mktplinkfw: add an option to generate 16MiB images
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Mar 2014 06:36:48 +0000 (06:36 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Mar 2014 06:36:48 +0000 (06:36 +0000)
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Patchwork: http://patchwork.openwrt.org/patch/2449/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40034 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/firmware-utils/src/mktplinkfw.c

index d15ca5b..d92207f 100644 (file)
@@ -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,