aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/conf/machine
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro/conf/machine')
-rw-r--r--meta-linaro/conf/machine/genericarmv7a.conf33
-rw-r--r--meta-linaro/conf/machine/qemuarmv7a.conf10
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-linaro/conf/machine/genericarmv7a.conf b/meta-linaro/conf/machine/genericarmv7a.conf
new file mode 100644
index 00000000..d2577f69
--- /dev/null
+++ b/meta-linaro/conf/machine/genericarmv7a.conf
@@ -0,0 +1,33 @@
+#@TYPE: Machine
+#@NAME: generic armv7a machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+
+DEFAULTTUNE ?= "armv7athf-neon"
+
+require conf/machine/include/arm/arch-armv7a.inc
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+
+XSERVER ?= "xserver-xorg \
+ mesa-dri-driver-swrast \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-video-fbdev \
+ xf86-input-keyboard"
+
+MACHINE_FEATURES = "usbhost screen"
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+# Use a common kernel recipe for all QEMU machines
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+
+KERNEL_IMAGETYPE = "zImage"
+
+# Force auto-serial-console to be used by all image types
+# Ideally this would be part of core oe or as a bbclassappend,
+# but as we don't have an easy way to append a class, defining
+# it here
+EXTRA_IMAGE_FEATURES += "autoserial"
+PACKAGE_GROUP_autoserial = "auto-serial-console"
diff --git a/meta-linaro/conf/machine/qemuarmv7a.conf b/meta-linaro/conf/machine/qemuarmv7a.conf
new file mode 100644
index 00000000..ff9bd558
--- /dev/null
+++ b/meta-linaro/conf/machine/qemuarmv7a.conf
@@ -0,0 +1,10 @@
+#@TYPE: Machine
+#@NAME: arm_vexpress
+#@DESCRIPTION: arm_vexpress
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/arch-armv7a.inc
+
+KERNEL_IMAGETYPE = "zImage"
+
+SERIAL_CONSOLE = "38400n8 ttyAMA0"