[oe-commits] Ulf Samuelsson : Add patches inside tree, since www.at91.com is down

git version control git at git.openembedded.org
Thu Aug 13 23:33:39 UTC 2009


Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: 3b342633a1aa29292ceef103c08c2cc90240dfc0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3b342633a1aa29292ceef103c08c2cc90240dfc0

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Fri Aug 14 01:31:37 2009 +0200

Add patches inside tree, since www.at91.com is down

---

 .../arch-at91/linux-2.6.30.2-at91-001.patch.gz     |  Bin 0 -> 173738 bytes
 ...2.6.30.2-configurable-NAND-partition-size.patch |  138 ++++++++++++++++++++
 2 files changed, 138 insertions(+), 0 deletions(-)

diff --git a/recipes/linux/linux-2.6.30.2/arch-at91/linux-2.6.30.2-at91-001.patch.gz b/recipes/linux/linux-2.6.30.2/arch-at91/linux-2.6.30.2-at91-001.patch.gz
new file mode 100644
index 0000000..9f7404c
Binary files /dev/null and b/recipes/linux/linux-2.6.30.2/arch-at91/linux-2.6.30.2-at91-001.patch.gz differ
diff --git a/recipes/linux/linux-2.6.30.2/arch-at91/linux-2.6.30.2-configurable-NAND-partition-size.patch b/recipes/linux/linux-2.6.30.2/arch-at91/linux-2.6.30.2-configurable-NAND-partition-size.patch
new file mode 100644
index 0000000..f8a85a5
--- /dev/null
+++ b/recipes/linux/linux-2.6.30.2/arch-at91/linux-2.6.30.2-configurable-NAND-partition-size.patch
@@ -0,0 +1,138 @@
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9260ek.c linux-2.6.30.2/arch/arm/mach-at91/board-sam9260ek.c
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9260ek.c	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/board-sam9260ek.c	2009-08-13 20:05:48.000000000 +0200
+@@ -182,12 +182,12 @@
+ 		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 1",
++		.name	= "Root File System",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9261ek.c linux-2.6.30.2/arch/arm/mach-at91/board-sam9261ek.c
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9261ek.c	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/board-sam9261ek.c	2009-08-13 20:05:46.000000000 +0200
+@@ -188,12 +188,12 @@
+ 		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 1",
++		.name	= "Root File System",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9263ek.c linux-2.6.30.2/arch/arm/mach-at91/board-sam9263ek.c
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9263ek.c	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/board-sam9263ek.c	2009-08-13 20:05:44.000000000 +0200
+@@ -179,12 +179,12 @@
+ 		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 1",
++		.name	= "Root File System",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9g20ek.c linux-2.6.30.2/arch/arm/mach-at91/board-sam9g20ek.c
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9g20ek.c	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/board-sam9g20ek.c	2009-08-13 20:05:42.000000000 +0200
+@@ -127,12 +127,12 @@
+ 		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 1",
++		.name	= "Root File System",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9m10g45ek.c linux-2.6.30.2/arch/arm/mach-at91/board-sam9m10g45ek.c
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9m10g45ek.c	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/board-sam9m10g45ek.c	2009-08-13 20:05:40.000000000 +0200
+@@ -117,12 +117,12 @@
+ 		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 1",
++		.name	= "Root File System",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9rlek.c linux-2.6.30.2/arch/arm/mach-at91/board-sam9rlek.c
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/board-sam9rlek.c	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/board-sam9rlek.c	2009-08-13 20:05:38.000000000 +0200
+@@ -86,12 +86,12 @@
+ 		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 1",
++		.name	= "Root File System",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+-		.size	= 60 * SZ_1M,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30.2-0rig/arch/arm/mach-at91/Kconfig linux-2.6.30.2/arch/arm/mach-at91/Kconfig
+--- linux-2.6.30.2-0rig/arch/arm/mach-at91/Kconfig	2009-08-13 19:38:58.000000000 +0200
++++ linux-2.6.30.2/arch/arm/mach-at91/Kconfig	2009-08-13 20:22:12.000000000 +0200
+@@ -469,6 +469,20 @@
+ 	  On AT91SAM926x boards both types of NAND flash can be present
+ 	  (8 and 16 bit data bus width).
+ 
++config MTD_NAND_ATMEL_ROOTFS_SIZE
++	int "Size NAND rootfs in MB"
++	range 8 250
++	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK  || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9RLEK || MACH_AT91SAM9G10EK || MACH_AT91SAM9G45EKES)
++	default "124"
++	help
++	  Many Atmel development boards has a NAND Flash, 
++	  divided into three partitions.
++          1) Boot partition (4 MB)
++	  2) Root FS
++	  3) Data partition
++	  This allows you to configure the size of the root fs
++	  with the remainder ending up in the data partition.
++	  The legal values are between 8 and 250
+ # ----------------------------------------------------------
+ 
+ comment "AT91 Feature Selections"





More information about the Openembedded-commits mailing list