mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
Leaf Hill BSP has specific kernel configuration in yocto-kernel-cache for kernel v4.1. We found some issue where we can't overwrite the existing kernel configs in yocto-kernel-cache from developer's custom meta layer. Root cause analysis has shown that the usage of KERNEL_FEATURES in kernel recipes and local.conf to pick up BSP specific configs from kernel-meta is inappropriate. KERNEL_FEATURES should always and only used for adding configuration or features to the build. A new variable "BSP_SUBTYPE" has been created to resolve this issue. Suggested-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: intel-corei7-64
|
|
|
|
#@DESCRIPTION: Machine configuration for 64 bit Intel Core i7 CPU (and later) with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
|
|
|
|
require conf/machine/include/meta-intel.inc
|
|
require conf/machine/include/intel-corei7-64-common.inc
|
|
require conf/machine/include/intel-common-pkgarch.inc
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
|
PREFERRED_VERSION_linux-yocto ?= "4.1%"
|
|
|
|
MACHINE_FEATURES += "pcbios efi"
|
|
MACHINE_FEATURES += "va-impl-intel"
|
|
MACHINE_FEATURES += "wifi 3g nfc"
|
|
MACHINE_FEATURES += "intel-ucode"
|
|
|
|
MACHINE_HWCODECS ?= "va-intel gstreamer-vaapi-1.0"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware lms8"
|
|
|
|
XSERVER ?= "${XSERVER_X86_BASE} \
|
|
${XSERVER_X86_EXT} \
|
|
${XSERVER_X86_FBDEV} \
|
|
${XSERVER_X86_I915} \
|
|
${XSERVER_X86_I965} \
|
|
${XSERVER_X86_MATROX_MGA} \
|
|
${XSERVER_X86_MODESETTING} \
|
|
${XSERVER_X86_VESA} \
|
|
"
|
|
|
|
SYSLINUX_OPTS = "serial 0 115200"
|
|
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0"
|
|
SERIAL_CONSOLES_CHECK = "ttyS2 ttyS0"
|
|
APPEND += "console=ttyS2,115200n8 console=ttyS0,115200 console=tty0"
|
|
APPEND += "${@bb.utils.contains('BSP_SUBTYPE', 'leafhill', 'reboot=efi kmemleak=off i915.enable_ipc=1', '', d)}"
|