aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-16 15:44:56 +0100
committerUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-21 17:09:20 +0100
commit4f57e807435b78fbd2371ce52a6190944bae8c18 (patch)
tree77657c08600566b014f09a01371dbdd12e990dc4
parent4339a715d0726d26dde76861feea7a6792de3559 (diff)
downloadopenembedded-4f57e807435b78fbd2371ce52a6190944bae8c18.zip
openembedded-4f57e807435b78fbd2371ce52a6190944bae8c18.tar.gz
openembedded-4f57e807435b78fbd2371ce52a6190944bae8c18.tar.bz2
Support at91 machines building new kernel
Signed-off-by: Ulf Samuelsson <ulf.samuelsson@telia.com>
-rw-r--r--conf/machine/include/at91-2.6.30a.inc39
-rw-r--r--conf/machine/include/at91-2.6.39.inc58
-rw-r--r--conf/machine/include/at91-2.6.39a.inc39
-rw-r--r--conf/machine/include/at91-lcd-noX.inc5
-rw-r--r--conf/machine/include/at91-server-xorg.inc13
-rw-r--r--conf/machine/include/at91-xserver-kdrive.inc15
6 files changed, 169 insertions, 0 deletions
diff --git a/conf/machine/include/at91-2.6.30a.inc b/conf/machine/include/at91-2.6.30a.inc
new file mode 100644
index 0000000..9540083
--- /dev/null
+++ b/conf/machine/include/at91-2.6.30a.inc
@@ -0,0 +1,39 @@
+# Common description for Atmel ARM processors
+
+TARGET_ARCH = "arm"
+#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
+SOC_FAMILY = "at91"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_VERSION_linux = "2.6.30"
+
+PREFERRED_PROVIDER_at91bootstrap = "at91bootstrap"
+PREFERRED_VERSION_at91bootstrap = "3.1.2"
+
+PREFERRED_PROVIDER_u-boot = "u-boot"
+PREFERRED_VERSION_u-boot = "2009.11"
+
+KERNEL_IMAGETYPE = "uImage"
+
+#don't try to access tty1
+USE_VT = "0"
+
+MACHINE_FEATURES = " kernel26 alsa ext2 usbgadget vfat uboot "
+EXTRA_IMAGEDEPENDS += "u-boot"
+EXTRA_IMAGEDEPENDS += "at91bootstrap"
+
+MACHINE_EXTRA_RDEPENDS += " kernel-modules "
+#MACHINE_EXTRA_RDEPENDS += " atmel-fixes "
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyS0"
+IMAGE_FSTYPES ?= "jffs2"
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
+#
+# Uncomment or add kernel modules that should be autoloaded
+#module_autoload_g_file_storage = ${@base_contains('MACHINE_FEATURES', '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
+
diff --git a/conf/machine/include/at91-2.6.39.inc b/conf/machine/include/at91-2.6.39.inc
new file mode 100644
index 0000000..2e4244d
--- /dev/null
+++ b/conf/machine/include/at91-2.6.39.inc
@@ -0,0 +1,58 @@
+# Common description for Atmel ARM processors running 2.6.39
+
+TARGET_ARCH = "arm"
+#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
+SOC_FAMILY = "at91"
+
+require conf/machine/include/tune-arm926ejs.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_VERSION_linux = "2.6.39.2"
+PREFERRED_VERSION_webkit-gtk = "1.2.3"
+PREFERRED_VERSION_tslib = "1.0+git%"
+PREFERRED_PROVIDER_bash = "bash"
+
+
+PREFERRED_PROVIDER_at91bootstrap = "at91bootstrap"
+PREFERRED_VERSION_at91bootstrap = "3.1.2"
+
+PREFERRED_PROVIDER_u-boot = "u-boot"
+PREFERRED_VERSION_u-boot = "2010.06"
+
+KERNEL_IMAGETYPE = "uImage"
+
+#don't try to access tty1
+USE_VT = "0"
+
+MACHINE_FEATURES = " kernel26 alsa ext2 usbgadget vfat uboot "
+
+# 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"
+
+EXTRA_IMAGEDEPENDS += "u-boot"
+EXTRA_IMAGEDEPENDS += "at91bootstrap"
+
+MACHINE_EXTRA_RDEPENDS += " kernel-modules "
+#MACHINE_EXTRA_RDEPENDS += " atmel-fixes "
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyS0"
+
+IMAGE_FSTYPES ?= "jffs2 ubi ubifs"
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 --pagesize=0x800 -n"
+UBI_VOLNAME = "rootfs"
+MKUBIFS_ARGS = "-m 2KiB -e 124KiB -c 1984"
+UBINIZE_ARGS = "-m 2KiB -p 128KiB -s 2048"
+
+#
+# Uncomment or add kernel modules that should be autoloaded
+#module_autoload_g_file_storage = ${@base_contains('MACHINE_FEATURES', '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)}
+
+
diff --git a/conf/machine/include/at91-2.6.39a.inc b/conf/machine/include/at91-2.6.39a.inc
new file mode 100644
index 0000000..6886c15
--- /dev/null
+++ b/conf/machine/include/at91-2.6.39a.inc
@@ -0,0 +1,39 @@
+# Common description for Atmel ARM processors
+
+TARGET_ARCH = "arm"
+#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
+SOC_FAMILY = "at91"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_VERSION_linux = "2.6.39.2"
+
+PREFERRED_PROVIDER_at91bootstrap = "at91bootstrap"
+PREFERRED_VERSION_at91bootstrap = "3.1.2"
+
+PREFERRED_PROVIDER_u-boot = "u-boot"
+PREFERRED_VERSION_u-boot = "2009.11"
+
+KERNEL_IMAGETYPE = "uImage"
+
+#don't try to access tty1
+USE_VT = "0"
+
+MACHINE_FEATURES = " kernel26 alsa ext2 usbgadget vfat uboot "
+EXTRA_IMAGEDEPENDS += "u-boot"
+EXTRA_IMAGEDEPENDS += "at91bootstrap"
+
+MACHINE_EXTRA_RDEPENDS += " kernel-modules "
+#MACHINE_EXTRA_RDEPENDS += " atmel-fixes "
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyS0"
+IMAGE_FSTYPES ?= "jffs2"
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
+#
+# Uncomment or add kernel modules that should be autoloaded
+#module_autoload_g_file_storage = ${@base_contains('MACHINE_FEATURES', '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
+
diff --git a/conf/machine/include/at91-lcd-noX.inc b/conf/machine/include/at91-lcd-noX.inc
new file mode 100644
index 0000000..37e9b29
--- /dev/null
+++ b/conf/machine/include/at91-lcd-noX.inc
@@ -0,0 +1,5 @@
+# Common description for Atmel ARM processors with LCD controller
+
+MACHINE_FEATURES += "screen touchscreen keyboard"
+
+
diff --git a/conf/machine/include/at91-server-xorg.inc b/conf/machine/include/at91-server-xorg.inc
new file mode 100644
index 0000000..735bde6
--- /dev/null
+++ b/conf/machine/include/at91-server-xorg.inc
@@ -0,0 +1,13 @@
+# Common description for Atmel ARM processors with LCD controller
+# xserver-xorg version
+
+PREFERRED_VERSION_xserver-common = "1.34"
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-input-tslib \
+ xf86-video-fbdev \
+ xf86-input-keyboard"
+
+include conf/machine/include/at91-lcd.inc
diff --git a/conf/machine/include/at91-xserver-kdrive.inc b/conf/machine/include/at91-xserver-kdrive.inc
new file mode 100644
index 0000000..f606057
--- /dev/null
+++ b/conf/machine/include/at91-xserver-kdrive.inc
@@ -0,0 +1,15 @@
+# Common description for Atmel ARM processors with LCD controller
+# xserver-kdrive version
+
+#PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+#PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-1300"
+
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+#XSERVER = "xserver-kdrive-fbdev"
+
+# Angstrom defines:
+#PREFERRED_VERSION_xserver-kdrive = "1.4.0.90"
+#PREFERRED_VERSION_xserver-kdrive = "1.6.1"
+
+include conf/machine/include/at91-lcd-noX.inc
+