[oe-commits] Marco Cavallini : vulcano-g20/0005-vulcano-g20-mtd.patch: new MTD mapping

git at git.openembedded.org git at git.openembedded.org
Tue Mar 13 16:55:20 UTC 2012


Module: openembedded.git
Branch: mckoan/kaeilos-2012
Commit: 9be7b68a1c6dc2aab3e077162d83f9f0a5d35ad7
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=9be7b68a1c6dc2aab3e077162d83f9f0a5d35ad7

Author: Marco Cavallini <m.cavallini at koansoftware.com>
Date:   Tue Mar 13 17:49:57 2012 +0100

vulcano-g20/0005-vulcano-g20-mtd.patch: new MTD mapping

---

 .../vulcano-g20/0005-vulcano-g20-mtd.patch         |   37 ++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch b/recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch
new file mode 100644
index 0000000..8995f7f
--- /dev/null
+++ b/recipes/linux/linux-2.6.30/vulcano-g20/0005-vulcano-g20-mtd.patch
@@ -0,0 +1,37 @@
+Index: linux-2.6.30.10-at91/arch/arm/mach-at91/board-m2-vulcanog20.c
+===================================================================
+--- linux-2.6.30.10-at91.orig/arch/arm/mach-at91/board-m2-vulcanog20.c	2012-03-13 17:03:31.315565242 +0100
++++ linux-2.6.30.10-at91/arch/arm/mach-at91/board-m2-vulcanog20.c	2012-03-13 17:03:48.854943800 +0100
+@@ -127,17 +127,27 @@
+  */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ 	{
+-		.name   = "Bootstrap",
++		.name   = "At91Bootstrap",		// Start : 0x0000'0000
+ 		.offset = 0,
+-		.size   = 4 * SZ_1M,
++		.size	= 0x20000,
+ 	},
+ 	{
+-		.name	= "Root File System",
++		.name	= "U-Boot",				// Start : 0x0002'0000
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= 0x40000,
+ 	},
+ 	{
+-		.name	= "Data",
++		.name	= "U-Boot environment",	// Start : 0x0006'0000
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= 0x40000,
++	},
++	{
++		.name	= "Linux kernel",		// Start : 0x000A'0000
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= 0x360000,
++	},
++	{
++		.name	= "Root File System",	// Start : 0x0040'0000
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},





More information about the Openembedded-commits mailing list