#@TYPE: Machine #@NAME: amdfalconx86 #@DESCRIPTION: Machine configuration for amdfalconx86 systems PREFERRED_PROVIDER_virtual/kernel ?= "${@bb.utils.contains('RT_KERNEL_AMD', 'yes', "linux-yocto-rt", "linux-yocto", d)}" PREFERRED_VERSION_linux-yocto-rt ?= "4.4%" require conf/machine/include/tune-amdfalconx86.inc # Add machine specific AMD features and feature pkgs here EXTRA_IMAGE_FEATURES += "amd-feature-graphics amd-feature-debug-profile" VULKAN_PKGS_amdfalconx86 = "glslang spirv-tools vulkan-loader-layers vulkan-tools vulkan-samples" CODEXL_PKGS_amdfalconx86 = "codexl codexl-examples" include conf/machine/include/amd-common-configurations.inc include conf/machine/include/amd-customer-configurations.inc # Disable GPU if RT kernel is in use XSERVER_X86_AMDGPU = "xf86-video-amd \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-radeonsi', '', 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_AMDGPU}", d)}" XSERVER ?= "${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_FBDEV} \ ${XSERVER_X86_MODESETTING} \ ${XSERVER_X86_GPU} \ " MACHINE_EXTRA_RRECOMMENDS += "${@bb.utils.contains('RT_KERNEL_AMD', 'yes', "", "amdgpu-firmware amd-acp-rt286-load", d)}" KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('RT_KERNEL_AMD', 'yes', "", "snd-soc-acp-pcm snd-soc-acp-rt286-mach", d)}" # Setup a getty on all serial ports # ttyS4/ttyS5 are only needed for Bettongs where console doesn't # work on ttyS0/ttyS1 so we hope to at least get a getty running SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyUSB0 115200;ttyS4 115200;ttyS5" # Enable the kernel console on ttyS0/COM0 KERNEL_SERIAL_CONSOLE ?= "console=ttyS0,115200n8" # Enable powerplay APPEND += "amdgpu.powerplay=1" # Disable GPU powergating as a workaround APPEND += "amdgpu.pg_mask=0" TOOLCHAIN_HOST_TASK_append_mel = " ${@bb.utils.contains('INCLUDE_VULKAN', 'yes', "nativesdk-glslang", "", d)}" MACHINEOVERRIDES =. "amd:amdx86:amdgpu:" # Metadata used by CodeBench for the ADE ADE_CB_CPU = "general.cpu.excavator"