Skip to contentSkip to conversation

Machine Configuration

PATCH In review Ulf Samuelsson 2 participants 2 messages Jan 12, 2010 – Jan 23, 2010 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 Machine Configuration

From: Ulf Samuelsson <[email protected]>

Add support for AT91SAM9G45EK (SAM9M10G45EK with AT91SAM9G45 chip) Board config is split up into three files to allow easier maintenance of AT91 boards.

machine/<board>.conf
machine/include/AT91.inc
machine/include/AT91-LCD.inc

A machine with an LCD controller would normally include "machine/include/AT91-LCD.inc", while a machine without would "include machine/include/AT91.inc"

---

(quoted diff) +0 -0

b/conf/machine/at91sam9g45ek.conf
new file mode 100644
index 0000000..290d120

conf/machine/at91sam9g45ek.conf new file +3 -0
@@ -0,0 +1,28 @@
+#@TYPE: Machine
+#@Name: Atmel AT91SAM9G45EK Development Platform
+#@DESCRIPTION: Machine configuration for the at91sam9g45ek development

board with a at91sam9g45-ES processor
+# Once a at91sam9g45ek development board with a production at91sam9g45 processor
+# is available we should change the recipe to use the at91sam9m10g45ek_defconfig
+
+include conf/machine/include/AT91-LCD.inc
+
+# Has linux config file in OpenEmbedded
+# Which to use, otherwise?
+# LINUX26_DEFCONFIG = "at91sam9g45ek_defconfig"
+# LINUX26_DEFCONFIG = "at91sam9m10g45ek_defconfig"
+
+#UBOOT_MACHINE = "at91sam9m10g45ek_nandflash_config" +#UBOOT_MACHINE = "at91sam9m10g45ek_dataflash_config" +UBOOT_MACHINE = "at91sam9m10g45ek_dataflash_cs0_config" +#UBOOT_MACHINE = "at91sam9m10g45ek_config"
+#UBOOT_MACHINE = "at91sam9g45ekes_nandflash_config" +#UBOOT_MACHINE = "at91sam9g45ekes_dataflash_config" +#UBOOT_MACHINE = "at91sam9g45ekes_dataflash_cs0_config" +#UBOOT_MACHINE = "at91sam9g45ekes_config"
+
+# Boot from Dataflash, so we do not have to reprogram
+# At91bootstrap/U-Boot everytime we erase the NAND flash +AT91BOOTSTRAP_BOARD = "at91sam9g45df"
+
+MACHINE_FEATURES += "usbhost"
+

(quoted diff) +0 -0

b/conf/machine/include/AT91-LCD.inc
new file mode 100644
index 0000000..3036295

conf/machine/include/AT91-LCD.inc new file +15 -0
@@ -0,0 +1,15 @@
+# Common description for Atmel ARM processors with LCD controller
+
+include conf/machine/include/AT91.inc
+
+MACHINE_FEATURES += "screen touchscreen keyboard"
+
+# Some options we disable for now
+# MACHINE_FEATURES += "apm"
+# MACHINE_FEATURES += "lcd"
+# MACHINE_FEATURES += "bluetooth wifi irda phone gps"
+# MACHINE_FEATURES += "mmc mmcroot fat"
+# MACHINE_FEATURES += "i2c spi serial"
+# MACHINE_FEATURES += "sound libogg libvorbis"
+
+
conf/machine/include/AT91.inc new file +50 -0

50 lines not on this page · raw message

'usbgadget', 'g_file_storage', '',d)}
+#module_autoload_g_ether = ${@base_contains('MACHINE_FEATURES',
'usbgadget', 'g_ether', '',d)}
+module_autoload_g_serial = ${@base_contains('MACHINE_FEATURES',
'usbgadget', 'g_serial', '',d)}
+
+require conf/machine/include/tune-arm926ejs.inc
+

Signature · 2 lines
Best Regards
Ulf Samuelsson
#1 lore raw
Quoted 1 line · On Tuesday 12 January 2010 23:45:49 Ulf Samuelsson wrote:

From: Ulf Samuelsson <[email protected]>

Sorry, the patch is line wrapped and does not apply. Could you resend the patch without linewrapping or is the issue resolved?