summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2011-04-12 14:16:32 +0000
committerHamish Guthrie <hcg@openwrt.org>2011-04-12 14:16:32 +0000
commitf4f4ace3632ab585086b8f0179840f638eb224ab (patch)
tree94ed74ad5f492b27f0ed607bd5d3580d6f73a449 /target/linux
parentfa9f45f345980154917c769fd7327b6431eefb7b (diff)
downloadmtk-20170518-f4f4ace3632ab585086b8f0179840f638eb224ab.zip
mtk-20170518-f4f4ace3632ab585086b8f0179840f638eb224ab.tar.gz
mtk-20170518-f4f4ace3632ab585086b8f0179840f638eb224ab.tar.bz2
Change partition table layout
SVN-Revision: 26607
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/omap35xx/patches-2.6.36/003-change_partition_table.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/omap35xx/patches-2.6.36/003-change_partition_table.patch b/target/linux/omap35xx/patches-2.6.36/003-change_partition_table.patch
new file mode 100644
index 0000000..65ba45a
--- /dev/null
+++ b/target/linux/omap35xx/patches-2.6.36/003-change_partition_table.patch
@@ -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,
+ },
+ };