3915a5e470fcec1ada4398029eb78f01f214939b
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_qemux86-64.inc
1 # Configurations to run on VirtualBox/VMWare
2 #
3 # To get wide screen than default, there are a selection of resolutions
4 # available:
5 #
6 #UVESA_MODE = "1024x768-32"
7 UVESA_MODE = "1280x1024-32"
8 #UVESA_MODE = "1600x1200-32"
9 #
10 # To avoid corrupt boot screen by systemd message, you can use serial
11 # console separated from VGA console or disable all boot messages by
12 # kernel command line.
13 #
14 # Configuration for serial console
15 QB_KERNEL_CMDLINE_APPEND_append = " console=ttyS0,115200n8"
16 #
17 # All boot message will be off
18 QB_KERNEL_CMDLINE_APPEND_append = " quiet"
19
20 # Build updatable image. Only takes effect when sota.bbclass is inherited
21 DISTRO_FEATURES_append = " sota"
22
23 # Add firmware required by Up^2 board and default Intel mPCIe wifi card
24 # sold by upshop.org
25 MACHINE_EXTRA_RRECOMMENDS_append = " \
26     linux-firmware-i915 \
27     linux-firmware-rtl8168 \
28     linux-firmware-ibt-hw-37-8 \
29     linux-firmware-iwlwifi-7265d \
30     wireless-regdb-static \
31 "
32
33 # Image support
34 # NOTE: wic.{xz,bmap} are here since qemu targets override
35 #       AGL_DEFAULT_IMAGE_FSTYPES to not include them, but for Intel
36 #       we actually do want them for use on physical hardware.
37 AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap ${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'wic.vmdk.xz', 'wic.vmdk', d)}"
38 IMAGE_BOOT_FILES_sota = "u-boot-qemux86-64.rom"
39
40 # Root device
41 ROOT_VM = "root=PARTUUID=${DISK_SIGNATURE}-02"
42
43 # Force the virtio video device as 'vmware' doesn't always work
44 QB_OPT_APPEND_append = " -vga virtio"
45
46 # Use our own wks file
47 WKS_FILE="systemd-intel-corei7-64-bootdisk.wks"