summaryrefslogtreecommitdiffstats
path: root/meta-sota/conf/machine
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-08-16 12:17:17 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2016-08-16 12:26:30 +0200
commitd7b72388c217690f31c615700573e46413680907 (patch)
tree66cf0870f3b3e887af4dc9caeb83aa013d8e3e76 /meta-sota/conf/machine
parent2b33f745fcdfbf147360294f394a42660549bfd2 (diff)
Add support for emulating OSTree updates in qemux86: new live image,
u-boot that can be used as BIOS, machine that uses both and fork of poky runqemu supporting the new live image. Bug-AGL: SPEC-236 Change-Id: Id99d122c05a00eb94902e8f6907455a1e681f2a3 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'meta-sota/conf/machine')
-rw-r--r--meta-sota/conf/machine/qemux86-ota.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-sota/conf/machine/qemux86-ota.conf b/meta-sota/conf/machine/qemux86-ota.conf
new file mode 100644
index 0000000..3c58870
--- /dev/null
+++ b/meta-sota/conf/machine/qemux86-ota.conf
@@ -0,0 +1,37 @@
+#@TYPE: Machine
+#@NAME: common_pc
+#@DESCRIPTION: Machine configuration for running a common x86
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
+PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-i586.inc
+
+KERNEL_IMAGETYPE = "bzImage"
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-buildrom"
+UBOOT_MACHINE = "qemu-x86_defconfig"
+
+IMAGE_CLASSES += "image_types_ota"
+IMAGE_FSTYPES += "otaimg"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
+
+XSERVER = "xserver-xorg \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
+ xf86-input-vmmouse \
+ xf86-input-keyboard \
+ xf86-input-evdev \
+ xf86-video-cirrus \
+ xf86-video-fbdev \
+ xf86-video-vmware"
+
+MACHINE_FEATURES += "x86"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
+
+MACHINEOVERRIDES .= ":qemux86"
+KMACHINE = "qemux86"