From 1bc3be8eb6c4b6c88337fcb8142d4b2037d4438e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 26 Apr 2017 23:03:27 +0200 Subject: [PATCH] sysmocom-bsc2: Add a BSC v2 where we can tune for i686 The old Geode based systems are replaced by AMD APU systems. We might build for sysmobsc v1 and v2 but would like to be able to tune for the better CPU. --- conf/machine/sysmocom-bsc-v2.conf | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 conf/machine/sysmocom-bsc-v2.conf diff --git a/conf/machine/sysmocom-bsc-v2.conf b/conf/machine/sysmocom-bsc-v2.conf new file mode 100644 index 0000000..c1a8891 --- /dev/null +++ b/conf/machine/sysmocom-bsc-v2.conf @@ -0,0 +1,43 @@ +#@TYPE: Machine +#@NAME: common_pc +#@DESCRIPTION: Machine configuration for running a common x86 + +require conf/machine/include/tune-core2.inc +require conf/machine/include/genericx86-common.inc + + +PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" +PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-diet" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" +PREFERRED_VERSION_linux-sysmocom = "${@dict([('1.5', '3.10.84+git%')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'4.9.14+git%')}" + +MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi" + +KERNEL_IMAGETYPE = "bzImage" + +IMAGE_FSTYPES = "ext4" + +# After dora core2 got renamed to core2-32 +# After dora core2 got renamed to core2-32 +DEFAULTTUNE := "${@['core2', 'core2-32']['core2-32' in d.getVar('AVAILTUNES', True)]}" + +SERIAL_CONSOLE = "115200 ttyS0" +MACHINE_CONSOLE = "console=ttyS0,115200n8" + +# We bypass swrast but we need it to be present for X to load correctly +XSERVER ?= "xserver-xf86-dri-lite \ + mesa-dri-driver-swrast \ + xf86-input-vmmouse \ + xf86-input-keyboard \ + xf86-input-evdev \ + xf86-video-vmware" + +GLIBC_ADDONS = "nptl" +GLIBC_EXTRA_OECONF = "--with-tls" + +#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "linux-firmware-rtl-nic" + +MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc"