aboutsummaryrefslogtreecommitdiffstats
path: root/meta-steppeeagle/conf/machine/steppeeagle.conf
blob: 2f31d75257fa8bd3f7c737551f80a7bca0d159d4 (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
55
56
57
58
59
#@TYPE: Machine
#@NAME: steppeeagle

#@DESCRIPTION: Machine configuration for steppeeagle systems

POKY_DEFAULT_DISTRO_FEATURES_remove = "wayland"

PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_PROVIDER_jpeg ?= "jpeg"
PREFERRED_PROVIDER_jpeg-native ?= "jpeg-native"
PREFERRED_VERSION_linux-yocto ?= "4.1%"
PREFERRED_VERSION_gstreamer1.0-omx = "git+git%"
PREFERRED_VERSION_llvm = "3.7.1"
PREFERRED_VERSION_libav = "9.18"
PREFERRED_VERSION_mesa = "11.0.8+git%"

require conf/machine/include/tune-steppeeagle.inc

MULTILIBS ?= ""
require conf/multilib.conf

MACHINE_FEATURES += "wifi efi pcbios"

# Disable GPU if RT kernel is in use
XSERVER_X86_RADEON = "xf86-video-amd \
           ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-radeon', '', d)} \
           "
XSERVER_X86_NOGPU = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)}"
XSERVER_X86_GPU = "${@bb.utils.contains('RT_KERNEL_AMD', 'yes', "${XSERVER_X86_NOGPU}", "${XSERVER_X86_RADEON}", d)}"

XSERVER ?= "${XSERVER_X86_BASE} \
            ${XSERVER_X86_EXT} \
            ${XSERVER_X86_FBDEV} \
            ${XSERVER_X86_MODESETTING} \
            ${XSERVER_X86_GPU} \
            "

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

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

# Setup a gettys on all serial ports
SERIAL_CONSOLES = "115200;ttyUSB0"

# Make sure the kernel messages go to the VGA console and to the serial ports.
APPEND += "console=ttyUSB0,115200 console=tty0"

# Make sure the VESA VGA driver goes up on boot, we provide a generic mode here
APPEND += "vga=802"

RELEASE_IMAGE ?= "core-image-sato"

APPEND += "radeon.dpm=1"

MACHINEOVERRIDES =. "amd:amdx86:radeon:"