aboutsummaryrefslogtreecommitdiffstats
path: root/common/conf/machine/include/amd-common-configurations.inc
blob: afafb26121e9de2eacb0e0dea19a63eeb3f62974 (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
51
52
53
54
POKY_DEFAULT_DISTRO_FEATURES_remove = "wayland"

PREFERRED_PROVIDER_jpeg ?= "jpeg"
PREFERRED_PROVIDER_jpeg-native ?= "jpeg-native"
PREFERRED_PROVIDER_llvm ?= "llvm3.7.1"
PREFERRED_VERSION_linux-yocto ?= "4.4%"
PREFERRED_VERSION_mesa ?= "11.0.8+git%"
PREFERRED_VERSION_gstreamer1.0-omx ?= "git+git%"
PREFERRED_VERSION_libav ?= "9.18"
PREFERRED_VERSION_grub ?= "2.00+AUTOINC+%"
PREFERRED_VERSION_grub-efi ?= "2.00+AUTOINC+%"

MULTILIBS ?= ""
require conf/multilib.conf

MACHINE_FEATURES += "wifi efi pcbios alsa"

# QEMU does not support some of the enhanced instructions available
# on the AMD chips which causes some build time failures.
MACHINE_FEATURES_remove = "qemu-usermode"

MACHINE_EXTRA_RRECOMMENDS += "kernel-modules alsa-utils"
MACHINE_EXTRA_RRECOMMENDS += "vdpauinfo grub parted util-linux-blkid"
MACHINE_EXTRA_RRECOMMENDS += "rtc-test watchdog-test spi-test smbus-test gpio-test"
MACHINE_EXTRA_RRECOMMENDS += "amd-wdt amd-spi"
MACHINE_EXTRA_RRECOMMENDS += "${@bb.utils.contains_any("DISTRO", "mel mel-lite", "firmware-wireless", "", d)}"

RELEASE_IMAGE ?= "core-image-sato"

# Add serial consoles to kernel commandline, these should occur before the tty0
APPEND += "${KERNEL_SERIAL_CONSOLE}"

# Make sure the kernel messages go to the VGA console
APPEND += "console=tty0"

# Set a generic video mode, use vga=xxx for syslinux and
# gfxpayload=wxh for grub2
SYSLINUX_KERNEL_ARGS += "vga=803"
GRUB_OPTS_append = ";set gfxpayload=1024x768"

# We use ext4 rootfs normally so give it priority rather than trying other FS first
APPEND += "rootfstype=ext4,ext3,ext2"

APPEND += "${APPEND_ADDITIONAL}"

EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"

# Once we switch to using the xserver-nodm-init version
# from poky, following lines should be dropped
# Currently there's a debian packaging issue with it
VIRTUAL-RUNTIME_xserver_common_pn-packagegroup-core-x11 = "xserver-common"
PREFERRED_VERSION_xserver-nodm-init ?= "2.0"

SPLASH ?= "psplash"