aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-01-20 06:39:35 +0100
committerJohn Crispin <john@phrozen.org>2017-01-20 06:43:13 +0100
commit236fcedc51d0b43701081ddde7af39e6a6cce0e7 (patch)
tree183844ddde7f45f7757bca455a48cd108eb75dce /target/linux/ar71xx/files
parent54e980aa36522de91ba8c4a187cbaef8be6c710a (diff)
downloadupstream-236fcedc51d0b43701081ddde7af39e6a6cce0e7.tar.gz
upstream-236fcedc51d0b43701081ddde7af39e6a6cce0e7.tar.bz2
upstream-236fcedc51d0b43701081ddde7af39e6a6cce0e7.zip
Revert "ar71xx: wrt400n: lift size limit on kernel and rootfs part"
This reverts commit 78c2ec0f477bab5b5c2622b5a18c14e51dea7249. The builders were failing with a segfault when generating the image Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c
index 64126f495e..6c4c1cb0d6 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c
@@ -48,9 +48,13 @@ static struct mtd_partition wrt400n_partitions[] = {
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
}, {
- .name = "firmware",
+ .name = "linux",
.offset = 0x040000,
- .size = 0x770000,
+ .size = 0x140000,
+ }, {
+ .name = "rootfs",
+ .offset = 0x180000,
+ .size = 0x630000,
}, {
.name = "nvram",
.offset = 0x7b0000,
@@ -71,6 +75,10 @@ static struct mtd_partition wrt400n_partitions[] = {
.offset = 0x7f0000,
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
+ }, {
+ .name = "firmware",
+ .offset = 0x040000,
+ .size = 0x770000,
}
};