summaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx/patches-3.0/001-change_partition_table.patch
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-25 10:37:30 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-25 10:37:30 +0000
commit3e6e12295cb214c967095c990cc25bd00d06549e (patch)
tree9e28fa4b8d055118706ed3310de08b82f395fe63 /target/linux/omap35xx/patches-3.0/001-change_partition_table.patch
parentf4945cfe79ad6c9ac2bfef5c6505e45cae3a709b (diff)
[omap35xx]: Re-order patches, add nand sub-page alignment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28084 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap35xx/patches-3.0/001-change_partition_table.patch')
-rw-r--r--target/linux/omap35xx/patches-3.0/001-change_partition_table.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/omap35xx/patches-3.0/001-change_partition_table.patch b/target/linux/omap35xx/patches-3.0/001-change_partition_table.patch
new file mode 100644
index 000000000..65ba45a35
--- /dev/null
+++ b/target/linux/omap35xx/patches-3.0/001-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,
+ },
+ };