From d34a01191ad16ffff7cfc70a71440c5b1ed6552a Mon Sep 17 00:00:00 2001 From: Daniel BORNAZ Date: Mon, 16 Sep 2019 14:23:30 +0200 Subject: Added PREEMPT_RT 4.19 kernel for intel Added the recipe for the PREEMPT_RT intel 4.19 kernel along with patches for the 10Gbps NIC and machine configuration. Addresses LXOSCR-437 and LXOSCR-439. Change-Id: If0fd91858b49c155c479c9ed66cb016f9de1b958 --- conf/machine/include/meta-intel.inc | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 conf/machine/include/meta-intel.inc (limited to 'conf/machine/include/meta-intel.inc') diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc new file mode 100644 index 0000000..d45f482 --- /dev/null +++ b/conf/machine/include/meta-intel.inc @@ -0,0 +1,45 @@ +# +# BSP variables and settings specific to the meta-intel layer. +# You must include the meta-intel layer in your bblayers.conf +# to use them. +# + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" +PREFERRED_PROVIDER_virtual/kernel_poky-tiny ?= "linux-intel" + +# Only use the Intel-tuned zlib for target builds to improve reuse +PREFERRED_PROVIDER_zlib = "zlib-intel" +PREFERRED_PROVIDER_zlib-native = "zlib-native" +PREFERRED_PROVIDER_nativesdk-zlib = "nativesdk-zlib" + +PREFERRED_VERSION_linux-intel_linuxstdbase ?= "4.19%" +PREFERRED_VERSION_linux-intel ?= "4.19%" +PREFERRED_VERSION_linux-intel-rt ?= "4.19%" + +XSERVER_X86_ASPEED_AST = "xf86-video-ast \ + " + +# include the user space intel microcode loading support in the generated images. +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode', '', d)} thermald" + +# recommended extra packages common to all intel machines +MACHINE_EXTRA_RRECOMMENDS_append = " kernel-modules linux-firmware" + +# for the early boot time kernel microcode loading support, +# merge the microcode data in the final initrd image. +INITRD_LIVE_prepend = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}" + +DISK_SIGNATURE_UUID ??= "deadbeef-dead-beef-dead-beefdeadbeef" + +EFI_PROVIDER ?= "systemd-boot" +EFI_PROVIDER_x86-x32 = "grub-efi" + +# Add general MACHINEOVERRIDE for meta-intel +MACHINEOVERRIDES =. "intel-x86-common:" + +# Definition of (more or less) suitable virtual machines. +require conf/machine/include/qemuboot-intel.inc + +# Ensure that the extra tools needed by qemu are built when building images +# and tweak machine definition to make the result more usable under qemu. +require conf/machine/include/qemu-intel.inc -- cgit v1.2.3-54-g00ecf