Additional AT91 machine configurations (untested, and requires AT91SAM9G45EK patchset before use)
PATCH 1/1 Additional AT91 machine configurations (untested, and requires AT91SAM9G45EK patchset before use)
From: Ulf Samuelsson <[email protected]>
Add machine configurations using the two new include files provided by the AT91SAM9G45 BSP
(AT91.inc and AT91-LCD.inc in machine/include)
These have not been tested on a board yet, but will allow other people to test and perhaps merge.
---
conf/machine/at91cap9adk.conf +0 -2
@@ -1,28 +1,14 @@ #@TYPE: Machine -#@Name: Atmel AT91CAP9ADK Development Platform -#@DESCRIPTION: Machine configuration for the at91cap9adk development
board with a at91cap9500 processor
+#@Name: Atmel AT91CAP9STK Development Platform +#@DESCRIPTION: Machine configuration for the at91cap9stk development board with a at91cap9500 processor
-TARGET_ARCH = "arm"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_VERSION_linux = "2.6.28"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+include conf/machine/include/AT91-LCD.inc
-KERNEL_IMAGETYPE = "uImage"
-UBOOT_MACHINE = "at91cap9adk_config"
+# Has no linux config file in OpenEmbedded
+LINUX26_DEFCONFIG = "at91cap9adk_defconfig"
+UBOOT_MACHINE = "at91cap9stk_config"
+AT91BOOTSTRAP_BOARD = "at91cap9stk"
-PREFERRED_VERSION_at91bootstrap = "2.10"
+MACHINE_FEATURES += "usbhost"
-#don't try to access tty1
-USE_VT = "0"
-
-MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget screen touchscreen"
-EXTRA_IMAGEDEPENDS += "u-boot"
-#EXTRA_IMAGEDEPENDS += "at91bootstrap"
-
-# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "jffs2"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" -
-require conf/machine/include/tune-arm926ejs.inc
(quoted diff) +0 -0
b/conf/machine/at91sam9260ek.conf
index 9a7ca9a..c112f59 100644
conf/machine/at91sam9260ek.conf +0 -0
@@ -2,28 +2,12 @@ #@Name: Atmel AT91SAM9260EK Development Platform #@DESCRIPTION: Machine configuration for the at91sam9260ek development
board with a at91sam9260 processor
-TARGET_ARCH = "arm"
-#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_VERSION_linux = "2.6.28"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+include conf/machine/include/AT91.inc
-KERNEL_IMAGETYPE = "uImage"
+# Has linux config file in OpenEmbedded
+# LINUX26_DEFCONFIG = "at91sam9260ek_defconfig"
UBOOT_MACHINE = "at91sam9260ek_config"
+AT91BOOTSTRAP_BOARD = "at91sam9260ek"
-PREFERRED_VERSION_at91bootstrap = "2.10"
-
-#don't try to access tty1
-USE_VT = "0"
-
-MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget" -EXTRA_IMAGEDEPENDS += "u-boot"
-EXTRA_IMAGEDEPENDS += "at91bootstrap"
-
-# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "jffs2"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" -
-require conf/machine/include/tune-arm926ejs.inc +MACHINE_FEATURES += "usbhost"
(quoted diff) +0 -0
b/conf/machine/at91sam9261ek.conf
index 79f275f..dee2206 100644
conf/machine/at91sam9261ek.conf +0 -0
@@ -2,28 +2,13 @@ #@Name: Atmel AT91SAM9261EK Development Platform #@DESCRIPTION: Machine configuration for the at91sam9261ek development
board with a at91sam9261 processor
-TARGET_ARCH = "arm"
-#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_VERSION_linux = "2.6.28"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+include conf/machine/include/AT91-LCD.inc
-KERNEL_IMAGETYPE = "uImage"
+# Has linux config file in OpenEmbedded
+# LINUX26_DEFCONFIG = "at91sam9261ek_defconfig"
UBOOT_MACHINE = "at91sam9261ek_config"
+AT91BOOTSTRAP_BOARD = "at91sam9261ek"
-PREFERRED_VERSION_at91bootstrap = "2.10"
+MACHINE_FEATURES += "usbhost"
-#don't try to access tty1
-USE_VT = "0"
-
-MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget screen touchscreen"
-EXTRA_IMAGEDEPENDS += "u-boot"
-EXTRA_IMAGEDEPENDS += "at91bootstrap"
-
-# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "jffs2"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" -
-require conf/machine/include/tune-arm926ejs.inc
(quoted diff) +0 -0
b/conf/machine/at91sam9263ek.conf
index f052170..ef07360 100644
conf/machine/at91sam9263ek.conf +0 -0
@@ -2,29 +2,12 @@ #@Name: Atmel AT91SAM9263EK Development Platform #@DESCRIPTION: Machine configuration for the at91sam9263ek development
board with a at91sam9263 processor
-TARGET_ARCH = "arm"
-#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_VERSION_linux = "2.6.28"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+include conf/machine/include/AT91-LCD.inc
-KERNEL_IMAGETYPE = "uImage"
+# Has linux config file in OpenEmbedded
+# LINUX26_DEFCONFIG = "at91sam9263ek_defconfig"
UBOOT_MACHINE = "at91sam9263ek_config"
+AT91BOOTSTRAP_BOARD = "at91sam9263ek"
-PREFERRED_VERSION_at91bootstrap = "2.10"
-
-#don't try to access tty1
-USE_VT = "0"
-
-MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget screen touchscreen"
-EXTRA_IMAGEDEPENDS += "u-boot"
-EXTRA_IMAGEDEPENDS += "at91bootstrap"
-
-# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "jffs2"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" -
-require conf/machine/include/tune-arm926ejs.inc
-
+MACHINE_FEATURES += "usbhost"
(quoted diff) +0 -0
b/conf/machine/at91sam9g20ek.conf
index 7dc6ba0..2cc7016 100644
conf/machine/at91sam9g20ek.conf +0 -0
@@ -2,26 +2,13 @@ #@Name: Atmel AT91SAM9G20EK Development Platform #@DESCRIPTION: Machine configuration for the at91sam9g20ek development
board with a at91sam9g20 processor
-TARGET_ARCH = "arm"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_VERSION_linux = "2.6.28"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+include conf/machine/include/AT91.inc
-KERNEL_IMAGETYPE = "uImage"
+# Has linux config file in OpenEmbedded
+# LINUX26_DEFCONFIG = "at91sam9g20ek_defconfig"
UBOOT_MACHINE = "at91sam9g20ek_config"
+AT91BOOTSTRAP_BOARD = "at91sam9g20ek"
-PREFERRED_VERSION_at91bootstrap = "2.10"
+MACHINE_FEATURES += "usbhost"
-#don't try to access tty1
-USE_VT = "0"
-
-MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget" -EXTRA_IMAGEDEPENDS += "at91bootstrap u-boot"
-
-# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "jffs2"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" -
-require conf/machine/include/tune-arm926ejs.inc
conf/machine/at91sam9rlek.conf +0 -0
@@ -2,29 +2,13 @@ #@Name: Atmel AT91SAM9RLEK Development Platform #@DESCRIPTION: Machine configuration for the at91sam9rlek development
board with a at91sam9rl64 processor
-TARGET_ARCH = "arm"
-#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_VERSION_linux = "2.6.28"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+include conf/machine/include/AT91-LCD.inc
-KERNEL_IMAGETYPE = "uImage"
+# Has no linux config file in OpenEmbedded
+LINUX26_DEFCONFIG = "at91sam9rlek_defconfig"
UBOOT_MACHINE = "at91sam9rlek_config"
+AT91BOOTSTRAP_BOARD = "at91sam9rlek"
-PREFERRED_VERSION_at91bootstrap = "2.10"
-
-#don't try to access tty1
-USE_VT = "0"
-
-MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget screen touchscreen"
-EXTRA_IMAGEDEPENDS += "u-boot"
-#EXTRA_IMAGEDEPENDS += "at91bootstrap"
-
-# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "jffs2"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" -
-require conf/machine/include/tune-arm926ejs.inc
+# MACHINE_FEATURES += "usbhost" - no host on this one!
Signature · 2 lines
Best Regards Ulf Samuelsson