aboutsummaryrefslogtreecommitdiffstats
path: root/meta-snowyowl/conf/machine/snowyowl.conf
blob: 089c336b1832ae0338f13a89205ecde2842fcb39 (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
#@TYPE: Machine
#@NAME: snowyowl

#@DESCRIPTION: Machine configuration for snowyowl systems

# BSP and PATCH versions for MEL releases
BSP_VERSION = "0"
PATCH_VERSION = "0"

PREFERRED_PROVIDER_virtual/kernel ?= "${@bb.utils.contains('RT_KERNEL_AMD', 'yes', "linux-yocto-rt", "linux-yocto", d)}"
PREFERRED_VERSION_linux-yocto ?= "4.14%"
PREFERRED_VERSION_linux-yocto-rt ?= "4.14%"

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

# Add machine specific AMD features and feature pkgs here
EXTRA_IMAGE_FEATURES += "amd-feature-networking"
DPDK_PKGS_snowyowl = "${@bb.utils.contains("BBFILE_COLLECTIONS", "dpdk", "dpdk dpdk-examples dpdk-test", "", d)}"

include conf/machine/include/amd-common-configurations.inc
include conf/machine/include/amd-customer-configurations.inc

MACHINE_FEATURES_remove = "alsa"
MACHINE_EXTRA_RRECOMMENDS_remove = "vdpauinfo rtc-test alsa-utils"

# Setup a getty on all serial ports
SERIAL_CONSOLES ?= "115200;ttyS4 115200;ttyS5"

# Enable the kernel console on ttyS4/COM0
KERNEL_SERIAL_CONSOLE ?= "console=ttyS4,115200n8"

# Disable the graphical console, no graphics support for now
# this allows the serial console to be used for installation
APPEND_remove="console=tty0"

# Drop features we do not need
DISTRO_FEATURES_remove="opengl x11 alsa pulseaudio"

MACHINEOVERRIDES =. "amd:amdx86:"

# Metadata used by CodeBench for the ADE
ADE_CB_CPU = "general.cpu.zen"

# Mask out recipes for packages we do not support for
# snowyowl but require under common.
BBMASK = ".*/meta-amd/common/recipes-multimedia/mpv|.*/meta-amd/common/recipes-multimedia/v4l2apps|.*/meta-amd/common/recipes-support/libtinyxml|.*/meta-amd/common/recipes-support/numactl"