Change partition table layout

SVN-Revision: 26607
owl
Hamish Guthrie 2011-04-12 14:16:32 +00:00
parent fa9f45f345
commit f4f4ace363
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
--- linux-2.6.36.1/arch/arm/mach-omap2/board-overo.c.old 2011-02-18 12:24:24.000000000 +0100
+++ linux-2.6.36.1/arch/arm/mach-omap2/board-overo.c 2011-02-18 12:38:40.000000000 +0100
@@ -250,13 +250,28 @@
.size = 2 * NAND_BLOCK_SIZE,
},
{
- .name = "linux",
+ .name = "kernel 0",
.offset = MTDPART_OFS_APPEND, /* Offset = 0x280000 */
- .size = 32 * NAND_BLOCK_SIZE,
+ .size = 16 * NAND_BLOCK_SIZE,
},
{
- .name = "rootfs",
+ .name = "kernel 1",
+ .offset = MTDPART_OFS_APPEND, /* Offset = 0x480000 */
+ .size = 16 * NAND_BLOCK_SIZE,
+ },
+ {
+ .name = "rootfs 0",
.offset = MTDPART_OFS_APPEND, /* Offset = 0x680000 */
+ .size = 512 * NAND_BLOCK_SIZE,
+ },
+ {
+ .name = "rootfs 1",
+ .offset = MTDPART_OFS_APPEND, /* Offset = 0x2e80000 */
+ .size = 512 * NAND_BLOCK_SIZE,
+ },
+ {
+ .name = "data",
+ .offset = MTDPART_OFS_APPEND, /* Offset = 0x5680000 */
.size = MTDPART_SIZ_FULL,
},
};