aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-11 17:20:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-11 17:20:46 +0000
commit346ca391edeb125481feb14eb43fc55570714c9a (patch)
treed40ffb73a81ab9a3283fd77b00106e347e1457e9
parent322052f47afe2c3ce59a00c5311593c073c7ced2 (diff)
downloadupstream-346ca391edeb125481feb14eb43fc55570714c9a.tar.gz
upstream-346ca391edeb125481feb14eb43fc55570714c9a.tar.bz2
upstream-346ca391edeb125481feb14eb43fc55570714c9a.zip
[ar71xx] increase size of the kernel partition on the TL-WR[789]41N boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c6
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c6
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
index 3d60b6d1b5..cbf7748496 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
@@ -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,
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
index 563ba1c7e6..eb1a1b0da7 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
@@ -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,
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index d3e9374c22..9bb353eb63 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -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 */
}