From 236fcedc51d0b43701081ddde7af39e6a6cce0e7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 20 Jan 2017 06:39:35 +0100 Subject: 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 --- target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/files/arch') 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, } }; -- cgit v1.2.3