This fixes the NBG460N/550N/550NH mtd partitions.
Signed-off-by: Michael Kurz <[email protected]>
---
target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c | 17 +++++++---
1 file changed, 12 insertions(+), 5 deletions(-)
Index: target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
===================================================================
--- target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c (revision 21354)
+++ target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c (working copy)
@@ -54,25 +54,32 @@
.name = "Bootbase",
.offset = 0,
.size = 0x010000,
+ .mask_flags = MTD_WRITEABLE,
} , {
.name = "U-Boot Config",
.offset = 0x010000,
.size = 0x030000,
- .mask_flags = MTD_WRITEABLE,
} , {
.name = "U-Boot",
.offset = 0x040000,
.size = 0x030000,
- .mask_flags = MTD_WRITEABLE,
} , {
- .name = "firmware",
+ .name = "linux",
.offset = 0x070000,
- .size = 0x380000,
- .mask_flags = MTD_WRITEABLE,
+ .size = 0x0e0000,
} , {
+ .name = "rootfs",
+ .offset = 0x150000,
+ .size = 0x2a0000,
+ } , {
.name = "CalibData",
.offset = 0x3f0000,
.size = 0x010000,
+ .mask_flags = MTD_WRITEABLE,
+ } , {
+ .name = "firmware",
+ .offset = 0x070000,
+ .size = 0x380000,
}
};
#endif /* CONFIG_MTD_PARTITIONS */
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel