Skip to contentSkip to conversation

linux-2.6.30: Add linux4sam patches

PATCH NAK Ulf Samuelsson 4 participants 9 messages Mar 14, 2010 – Mar 15, 2010 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-2.6.30: Add linux4sam patches

Do not apply .10 minor patch due to conflicts

Introduce support for:

+ at91sam9260ek
+ at91sam9261ek
+ at91sam9g10ek
+ at91sam9g20ek
+ at91sam9g20ek_2mmc
+ at91sam9g45ek
+ at91sam9g45ekes
+ at91sam9m10ekes
+ at91sam9rlek
+ at91sam9xeek

Leave at91sam9263ek patches as is for now.
In addition: Add support for configurable NAND partition size checksums.ini updated in another patch

---
 ....30-001-configurable-partition-size.patch.patch |  362 ++++
 .../at91/linux-2.6.30-002-mach-at91-Kconfig.patch  |  196 +++
 .../at91/linux-2.6.30-003-sam9m10g45ek.patch       |   29 +
 recipes/linux/linux-2.6.30/at91sam9260ek/defconfig | 1492 ++++++++++++++++
 recipes/linux/linux-2.6.30/at91sam9261ek/defconfig | 1531 +++++++++++++++++
 recipes/linux/linux-2.6.30/at91sam9g10ek/defconfig | 1528 +++++++++++++++++
 recipes/linux/linux-2.6.30/at91sam9g20ek/defconfig | 1563 +++++++++++++++++
 .../linux-2.6.30/at91sam9g20ek_2mmc/defconfig      | 1561 +++++++++++++++++
 recipes/linux/linux-2.6.30/at91sam9g45ek/defconfig | 1651 ++++++++++++++++++
 .../linux/linux-2.6.30/at91sam9g45ek/defconfig.old | 1798 ++++++++++++++++++++
 .../linux/linux-2.6.30/at91sam9g45ekes/defconfig   | 1618 ++++++++++++++++++
 .../linux/linux-2.6.30/at91sam9m10ekes/defconfig   | 1617 ++++++++++++++++++
 recipes/linux/linux-2.6.30/at91sam9rlek/defconfig  | 1378 +++++++++++++++
 recipes/linux/linux-2.6.30/at91sam9xeek/defconfig  | 1492 ++++++++++++++++
 recipes/linux/linux_2.6.30.bb                      |   53 +-
 15 files changed, 17863 insertions(+), 6 deletions(-)
 create mode 100644 recipes/linux/linux-2.6.30/at91/linux-2.6.30-001-configurable-partition-size.patch.patch
 create mode 100644 recipes/linux/linux-2.6.30/at91/linux-2.6.30-002-mach-at91-Kconfig.patch
 create mode 100644 recipes/linux/linux-2.6.30/at91/linux-2.6.30-003-sam9m10g45ek.patch
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9260ek/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9261ek/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9g10ek/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9g20ek/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9g20ek_2mmc/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9g45ek/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9g45ek/defconfig.old
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9g45ekes/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9m10ekes/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9rlek/defconfig
 create mode 100644 recipes/linux/linux-2.6.30/at91sam9xeek/defconfig
