[Buildroot] [PATCH] Add Atme at91sam9m10ekes, l at91sam9m10g45ek, at91sam9g10ek, at91sam9rlek boards support.

Wu, Josh Josh.wu at atmel.com
Mon Aug 23 05:27:32 UTC 2010


Hi, all

Since in the Buildroot there are many AT91 boards support are out of date. I add this patch to support AT91SAM9M10EKES, AT91SAM9M10G45EK and other old boards like 9G10EK, 9RLEK.

It seems in the next release Buildroot will change a lot in the board's structure. I hope 2010.08 can support the AT91 latest board.

Here is the patch to add at91sam9m10ekes,l at91sam9m10g45ek, at91sam9g10ek, at91sam9rlek boards support. I will also post another patch to add the board default configuration file.


>From 157ccb086f81f38fc4b8f97386ea6a5e3bded68e Mon Sep 17 00:00:00 2001
From: josh.wu <josh.wu at atmel.com>
Date: Mon, 23 Aug 2010 11:43:13 +0800
Subject: [PATCH 1/3] Add Atmel at91sam9rlek, at91sam9g10ek, at91sam9m10ekes, at91sam9m10g45ek boards.


Signed-off-by: josh.wu <josh.wu at atmel.com>
---
 target/device/Atmel/AT91_Config.in |   33 +++++++++++++++++++++++++++++++++
 target/device/Atmel/Config.in      |    5 ++++-
 2 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/target/device/Atmel/AT91_Config.in b/target/device/Atmel/AT91_Config.in
index 77b01bf..e9974c5 100644
--- a/target/device/Atmel/AT91_Config.in
+++ b/target/device/Atmel/AT91_Config.in
@@ -82,6 +82,15 @@ config BR2_TARGET_AT91SAM9261
 	help
 	  Atmel AT91SAM9261 ARM based systems
 
+config BR2_TARGET_AT91SAM9G10
+	bool "Atmel AT91SAM9G10 Microprocessor"
+	depends on BR2_TARGET_AT91
+	depends on !BR2_TARGET_ATMEL_NET
+	depends on !BR2_TARGET_ATMEL_FPDSP
+	depends on !BR2_TARGET_ATMEL_MPB
+	help
+	  Atmel AT91SAM9G10 ARM based systems
+
 config BR2_TARGET_AT91SAM9261S
 	bool "Atmel AT91SAM9261S Microprocessor"
 	depends on BR2_TARGET_AT91
@@ -257,6 +266,14 @@ config BR2_TARGET_AT91SAM9261EK
 	help
 	  The Atmel AT91SAM9261 Development Board
 
+config BR2_TARGET_AT91SAM9G10EK
+	bool "Atmel AT91SAM9G10EK"
+	depends on BR2_TARGET_AT91SAM9G10
+	select BR2_BOOTSOURCE_DATAFLASH
+	select BR2_BOOTSOURCE_NANDFLASH
+	help
+	  The Atmel AT91SAM9G10 Development Board
+
 config BR2_TARGET_AT91SAM9RL64EK
 	bool "Atmel AT91SAM9RL64EK"
 	depends on BR2_TARGET_AT91SAM9RL64
@@ -283,6 +300,22 @@ config BR2_TARGET_AT91SAM9G45EKES
 	help
 	  The Atmel AT91SAM9G45 Development Board
 
+config BR2_TARGET_AT91SAM9M10EKES
+	bool "Atmel AT91SAM9M10EKES"
+	depends on BR2_TARGET_AT91SAM9M10
+	select BR2_BOOTSOURCE_DATAFLASHCARD
+	select BR2_BOOTSOURCE_NANDFLASH
+	help
+	  The Atmel AT91SAM9M10 Development Board
+
+config BR2_TARGET_AT91SAM9M10G45EK
+	bool "Atmel AT91SAM9M10G45EK"
+	depends on BR2_TARGET_AT91SAM9M10
+	select BR2_BOOTSOURCE_DATAFLASHCARD
+	select BR2_BOOTSOURCE_NANDFLASH
+	help
+	  The Atmel AT91SAM9M10G45 Development Board
+
 config BR2_TARGET_AT572D940DCM
 	bool "Atmel AT572D940 Diopsis Computer Module"
 	depends on BR2_TARGET_AT572D940HF
diff --git a/target/device/Atmel/Config.in b/target/device/Atmel/Config.in
index 1433af4..a188b2e 100644
--- a/target/device/Atmel/Config.in
+++ b/target/device/Atmel/Config.in
@@ -18,11 +18,14 @@ config BR2_BOARD_NAME
 	default	"at91sam9261ek"		if	BR2_TARGET_AT91SAM9261EK
 	default	"at91sam9262ek"		if	BR2_TARGET_AT91SAM9262EK
 	default	"at91sam9263ek"		if	BR2_TARGET_AT91SAM9263EK
+	default	"at91sam9rlek"		if	BR2_TARGET_AT91SAM9RL64EK
 	default	"at91sam9xeek"		if	BR2_TARGET_AT91SAM9XEEK
+	default	"at91sam9g10ek"		if	BR2_TARGET_AT91SAM9G10EK
 	default	"at91sam9g20ek"		if	BR2_TARGET_AT91SAM9G20EK
 	default	"at91sam9g20dfc"	if	BR2_TARGET_AT91SAM9G20DFC
 	default "at91sam9g45ekes"	if	BR2_TARGET_AT91SAM9G45EKES
-	default	"at91sam9m10ek"		if	BR2_TARGET_AT91SAM9M10EK
+	default	"at91sam9m10ekes"	if	BR2_TARGET_AT91SAM9M10EKES
+	default	"at91sam9m10g45ek"	if	BR2_TARGET_AT91SAM9M10G45EK
 	default	"at91sam9m10dfc"	if	BR2_TARGET_AT91SAM9M10DFC
 	default	"atstk100x"		if	BR2_TARGET_AVR32_ATSTK1002
 	default	"atstk1005"		if	BR2_TARGET_AVR32_ATSTK1005
-- 
1.6.3.3


Thank you.
Best Regards,
Josh Wu



More information about the buildroot mailing list