diff options
| -rw-r--r-- | conf/layer.conf | 2 | ||||
| -rw-r--r-- | conf/machine/include/meta-intel.inc | 8 | ||||
| -rw-r--r-- | conf/machine/intel-core2-32.conf | 2 | ||||
| -rw-r--r-- | conf/machine/intel-corei7-64.conf | 2 | ||||
| -rw-r--r-- | conf/machine/intel-skylake-64.conf | 2 | ||||
| -rw-r--r-- | lib/oeqa/runtime/cases/intel_vaapi_driver.py | 2 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-intel-rt_6.18.bb (renamed from recipes-kernel/linux/linux-intel-rt_6.12.bb) | 12 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-intel_6.18.bb (renamed from recipes-kernel/linux/linux-intel_6.12.bb) | 12 | ||||
| -rw-r--r-- | recipes-kernel/perf/perf.bbappend | 17 |
9 files changed, 38 insertions, 21 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index a9de1e2a..32736255 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
| @@ -19,7 +19,7 @@ LAYERRECOMMENDS_intel = "dpdk" | |||
| 19 | # This should only be incremented on significant changes that will | 19 | # This should only be incremented on significant changes that will |
| 20 | # cause compatibility issues with other layers | 20 | # cause compatibility issues with other layers |
| 21 | LAYERVERSION_intel = "5" | 21 | LAYERVERSION_intel = "5" |
| 22 | LAYERSERIES_COMPAT_intel = "whinlatter" | 22 | LAYERSERIES_COMPAT_intel = "wrynose" |
| 23 | 23 | ||
| 24 | BBFILES_DYNAMIC += " \ | 24 | BBFILES_DYNAMIC += " \ |
| 25 | clang-revival-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \ | 25 | clang-revival-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \ |
diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc index c98aa78a..0942e777 100644 --- a/conf/machine/include/meta-intel.inc +++ b/conf/machine/include/meta-intel.inc | |||
| @@ -7,10 +7,10 @@ | |||
| 7 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" | 7 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" |
| 8 | PREFERRED_PROVIDER_virtual/kernel:poky-tiny ?= "linux-intel" | 8 | PREFERRED_PROVIDER_virtual/kernel:poky-tiny ?= "linux-intel" |
| 9 | 9 | ||
| 10 | PREFERRED_VERSION_linux-intel ?= "6.12%" | 10 | PREFERRED_VERSION_linux-intel ?= "6.18%" |
| 11 | PREFERRED_VERSION_linux-intel-rt ?= "6.12%" | 11 | PREFERRED_VERSION_linux-intel-rt ?= "6.18%" |
| 12 | PREFERRED_VERSION_linux-intel:poky-altcfg ?= "6.12%" | 12 | PREFERRED_VERSION_linux-intel:poky-altcfg ?= "6.18%" |
| 13 | PREFERRED_VERSION_linux-intel-rt:poky-altcfg ?= "6.12%" | 13 | PREFERRED_VERSION_linux-intel-rt:poky-altcfg ?= "6.18%" |
| 14 | 14 | ||
| 15 | # Need to point to latest version of libva needed for media components | 15 | # Need to point to latest version of libva needed for media components |
| 16 | PREFERRED_PROVIDER_libva = "libva-intel" | 16 | PREFERRED_PROVIDER_libva = "libva-intel" |
diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf index 5b134dc3..52383170 100644 --- a/conf/machine/intel-core2-32.conf +++ b/conf/machine/intel-core2-32.conf | |||
| @@ -11,7 +11,7 @@ MACHINE_FEATURES += "pcbios efi" | |||
| 11 | MACHINE_FEATURES += "wifi 3g nfc" | 11 | MACHINE_FEATURES += "wifi 3g nfc" |
| 12 | MACHINE_FEATURES += "intel-ucode" | 12 | MACHINE_FEATURES += "intel-ucode" |
| 13 | 13 | ||
| 14 | MACHINE_HWCODECS ?= "intel-vaapi-driver gstreamer1.0-vaapi" | 14 | MACHINE_HWCODECS ?= "intel-vaapi-driver gstreamer1.0-plugins-bad" |
| 15 | 15 | ||
| 16 | XSERVER ?= "${XSERVER_X86_BASE} \ | 16 | XSERVER ?= "${XSERVER_X86_BASE} \ |
| 17 | ${XSERVER_X86_EXT} \ | 17 | ${XSERVER_X86_EXT} \ |
diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf index 947f72d4..bd1f31fa 100644 --- a/conf/machine/intel-corei7-64.conf +++ b/conf/machine/intel-corei7-64.conf | |||
| @@ -11,7 +11,7 @@ MACHINE_FEATURES += "pcbios efi" | |||
| 11 | MACHINE_FEATURES += "wifi 3g nfc" | 11 | MACHINE_FEATURES += "wifi 3g nfc" |
| 12 | MACHINE_FEATURES += "intel-ucode" | 12 | MACHINE_FEATURES += "intel-ucode" |
| 13 | 13 | ||
| 14 | MACHINE_HWCODECS ?= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'intel-media-driver vpl-gpu-rt', d)} gstreamer1.0-vaapi" | 14 | MACHINE_HWCODECS ?= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'intel-media-driver vpl-gpu-rt', d)} gstreamer1.0-plugins-bad" |
| 15 | 15 | ||
| 16 | # Enable optional dpdk: | 16 | # Enable optional dpdk: |
| 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-corei7-64" | 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-corei7-64" |
diff --git a/conf/machine/intel-skylake-64.conf b/conf/machine/intel-skylake-64.conf index bfaf08dd..74fb9797 100644 --- a/conf/machine/intel-skylake-64.conf +++ b/conf/machine/intel-skylake-64.conf | |||
| @@ -12,7 +12,7 @@ MACHINE_FEATURES += "efi" | |||
| 12 | MACHINE_FEATURES += "wifi 3g nfc" | 12 | MACHINE_FEATURES += "wifi 3g nfc" |
| 13 | MACHINE_FEATURES += "intel-ucode" | 13 | MACHINE_FEATURES += "intel-ucode" |
| 14 | 14 | ||
| 15 | MACHINE_HWCODECS ?= "intel-media-driver vpl-gpu-rt gstreamer1.0-vaapi" | 15 | MACHINE_HWCODECS ?= "intel-media-driver vpl-gpu-rt gstreamer1.0-plugins-bad" |
| 16 | 16 | ||
| 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-skylake-64" | 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-skylake-64" |
| 18 | COMPATIBLE_MACHINE:pn-dpdk-module = "intel-skylake-64" | 18 | COMPATIBLE_MACHINE:pn-dpdk-module = "intel-skylake-64" |
diff --git a/lib/oeqa/runtime/cases/intel_vaapi_driver.py b/lib/oeqa/runtime/cases/intel_vaapi_driver.py index 31e11a81..a1182088 100644 --- a/lib/oeqa/runtime/cases/intel_vaapi_driver.py +++ b/lib/oeqa/runtime/cases/intel_vaapi_driver.py | |||
| @@ -10,7 +10,7 @@ class VaapiDriverTest(OERuntimeTestCase): | |||
| 10 | 10 | ||
| 11 | @OEHasPackage(['gstreamer1.0-plugins-base']) | 11 | @OEHasPackage(['gstreamer1.0-plugins-base']) |
| 12 | @OEHasPackage(['gstreamer1.0-plugins-good']) | 12 | @OEHasPackage(['gstreamer1.0-plugins-good']) |
| 13 | @OEHasPackage(['gstreamer1.0-vaapi']) | 13 | @OEHasPackage(['gstreamer1.0-plugins-bad']) |
| 14 | @OEHasPackage(['intel-vaapi-driver']) | 14 | @OEHasPackage(['intel-vaapi-driver']) |
| 15 | def test_gstreamer_can_encode_with_intel_vaapi_driver(self): | 15 | def test_gstreamer_can_encode_with_intel_vaapi_driver(self): |
| 16 | (status, output) = self.target.run('gst-inspect-1.0 vaapi') | 16 | (status, output) = self.target.run('gst-inspect-1.0 vaapi') |
diff --git a/recipes-kernel/linux/linux-intel-rt_6.12.bb b/recipes-kernel/linux/linux-intel-rt_6.18.bb index e0f6f1f5..8dd4f027 100644 --- a/recipes-kernel/linux/linux-intel-rt_6.12.bb +++ b/recipes-kernel/linux/linux-intel-rt_6.18.bb | |||
| @@ -12,8 +12,8 @@ python () { | |||
| 12 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") | 12 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | KBRANCH = "6.12/linux" | 15 | KBRANCH = "6.18/linux" |
| 16 | KMETA_BRANCH = "yocto-6.12" | 16 | KMETA_BRANCH = "yocto-6.18" |
| 17 | 17 | ||
| 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 19 | 19 | ||
| @@ -21,13 +21,13 @@ DEPENDS += "elfutils-native openssl-native util-linux-native" | |||
| 21 | 21 | ||
| 22 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" | 22 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" |
| 23 | 23 | ||
| 24 | LINUX_VERSION ?= "6.12.61" | 24 | LINUX_VERSION ?= "6.18.15" |
| 25 | SRCREV_machine ?= "7190df9cb5fc10c673e960b7144d470fcd373627" | 25 | SRCREV_machine ?= "16b46595039e12fe48cef4b96a78e3e8061508e5" |
| 26 | SRCREV_meta ?= "46ae7e7d4ce1ee55091957bff63e0f54a761a93d" | 26 | SRCREV_meta ?= "bc293057a14f94dd50838a399bd8758a6766b877" |
| 27 | 27 | ||
| 28 | LINUX_KERNEL_TYPE = "preempt-rt" | 28 | LINUX_KERNEL_TYPE = "preempt-rt" |
| 29 | 29 | ||
| 30 | # Functionality flags | 30 | # Functionality flags |
| 31 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc" | 31 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc" |
| 32 | 32 | ||
| 33 | UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.12.(\d+)-linux-(\d+)T(\d+)Z)$" | 33 | UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.18.(\d+)-linux-(\d+)T(\d+)Z)$" |
diff --git a/recipes-kernel/linux/linux-intel_6.12.bb b/recipes-kernel/linux/linux-intel_6.18.bb index aa8817f0..de20eb51 100644 --- a/recipes-kernel/linux/linux-intel_6.12.bb +++ b/recipes-kernel/linux/linux-intel_6.18.bb | |||
| @@ -2,8 +2,8 @@ require linux-intel.inc | |||
| 2 | 2 | ||
| 3 | SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \ | 3 | SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \ |
| 4 | " | 4 | " |
| 5 | KBRANCH = "6.12/linux" | 5 | KBRANCH = "6.18/linux" |
| 6 | KMETA_BRANCH = "yocto-6.12" | 6 | KMETA_BRANCH = "yocto-6.18" |
| 7 | 7 | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 9 | 9 | ||
| @@ -11,13 +11,13 @@ DEPENDS += "elfutils-native openssl-native util-linux-native" | |||
| 11 | 11 | ||
| 12 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" | 12 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" |
| 13 | 13 | ||
| 14 | LINUX_VERSION ?= "6.12.61" | 14 | LINUX_VERSION ?= "6.18.15" |
| 15 | SRCREV_machine ?= "7190df9cb5fc10c673e960b7144d470fcd373627" | 15 | SRCREV_machine ?= "16b46595039e12fe48cef4b96a78e3e8061508e5" |
| 16 | SRCREV_meta ?= "46ae7e7d4ce1ee55091957bff63e0f54a761a93d" | 16 | SRCREV_meta ?= "bc293057a14f94dd50838a399bd8758a6766b877" |
| 17 | 17 | ||
| 18 | # Functionality flags | 18 | # Functionality flags |
| 19 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc \ | 19 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc \ |
| 20 | features/security/security.scc \ | 20 | features/security/security.scc \ |
| 21 | features/intel-npu/intel-npu.scc" | 21 | features/intel-npu/intel-npu.scc" |
| 22 | 22 | ||
| 23 | UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.12.(\d+)-linux-(\d+)T(\d+)Z)$" | 23 | UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.18.(\d+)-linux-(\d+)T(\d+)Z)$" |
diff --git a/recipes-kernel/perf/perf.bbappend b/recipes-kernel/perf/perf.bbappend new file mode 100644 index 00000000..54ad4dd9 --- /dev/null +++ b/recipes-kernel/perf/perf.bbappend | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Fix const qualifier warnings in libbpf.c when building with -Werror | ||
| 2 | # This is a workaround for older kernel versions (6.12.x) that don't have | ||
| 3 | # the upstream fix yet. The issue is already fixed in kernel 6.13+. | ||
| 4 | |||
| 5 | # remove at next version upgrade or when output changes | ||
| 6 | PR = "r3" | ||
| 7 | HASHEQUIV_HASH_VERSION .= ".3" | ||
| 8 | |||
| 9 | do_configure:prepend () { | ||
| 10 | # Apply libbpf const qualifier fixes | ||
| 11 | if [ -e "${S}/tools/lib/bpf/libbpf.c" ]; then | ||
| 12 | # Fix kallsyms_cb function - change 'char *res' to 'const char *res' | ||
| 13 | sed -i 's/^\(\s*\)char \*res;/\1const char *res;/' "${S}/tools/lib/bpf/libbpf.c" | ||
| 14 | # Fix resolve_full_path function - change 'char *next_path' to 'const char *next_path' | ||
| 15 | sed -i 's/^\(\s*\)char \*next_path;/\1const char *next_path;/' "${S}/tools/lib/bpf/libbpf.c" | ||
| 16 | fi | ||
| 17 | } | ||