recipes/linux/linux-2.6.30/at91/linux-2.6.30-001-configurable-partition-size.patch.patch new file +362 -0
new file mode 100644
index 0000000..ae24d12
@@ -0,0 +1,362 @@
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-at572d940hf_ek.c linux-2.6.30/arch/arm/mach-at91/board-at572d940hf_ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-at572d940hf_ek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-at572d940hf_ek.c	2010-03-14 11:28:55.000000000 +0100
+@@ -114,10 +114,20 @@
+  */
+ static struct mtd_partition __initdata eb_nand_partition[] = {
+ 	{
+-		.name	= "Partition 1",
+-		.offset	= 0,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
++	},
++	{
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
++		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+-	}
++	},
+ };
+ 
+ static struct mtd_partition * __init nand_partitions(int size, int *num_partitions)
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-cap9adk.c linux-2.6.30/arch/arm/mach-at91/board-cap9adk.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-cap9adk.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-cap9adk.c	2010-03-14 11:28:36.000000000 +0100
+@@ -167,8 +167,18 @@
+  */
+ static struct mtd_partition __initdata cap9adk_nand_partitions[] = {
+ 	{
+-		.name	= "NAND partition",
+-		.offset	= 0,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
++	},
++	{
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
++		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+ };
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-dk.c linux-2.6.30/arch/arm/mach-at91/board-dk.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-dk.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-dk.c	2010-03-14 11:28:43.000000000 +0100
+@@ -314,8 +314,18 @@
+ 
+ static struct mtd_partition __initdata dk_nand_partition[] = {
+ 	{
+-		.name	= "NAND Partition 1",
+-		.offset	= 0,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
++	},
++	{
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
++		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+ };
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9260ek.c linux-2.6.30/arch/arm/mach-at91/board-sam9260ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9260ek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9260ek.c	2010-03-14 11:26:57.000000000 +0100
+@@ -177,12 +177,17 @@
+  */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ 	{
+-		.name	= "Partition 1",
+-		.offset	= 0,
+-		.size	= SZ_256K,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9261ek.c linux-2.6.30/arch/arm/mach-at91/board-sam9261ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9261ek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9261ek.c	2010-03-14 11:26:57.000000000 +0100
+@@ -184,12 +184,17 @@
+  */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ 	{
+-		.name	= "Partition 1",
+-		.offset	= 0,
+-		.size	= SZ_256K,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9263ek.c linux-2.6.30/arch/arm/mach-at91/board-sam9263ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9263ek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9263ek.c	2010-03-14 11:26:57.000000000 +0100
+@@ -174,12 +174,17 @@
+  */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ 	{
+-		.name	= "Partition 1",
+-		.offset	= 0,
+-		.size	= SZ_64M,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c linux-2.6.30/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c	2010-03-14 11:28:29.000000000 +0100
+@@ -130,12 +130,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-0rig/arch/arm/mach-at91/board-sam9g20ek.c linux-2.6.30/arch/arm/mach-at91/board-sam9g20ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9g20ek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9g20ek.c	2010-03-14 11:26:57.000000000 +0100
+@@ -129,12 +129,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-0rig/arch/arm/mach-at91/board-sam9m10g45ek.c linux-2.6.30/arch/arm/mach-at91/board-sam9m10g45ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9m10g45ek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9m10g45ek.c	2010-03-14 11:26:57.000000000 +0100
+@@ -133,12 +133,17 @@
+  */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ 	{
+-		.name	= "Partition 1",
+-		.offset	= 0,
+-		.size	= SZ_64M,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9rlek.c linux-2.6.30/arch/arm/mach-at91/board-sam9rlek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9rlek.c	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9rlek.c	2010-03-14 11:26:57.000000000 +0100
+@@ -83,12 +83,17 @@
+  */
+ static struct mtd_partition __initdata ek_nand_partition[] = {
+ 	{
+-		.name	= "Partition 1",
+-		.offset	= 0,
+-		.size	= SZ_256K,
++		.name   = "Bootstrap",
++		.offset = 0,
++		.size   = 4 * SZ_1M,
+ 	},
+ 	{
+-		.name	= "Partition 2",
++		.name	= "Root File System",
++		.offset	= MTDPART_OFS_NXTBLK,
++		.size	= CONFIG_MTD_NAND_ATMEL_ROOTFS_SIZE * SZ_1M,
++	},
++	{
++		.name	= "Data",
+ 		.offset	= MTDPART_OFS_NXTBLK,
+ 		.size	= MTDPART_SIZ_FULL,
+ 	},
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/Kconfig linux-2.6.30/arch/arm/mach-at91/Kconfig
+--- linux-2.6.30-0rig/arch/arm/mach-at91/Kconfig	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/Kconfig	2010-03-14 11:32:54.000000000 +0100
+@@ -96,6 +96,7 @@
+ config ARCH_AT91RM9200DK
+ 	bool "Atmel AT91RM9200-DK Development board"
+ 	depends on ARCH_AT91RM9200
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91RM9200-DK Development board.
+ 	  (Discontinued)
+@@ -213,6 +214,7 @@
+ config MACH_AT91SAM9260EK
+ 	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
+ 	depends on ARCH_AT91SAM9260
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
+ 	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
+@@ -278,6 +280,7 @@
+ config MACH_AT91SAM9261EK
+ 	bool "Atmel AT91SAM9261-EK Evaluation Kit"
+ 	depends on ARCH_AT91SAM9261
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
+ 	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
+@@ -293,6 +296,7 @@
+ config MACH_AT91SAM9G10EK
+ 	bool "Atmel AT91SAM9G10-EK Evaluation Kit"
+ 	depends on ARCH_AT91SAM9G10
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
+ 	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
+@@ -308,6 +312,7 @@
+ config MACH_AT91SAM9263EK
+ 	bool "Atmel AT91SAM9263-EK Evaluation Kit"
+ 	depends on ARCH_AT91SAM9263
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
+ 	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
+@@ -350,6 +355,7 @@
+ config MACH_AT91SAM9RLEK
+ 	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
+ 	depends on ARCH_AT91SAM9RL
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
+ 
+@@ -364,6 +370,7 @@
+ config MACH_AT91SAM9G20EK
+ 	bool "Atmel AT91SAM9G20-EK Evaluation Kit"
+ 	depends on ARCH_AT91SAM9G20
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
+ 	  that embeds only one SD/MMC slot.
+@@ -371,6 +378,7 @@
+ config MACH_AT91SAM9G20EK_2MMC
+ 	bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
+ 	depends on ARCH_AT91SAM9G20
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
+ 	  with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
+@@ -408,6 +416,7 @@
+ config MACH_AT91SAM9G45EKES
+ 	bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
+ 	depends on ARCH_AT91SAM9G45
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
+ 	  "ES" at the end of the name means that this board is an
+@@ -424,6 +433,7 @@
+ config MACH_AT91SAM9M10EKES
+         bool "Atmel AT91SAM9M10-EKES Evaluation Kit"
+         depends on ARCH_AT91SAM9M10
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+         help
+           Select this if you are using Atmel's AT91SAM9M10-EKES Evaluation Kit.
+           "ES" at the end of the name means that this board is an
+@@ -440,6 +450,7 @@
+ config MACH_AT91CAP9ADK
+ 	bool "Atmel AT91CAP9A-DK Evaluation Kit"
+ 	depends on ARCH_AT91CAP9
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
+ 	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
+@@ -455,6 +466,7 @@
+ config MACH_AT572D940HFEB
+ 	bool "AT572D940HF-EK"
+ 	depends on ARCH_AT572D940HF
++	select MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
+ 	help
+ 	  Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
+ 	  <http://www.atmel.com/products/diopsis/default.asp>
+@@ -494,6 +506,24 @@
+ 	  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 MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
++	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
++
++config MTD_NAND_ALLOW_CONFIGURABLE_ROOTFS_SIZE
++	bool
++
+ # ----------------------------------------------------------
+ 
+ comment "AT91 Feature Selections"
recipes/linux/linux-2.6.30/at91/linux-2.6.30-002-mach-at91-Kconfig.patch new file +196 -0

196 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91/linux-2.6.30-003-sam9m10g45ek.patch new file +29 -0
new file mode 100644
index 0000000..05a81bf
@@ -0,0 +1,29 @@
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9m10g45ek.c linux-2.6.30/arch/arm/mach-at91/board-sam9m10g45ek.c
+--- linux-2.6.30-0rig/arch/arm/mach-at91/board-sam9m10g45ek.c	2010-03-14 11:41:36.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/board-sam9m10g45ek.c	2010-03-14 12:07:05.000000000 +0100
+@@ -432,9 +432,13 @@
+ 
+ #if defined(CONFIG_MACH_AT91SAM9G45EKES)
+ MACHINE_START(AT91SAM9G45EKES, "Atmel AT91SAM9G45-EKES")
+-#else
++#endif
++#if defined(CONFIG_MACH_AT91SAM9M10EKES)
+ MACHINE_START(AT91SAM9M10EKES, "Atmel AT91SAM9M10-EKES")
+ #endif
++#if defined(CONFIG_MACH_AT91SAM9M10G45EK)
++MACHINE_START(AT91SAM9M10G45EK, "Atmel AT91SAM9M10G45-EK")
++#endif
+ 	/* Maintainer: Atmel */
+ 	.phys_io	= AT91_BASE_SYS,
+ 	.io_pg_offst	= (AT91_VA_BASE_SYS >> 18) & 0xfffc,
+diff -urN linux-2.6.30-0rig/arch/arm/mach-at91/Makefile linux-2.6.30/arch/arm/mach-at91/Makefile
+--- linux-2.6.30-0rig/arch/arm/mach-at91/Makefile	2010-03-14 11:13:34.000000000 +0100
++++ linux-2.6.30/arch/arm/mach-at91/Makefile	2010-03-14 12:08:01.000000000 +0100
+@@ -74,6 +74,7 @@
+ # AT91SAM9G45 board-specific support
+ obj-$(CONFIG_MACH_AT91SAM9G45EKES) += board-sam9m10g45ek.o
+ obj-$(CONFIG_MACH_AT91SAM9M10EKES) += board-sam9m10g45ek.o
++obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
+ 
+ # AT91CAP9 board-specific support
+ obj-$(CONFIG_MACH_AT91CAP9ADK)	+= board-cap9adk.o
recipes/linux/linux-2.6.30/at91sam9260ek/defconfig new file +1492 -0

1,492 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9261ek/defconfig new file +1531 -0

921 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9g10ek/defconfig new file +1528 -0

1,528 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9g20ek/defconfig new file +1563 -0

1,563 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9g20ek_2mmc/defconfig new file +1561 -0

1,561 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9g45ek/defconfig new file +1651 -0

1,651 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9g45ek/defconfig.old new file +1798 -0

1,798 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9g45ekes/defconfig new file +1618 -0

1,618 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9m10ekes/defconfig new file +1617 -0

1,617 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9rlek/defconfig new file +1378 -0

1,378 lines not on this page · raw message

recipes/linux/linux-2.6.30/at91sam9xeek/defconfig new file +1492 -0

1,492 lines not on this page · raw message

recipes/linux/linux_2.6.30.bb +47 -6

53 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.6.0.2

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 2/2 conf/checksum.ini: at91 linux + u-boot-2009.11

Add checksums for:
2.6.30-exp.2.patch.bz2
u-boot-2009.11.tar.bz2

---
 conf/checksums.ini |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
conf/checksums.ini +8 -0
index 70346bf..ba3b697 100644
@@ -74,6 +74,10 @@ sha256=7a960180e7873b1bdb522e76b0423b5c2c1b8efe1d30d7ca80c41eb97d822b2d
 md5=f13ab353b11329ce3d605b6f40e77fa6
 sha256=41991e8aa2e5fe8e5dfd47b1e5c446fa03c3ee96a5eae54fd6ec15d1d9afef30
 
+[ftp://www.at91.com/pub/buildroot/2.6.30-exp.2.patch.bz2]
+md5=770c7a2bfb925111a8c0e0d4c8c4764e
+sha256=58894965b253eae0c4caacedc3463cf186c18431ca0d71b767a3b36aa40ec388
+
 [http://maxim.org.za/AT91RM9200/2.6/2.6.31-at91.patch.gz]
 md5=bf420f0340e30b0a2c42b2b36d0b2577
 sha256=738b88daa31e1a033646900813a5f1ce40ba21e2836500fd848a984565f27584
@@ -27022,6 +27026,10 @@ sha256=b0037cf21b67779ef5a0c585b32e46bde3b78df889484c78bb4318c9b448f560
 md5=cd4788ea1c6ac4f9b100b888a1063a6b
 sha256=858fd04efd5b98e99fd1a074998b1a8ac5fbd07b176de1d20d8eb148492d949d
 
+[ftp://ftp.denx.de/pub/u-boot/u-boot-2009.11.tar.bz2]
+md5=d94700614225f53c853dfe714eb5fa47
+sha256=066615314fc90a314823ac975ca2a525a51fdad41802f4088a3a21ce073e8de6
+
 [http://linux.omap.com/pub/bootloader/2430sdp/source/u-boot-SEP1106.tar.gz]
 md5=49c07dec9e1be69fd01d46f47ec03731
 sha256=a090786113b02647413ebc15888af269f2e6d50f73cbb94b0619cc1702911dae
Signature · 1 line
1.6.0.2
#2 lore raw

Re: [PATCH 2/2] conf/checksum.ini: at91 linux + u-boot-2009.11

2010/3/15 Ulf Samuelsson <[email protected]>:

Quoted 32 lines

Add checksums for:
2.6.30-exp.2.patch.bz2
u-boot-2009.11.tar.bz2

---
 conf/checksums.ini |    8 ++++++++

 1 files changed, 8 insertions(+), 0 deletions(-)
conf/checksums.ini +0 -0
index 70346bf..ba3b697 100644
@@ -74,6 +74,10 @@ sha256=7a960180e7873b1bdb522e76b0423b5c2c1b8efe1d30d7ca80c41eb97d822b2d

 md5=f13ab353b11329ce3d605b6f40e77fa6 sha256=41991e8aa2e5fe8e5dfd47b1e5c446fa03c3ee96a5eae54fd6ec15d1d9afef30

+[ftp://www.at91.com/pub/buildroot/2.6.30-exp.2.patch.bz2]

conf/checksums.ini +3 -0
+md5=770c7a2bfb925111a8c0e0d4c8c4764e
+sha256=58894965b253eae0c4caacedc3463cf186c18431ca0d71b767a3b36aa40ec388
+

 [http://maxim.org.za/AT91RM9200/2.6/2.6.31-at91.patch.gz]
 md5=bf420f0340e30b0a2c42b2b36d0b2577 sha256=738b88daa31e1a033646900813a5f1ce40ba21e2836500fd848a984565f27584

conf/checksums.ini +0 -0
@@ -27022,6 +27026,10 @@ sha256=b0037cf21b67779ef5a0c585b32e46bde3b78df889484c78bb4318c9b448f560

 md5=cd4788ea1c6ac4f9b100b888a1063a6b sha256=858fd04efd5b98e99fd1a074998b1a8ac5fbd07b176de1d20d8eb148492d949d

+[ftp://ftp.denx.de/pub/u-boot/u-boot-2009.11.tar.bz2]

conf/checksums.ini +3 -0
+md5=d94700614225f53c853dfe714eb5fa47
+sha256=066615314fc90a314823ac975ca2a525a51fdad41802f4088a3a21ce073e8de6
+
Quoted 5 lines

 [http://linux.omap.com/pub/bootloader/2430sdp/source/u-boot-SEP1106.tar.gz]
 md5=49c07dec9e1be69fd01d46f47ec03731 sha256=a090786113b02647413ebc15888af269f2e6d50f73cbb94b0619cc1702911dae --
1.6.0.2

Isn't nowadays the preferred policy to have the checksums in the recipe? If so, shouldn't we stop adding checksums to the ini file?

Frans

#3 lore raw
In reply to Ulf Samuelsson

Dnia poniedziałek, 15 marca 2010 o 00:18:15 Ulf Samuelsson napisał(a):

Quoted 22 lines

" +KERNEL_MINOR_0 = " "
+KERNEL_MINOR_10 = " ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;patch=1 " +

recipes/linux/linux_2.6.30.bb +16 -0
+AUFS = " file://aufs2-30.patch;patch=1 "
 
+SRC_URI_append_calamari        = " ${KERNEL_MINOR_10} ${AUFS} "
+SRC_URI_append_i686    = " ${KERNEL_MINOR_10} ${AUFS} " 
+SRC_URI_append_kixrp435        = " ${KERNEL_MINOR_10} ${AUFS} " 
+SRC_URI_append_mx27ads = " ${KERNEL_MINOR_10} ${AUFS} " 
+SRC_URI_append_tosa    = " ${KERNEL_MINOR_10} ${AUFS} " 
+
+SRC_URI_append_mpc8315e-rdb = " \
+       ${KERNEL_MINOR_10} ${AUFS}      \
+       file://mpc8315erdb-add-msi-to-dts.patch;patch=1 \
+       "
 
+AT91_EXP_PATCHES = " \
+       ${KERNEL_MINOR_0} \
+       http://maxim.org.za/AT91RM9200/2.6/2.6.30-at91.patch.gz;patch=1 \
+       ftp://www.at91.com/pub/buildroot/2.6.30-exp.2.patch.bz2;patch=1 \
+       file://at91/linux-2.6.30-001-configurable-partition-size.patch.patc

h;patch=1 \

recipes/linux/linux_2.6.30.bb DEFAULT_PREFERENCE_mpc8315e-rdb = "1" · line 51

Quoted 5 lines
recipes/linux/linux_2.6.30.bb +5 -0
+       file://at91/linux-2.6.30-002-mach-at91-Kconfig.patch;patch=1 \
+       file://at91/linux-2.6.30-003-sam9m10g45ek.patch;patch=1 \
+       "
+
+SRC_URI_append_at91sam9g10ek           =       " ${AT91_EXP_PATCHES} "

Please look at linux_2.6.28.bb and how nokia900 SRC_URI is created. This way you will not alter other machines but only set for your ones. Hint: set SRC_URI for at91 boards instead of using SRC_URI_append.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#4 lore raw

PATCH 1/1 linux-2.6.30: add linux4sam patches

Introduce support for:

+ at91sam9260ek
+ at91sam9261ek
+ at91sam9g10ek
+ at91sam9g20ek
+ at91sam9g20ek_2mmc
+ at91sam9g45ekes
+ at91sam9m10ekes
+ at91sam9rlek
+ at91sam9xeek

and apply the Atmel experimental patch series from Linux4sam.org. A different SRC_URI is created and the patches are bundled in a patch archive.

AT91 specific bits are removed from the common 2.6.30 rule.

---
Marcin, what do you think of this patch architecture and URI management?

The defconfig are not included in this patch and shall be sent in another patch series.

 recipes/linux/linux-at91_2.6.30.inc |  118 +++++++++++++++++++++++++++++++++++
 recipes/linux/linux_2.6.30.bb       |    6 +-
 2 files changed, 120 insertions(+), 4 deletions(-)
 create mode 100644 recipes/linux/linux-at91_2.6.30.inc
recipes/linux/linux-at91_2.6.30.inc new file +118 -0
new file mode 100644
index 0000000..92733e0
@@ -0,0 +1,118 @@
+# include file for AT91 kernel building
+
+DEFAULT_PREFERENCE_at91sam9260ek   = "30"
+DEFAULT_PREFERENCE_at91sam9261ek   = "30"
+DEFAULT_PREFERENCE_at91sam9263ek   = "30"
+DEFAULT_PREFERENCE_at91sam9rlek    = "30"
+DEFAULT_PREFERENCE_at91sam9g20ek   = "30"
+DEFAULT_PREFERENCE_at91sam9g20ek_2mmc = "30"
+DEFAULT_PREFERENCE_at91sam9g10ek   = "30"
+DEFAULT_PREFERENCE_at91sam9g45ekes = "30"
+DEFAULT_PREFERENCE_at91sam9xeek    = "30"
+DEFAULT_PREFERENCE_at91sam9m10ekes = "30"
+
+
+at91_kernel = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+	http://maxim.org.za/AT91RM9200/2.6/2.6.30-at91.patch.gz;patch=1 \
+	file://defconfig "
+
+lnx4sam_exp3 = " \
+	ftp://ftp.linux4sam.org/pub/linux/2.6.30-at91/2.6.30-at91-exp.3.tar.gz;name=lnx4sam_exp3 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0001-at91-dm9000-initialization-update.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0002-at91-add-gpio-button-support-for-at91sam9g20ek.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0003-at91-add-gpio-button-and-leds-support-for-at91sam9r.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0004-at91-at91sam9rlek-lcd-interface-correction.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0005-avr32-add-two-new-at91-to-cpu.h-definition.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0006-5438-1-AT91-manage-clock-by-functionality-instead.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0007-atmel_serial-fix-hang-in-set_termios-when-crtscts-i.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0008-USB-atmel_usba_udc-change-way-of-specifying-bias-f.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0009-Add-MACB-TX-Buffer-in-SRAM-support.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0010-5569-1-at91-Support-for-at91sam9g45-clocks-manage.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0011-5571-1-at91-Basic-support-for-at91sam9g45-series.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0012-5572-1-at91-Support-for-at91sam9g45-series-core-c.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0013-ARM-5622-1-at91-at91sam9g45-headers-DMA-peripher.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0014-5567-1-at91-Support-for-at91sam9g10-clocks-manage.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0015-5568-1-at91-Basic-support-for-at91sam9g10-header.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0016-5570-1-at91-Support-for-at91sam9g10-core-chip-b.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0017-5614-1-at91-atmel_lcdfb-add-at91sam9g10-support-t.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0018-USB-at91-Add-USB-EHCI-driver-for-at91sam9g45-serie.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0019-USB-at91-Add-USB-gadget-driver-selection-for-at91s.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0020-USB-at91-modify-OHCI-driver-to-allow-shared-interr.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0021-at91-USB-at91sam9g45-series-USB-host-integration.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0022-at91-USB-USB-drivers-modifications-for-at91sam9g10.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0023-dmaengine-at_hdmac-new-driver-for-the-Atmel-AHB-DM.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0024-dmaengine-at_hdmac-add-DMA-slave-transfers.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0025-at91-dmaengine-integration-of-at_hdmac-driver-in-at.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0026-at91-dmaengine-integration-of-at_hdmac-driver-in-at.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0027-atmel-mci-Integrate-AT91-specific-definition-in-hea.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0028-atmel-mci-add-MCI2-register-definitions.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0029-atmel-mci-Unified-Atmel-MCI-drivers-AVR32-AT91.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0030-AT91-atmel-mci-Platform-configuration-to-the-the-a.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0031-atmel-mci-change-use-of-dma-slave-interface.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0032-mmc-atmel-mci-New-MCI2-module-support-in-atmel-mci.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0033-at91-atmel-mci-inclusion-of-sd-mmc-driver-in-at91sa.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0034-MCI2-High-speed-mode-support.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0035-at91_mci-Enable-MMC_CAP_SDIO_IRQ-only-when-it-actua.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0036-at91_mci-Do-a-reset-after-each-request.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0037-at91_mci-introduce-per-mci-revision-conditional-cod.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0038-dmaengine-Move-all-map_sg-unmap_sg-for-slave-channe.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0039-AC97-atmel-add-support-for-AT91-common-with-AVR32.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0040-AT91-modify-the-support-of-AC97-on-the-at91sam9263.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0041-AT91-correct-AC97-reset-line-in-at91sam9263ek-board.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0042-at91-add-AC97-support-to-at91sam9rl-and-at91sam9rle.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0043-at91-add-AC97-support-to-at91sam9g45-series-and-at9.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0044-input-atmel_tsadcc-touchscreen-rework-setting-capa.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0045-input-atmel_tsadcc-touchscreen-use-platform-paramet.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0046-at91-input-platform-parameters-for-atmel_tsadcc-in.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0047-at91-input-touchscreen-support-for-at91sam9g45ekes.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0048-at91-extend-power-management-to-at91sam9g45-chip.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0049-at91-at91sam9g45-family-identify-several-chip-vers.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0050-atmel_lcdfb-New-alternate-pixel-clock-formula.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0051-mach-types-add-2MMC-slot-9g20-board.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0052-at91-at91sam9g20ek-add-card-detect-signal-to-sd-mmc.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0053-at91-at91sam9g20ek-modify-dual-slot-evaluation-kit.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0054-at91-add-gpio-buttons-to-at91sam9g20-ek-2mmc.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0055-Bug-workaround-for-channel-in-ac97.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0056-input-atmel_tsadcc-report-fake-pressure-measure.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0057-at91-No-more-SD-MMC-Write-Protect-pin-connected-on.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0058-net-macb-modify-SRAM-location-of-descriptor-buffer.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0059-at91-add-pwm-support-in-Kconfig-for-at91sam9g45.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0060-at91-update-at91sam9263ek-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0061-at91-add-at91sam9g45ekes-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0062-at91-update-at91sam9g20ek-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0063-at91-update-at91sam9261ek-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0064-at91-update-at91sam9260ek-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0065-at91-update-at91sam9rlek-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0066-sound-soc-update-soc-support-to-2.6.32-rc3-alsa.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0067-sound-at91sam9g20ek_2mmc-board-uses-same-audio-conn.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0068-at91-add-I2C-definitions-for-at91sam9g20ek-boards.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0069-at91-add-at91sam9g10ek-defconfig-file.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0070-at91-update-at91sam9260ek_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0071-at91-update-at91sam9261ek_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0072-at91-update-at91sam9263ek_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0073-at91-update-at91sam9g20ek_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0074-at91-update-at91sam9g20ek_2mmc_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0075-at91-update-at91sam9g45ekes_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0076-at91-update-at91sam9rlek_defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0077-at91-add-at91sam9xeek-defconfig.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0078-t91-add-at91sam9m10ekes-support.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0079-at91-at91sam9m10-add-dma-touchscreen-mmc-usb-host-a.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0080-at91-at91sam9m10-add-video-decoder-clock.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0081-at91sam9m10-add-on2-8170-gpl-modules.patch;patch=1 \
+	file://${WORKDIR}/2.6.30-at91-exp.3/2.6.30-at91-exp.3-0082-Final-release-for-2.6.30-at91-exp.3.patch;patch=1 \
+	"
+
+SRC_URI[lnx4sam_exp3.md5sum] = "6577b0311f097358913d162428b78f06"
+SRC_URI[lnx4sam_exp3.sha256sum] = "145e34cc90dbd4d7e4cfb94a82c67ea782ec9ebb6303fe5c881eb8dfe5a8a006"
+
+SRC_URI_at91sam9260ek = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9261ek = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9263ek = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9rlek = "${at91_kernel} ${lnx4sam_exp3} "
+SRC_URI_at91sam9g20ek = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9g20ek_2mmc = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9g10ek = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9xeek = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9g45ekes = "${at91_kernel} ${lnx4sam_exp3}"
+SRC_URI_at91sam9m10ekes = "${at91_kernel} ${lnx4sam_exp3}"
+
recipes/linux/linux_2.6.30.bb +2 -4
index 19247e2..a620f90 100644
@@ -1,6 +1,7 @@
 require linux.inc
+require linux-at91_2.6.30.inc
 
-PR = "r5"
+PR = "r6"
 
 S = "${WORKDIR}/linux-${PV}"
 
@@ -17,11 +18,8 @@ DEFAULT_PREFERENCE_tosa = "-1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;patch=1 \
-           http://maxim.org.za/AT91RM9200/2.6/2.6.30-at91.patch.gz;patch=1 \
            file://aufs2-30.patch;patch=1 \
            file://defconfig"
 
 SRC_URI_append_mpc8315e-rdb = " file://mpc8315erdb-add-msi-to-dts.patch;patch=1"
 
-SRC_URI_append_at91sam9263ek = " file://hrw-linux-2.6.30-exp.patch;patch=1 "
-
Signature · 1 line
1.5.6.5
#5 lore raw

Re: [PATCH] linux-2.6.30: add linux4sam patches

Le 15/03/2010 14:28, Nicolas Ferre :

Quoted 15 lines

Introduce support for:

(quoted diff) +9 -0
+	at91sam9260ek
+	at91sam9261ek
+	at91sam9g10ek
+	at91sam9g20ek
+	at91sam9g20ek_2mmc
+	at91sam9g45ekes
+	at91sam9m10ekes
+	at91sam9rlek
+	at91sam9xeek

and apply the Atmel experimental patch series from Linux4sam.org. A different SRC_URI is created and the patches are bundled in a patch archive.

Quoted 8 lines

AT91 specific bits are removed from the common 2.6.30 rule.

---
Marcin, what do you think of this patch architecture and URI management?

The defconfig are not included in this patch and shall be sent in another patch series.

Of course Ulf, if other patches have to be included after those ones feel free to add them in another OE patch (I am thinking about NAND patitions and Kconfig changes).

Bye,

Signature · 1 line
Nicolas Ferre
#6 lore raw

Re: [PATCH] linux-2.6.30: add linux4sam patches

In reply to Nicolas Ferre

Dnia poniedziałek, 15 marca 2010 o 14:28:46 Nicolas Ferre napisał(a):

Quoted 1 line

Marcin, what do you think of this patch architecture and URI management?

Nice. Few notes:

1. do it all in linux_2.6.30.bb recipe
2. we rather user CAPS for variable names
3. AT91_SRC_URI = "contents of at91_kernel + contents of lnx4sam_exp3" would be better
4. can't you just squash 2.6.30-at91-exp3.tar.gz into one patch?

Quoted 2 lines

The defconfig are not included in this patch and shall be sent in another patch series.

Merge those into one patch - otherwise you will make "PR bump" flood.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#7 lore raw

Re: [PATCH] linux-2.6.30: add linux4sam patches

Le 15/03/2010 13:46, Marcin Juszkiewicz :

Quoted 6 lines

Dnia poniedziałek, 15 marca 2010 o 14:28:46 Nicolas Ferre napisał(a):

Quoted 1 line

Marcin, what do you think of this patch architecture and URI management?

Nice. Few notes:

1. do it all in linux_2.6.30.bb recipe

Ah? won't it be a too long recipe file for people not having to deal with at91 ?

Quoted 1 line

2. we rather user CAPS for variable names

OK.

Quoted 2 lines

3. AT91_SRC_URI = "contents of at91_kernel + contents of lnx4sam_exp3" would be better

You mean:
AT91_SRC_URI = "${AT91_KERNEL} ${LNX4SAM_EXP3}"
and:
SRC_URI_at91sam9260ek = ${AT91_SRC_URI}
...
?

Quoted 1 line

4. can't you just squash 2.6.30-at91-exp3.tar.gz into one patch?

I would like to keep a patch series in separated patches as this is what is submitted and accepted during kernel development.
Keeping single patches, we can keep a patch archive and remove individual ones from applying in a newer revision of the kernel.

Quoted 4 lines
Quoted 2 lines

The defconfig are not included in this patch and shall be sent in another patch series.

Merge those into one patch - otherwise you will make "PR bump" flood.

Ok I will after the discussion settles...

Bye,

Signature · 1 line
Nicolas Ferre
#8 lore raw
In reply to Ulf Samuelsson

Le 15/03/2010 00:18, Ulf Samuelsson :

Review

Quoted 10 lines

Do not apply .10 minor patch due to conflicts

Introduce support for:

(quoted diff) +6 -0
+	at91sam9260ek
+	at91sam9261ek
+	at91sam9g10ek
+	at91sam9g20ek
+	at91sam9g20ek_2mmc
+	at91sam9g45ek

This board name is not official name from Atmel. Be careful, it may confuse people (as there are already may boards based on this chip pair (9g45/9m10)).

Quoted 10 lines
(quoted diff) +4 -0
+	at91sam9g45ekes
+	at91sam9m10ekes
+	at91sam9rlek
+	at91sam9xeek

Leave at91sam9263ek patches as is for now.
In addition: Add support for configurable NAND partition size checksums.ini updated in another patch

[..]

Quoted 3 lines
recipes/linux/linux_2.6.30.bb +0 -0
@@ -1,6 +1,6 @@

[..]

recipes/linux/linux_2.6.30.bb DEFAULT_PREFERENCE_mpc8315e-rdb = "1" · line 45

Quoted 4 lines
recipes/linux/linux_2.6.30.bb +4 -0
+AT91_EXP_PATCHES = " \
+	${KERNEL_MINOR_0} \
+	http://maxim.org.za/AT91RM9200/2.6/2.6.30-at91.patch.gz;patch=1 \
+	ftp://www.at91.com/pub/buildroot/2.6.30-exp.2.patch.bz2;patch=1 \

NAK

The latest atmel experimental patch series is here:
ftp://ftp.linux4sam.org/pub/linux/2.6.30-at91/2.6.30-at91-exp.3.tar.gz

=> note the exp.3 and not exp.2 that you are using...

Quoted 23 lines
recipes/linux/linux_2.6.30.bb +22 -0
+	file://at91/linux-2.6.30-001-configurable-partition-size.patch.patch;patch=1 \
+	file://at91/linux-2.6.30-002-mach-at91-Kconfig.patch;patch=1 \
+	file://at91/linux-2.6.30-003-sam9m10g45ek.patch;patch=1 \
+	"
+
+SRC_URI_append_at91sam9g10ek		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9g20ek_2mmc	=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9g45ek		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9g45ekes		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9m10ekes		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9260ek		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9261ek		=	" ${AT91_EXP_PATCHES} "
+# SRC_URI_append_at91sam9263ek		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9rlek		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9xeek		=	" ${AT91_EXP_PATCHES} "
+SRC_URI_append_at91sam9rlek		=	" ${AT91_EXP_PATCHES} "
+
+SRC_URI_append_at91sam9263ek = " \
+	${KERNEL_MINOR_10} ${AUFS}	\
+	http://maxim.org.za/AT91RM9200/2.6/2.6.30-at91.patch.gz;patch=1 \
+	file://hrw-linux-2.6.30-exp.patch;patch=1 \
+	"
Signature · 1 line
Nicolas Ferre