summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_qemux86-64.inc
blob: 81310001ead6463af815f543460e7db7a6dbbc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Configurations to run on VirtualBox/VMWare
#
# To get wide screen than default, there are a selection of resolutions
# available:
#
#UVESA_MODE = "1024x768-32"
UVESA_MODE = "1280x1024-32"
#UVESA_MODE = "1600x1200-32"
#
# To avoid corrupt boot screen by systemd message, you can use serial
# console separated from VGA console or disable all boot messages by
# kernel command line.
#
# Configuration for serial console
QB_KERNEL_CMDLINE_APPEND_append = " console=ttyS0,115200n8"
#
# All boot message will be off
QB_KERNEL_CMDLINE_APPEND_append = " quiet"

# Build updatable image. Only takes effect when sota.bbclass is inherited
DISTRO_FEATURES_append = " sota"

# Add firmware required by Up^2 board and default Intel mPCIe wifi card
# sold by upshop.org
MACHINE_EXTRA_RRECOMMENDS_append = " \
    linux-firmware-i915 \
    linux-firmware-rtl8168 \
    linux-firmware-ibt-hw-37-8 \
    linux-firmware-iwlwifi-7265d \
    wireless-regdb-static \
"

# Image support
# NOTE: wic.{xz,bmap} are here since qemu targets override
#       AGL_DEFAULT_IMAGE_FSTYPES to not include them, but for Intel
#       we actually do want them for use on physical hardware.
AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap ${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'wic.vmdk.xz', 'wic.vmdk', d)}"
IMAGE_BOOT_FILES_sota = "u-boot-qemux86-64.rom"

# Root device
ROOT_VM = "root=PARTUUID=${DISK_SIGNATURE}-02"

# Force the virtio video device as 'vmware' doesn't always work
QB_OPT_APPEND_append = " -vga virtio"

# DRM device weston/compositor systemd unit should depend upon
WESTON_DRM_DEVICE = "dev-dri-card0.device"

# Use our own wks file
WKS_FILE="systemd-intel-corei7-64-bootdisk.wks"