aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/conf/machine/v1000.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/conf/machine/v1000.conf')
-rw-r--r--meta-amd-bsp/conf/machine/v1000.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-amd-bsp/conf/machine/v1000.conf b/meta-amd-bsp/conf/machine/v1000.conf
new file mode 100644
index 00000000..8b323063
--- /dev/null
+++ b/meta-amd-bsp/conf/machine/v1000.conf
@@ -0,0 +1,43 @@
+#@TYPE: Machine
+#@NAME: v1000
+
+#@DESCRIPTION: Machine configuration for v1000 systems
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+PREFERRED_VERSION_linux-yocto ?= "4.14%"
+PREFERRED_VERSION_rgp ?= "1.3.1"
+
+require conf/machine/include/tune-v1000.inc
+
+# Add machine specific AMD features and feature pkgs here
+VULKAN_PKGS_v1000 = "amdvlk vulkan vulkan-tools rgp"
+AMD_PLATFORM_SPECIFIC_PKGS_v1000 += " \
+ ${@bb.utils.contains('INCLUDE_OPENCL', 'yes', 'opencl', '', d)} \
+ "
+
+include conf/machine/include/amd-common-configurations.inc
+include conf/machine/include/amd-customer-configurations.inc
+
+# GPU
+XSERVER_X86_GPU = "xf86-video-amd \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-radeonsi', '', d)} \
+ "
+
+XSERVER ?= "${XSERVER_X86_BASE} \
+ ${XSERVER_X86_EXT} \
+ ${XSERVER_X86_FBDEV} \
+ ${XSERVER_X86_MODESETTING} \
+ ${XSERVER_X86_GPU} \
+ "
+
+KERNEL_MODULE_AUTOLOAD += "snd-soc-acp-pcm snd-soc-acp-rt286-mach amdgpu"
+MACHINE_EXTRA_RRECOMMENDS += "amdgpu-firmware grub-efi"
+MACHINE_EXTRA_RRECOMMENDS_remove = "rtc-test smbus-test grub"
+
+# Setup a getty on all serial ports
+SERIAL_CONSOLES = "115200;ttyS4 115200;ttyS5"
+
+# Enable the kernel console on ttyS4/USB0 as well
+KERNEL_SERIAL_CONSOLE ?= "console=ttyS4,115200n8"
+
+MACHINEOVERRIDES =. "amd:amdx86:amdgpu:"