aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-06-20 11:11:16 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2017-06-20 09:16:08 +0000
commit9cac590e8861b29616dd42015159e3037e9462eb (patch)
tree2e45f0f80f1b551dca7c34a9c4cb1dff20d66af4 /meta-linaro
parentf528565ad490f50308804fa6c9ac853f15e219ec (diff)
downloadmeta-linaro-9cac590e8861b29616dd42015159e3037e9462eb.tar.gz
meta-linaro: move genericarmv8*.conf machines
The generic machines were initially added in meta-aarch64 which is about to be deprecated. Let's move the generic v8 machines in meta-linaro from now on. Change-Id: Iff427d984b38ea2d9430ab82f5100181877a2238 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'meta-linaro')
-rw-r--r--meta-linaro/conf/machine/genericarmv8.conf37
-rw-r--r--meta-linaro/conf/machine/genericarmv8b.conf11
2 files changed, 48 insertions, 0 deletions
diff --git a/meta-linaro/conf/machine/genericarmv8.conf b/meta-linaro/conf/machine/genericarmv8.conf
new file mode 100644
index 00000000..27052ec0
--- /dev/null
+++ b/meta-linaro/conf/machine/genericarmv8.conf
@@ -0,0 +1,37 @@
+#@TYPE: Machine
+#@NAME: generic armv8 machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+
+require conf/machine/include/arm/arch-armv8.inc
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+
+XSERVER ?= "xserver-xorg \
+ mesa-driver-swrast \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-video-fbdev \
+ xf86-input-keyboard"
+
+MACHINE_FEATURES = ""
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
+
+KERNEL_IMAGETYPE = "Image"
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+#SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# 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"
+FEATURE_PACKAGES_autoserial = "auto-serial-console"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
diff --git a/meta-linaro/conf/machine/genericarmv8b.conf b/meta-linaro/conf/machine/genericarmv8b.conf
new file mode 100644
index 00000000..96836a41
--- /dev/null
+++ b/meta-linaro/conf/machine/genericarmv8b.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: generic armv8 big endian machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+DEFAULTTUNE = "aarch64_be"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
+
+require conf/machine/genericarmv8.conf
+
+# No qemu support, yet
+MACHINE_FEATURES_remove = "qemu-usermode"