[ar71xx] increase size of the kernel partition on the TL-WR[789]41N boards
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Jul 2009 17:20:46 +0000 (17:20 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Jul 2009 17:20:46 +0000 (17:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
tools/firmware-utils/src/mktplinkfw.c

index 3d60b6d..cbf7748 100644 (file)
@@ -40,11 +40,11 @@ static struct mtd_partition tl_wr741nd_partitions[] = {
        } , {
                .name           = "kernel",
                .offset         = 0x020000,
-               .size           = 0x120000,
+               .size           = 0x140000,
        } , {
                .name           = "rootfs",
-               .offset         = 0x140000,
-               .size           = 0x2b0000,
+               .offset         = 0x160000,
+               .size           = 0x290000,
        } , {
                .name           = "art",
                .offset         = 0x3f0000,
index 563ba1c..eb1a1b0 100644 (file)
@@ -39,11 +39,11 @@ static struct mtd_partition tl_wr941nd_partitions[] = {
        } , {
                .name           = "kernel",
                .offset         = 0x020000,
-               .size           = 0x120000,
+               .size           = 0x140000,
        } , {
                .name           = "rootfs",
-               .offset         = 0x140000,
-               .size           = 0x2b0000,
+               .offset         = 0x160000,
+               .size           = 0x290000,
        } , {
                .name           = "art",
                .offset         = 0x3f0000,
index d3e9374..9bb353e 100644 (file)
@@ -110,7 +110,7 @@ static struct board_info boards[] = {
                .fw_max_len     = 0x3c0000,
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
-               .rootfs_ofs     = 0x120000,
+               .rootfs_ofs     = 0x140000,
        }, {
                .id             = "TL-WR841NDv3",
                .hw_id          = HWID_TL_WR841ND_V3,
@@ -118,7 +118,7 @@ static struct board_info boards[] = {
                .fw_max_len     = 0x3c0000,
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
-               .rootfs_ofs     = 0x120000,
+               .rootfs_ofs     = 0x140000,
        }, {
                .id             = "TL-WR941NDv2",
                .hw_id          = HWID_TL_WR941ND_V2,
@@ -126,7 +126,7 @@ static struct board_info boards[] = {
                .fw_max_len     = 0x3c0000,
                .kernel_la      = 0x80060000,
                .kernel_ep      = 0x80060000,
-               .rootfs_ofs     = 0x120000,
+               .rootfs_ofs     = 0x140000,
        }, {
                /* terminating entry */
        }