Commit Graph

23 Commits

Author SHA1 Message Date
Yogesh Tyagi
37a67779a0 linux-intel/6.6: update to tag lts-v6.6.14-linux-240131T053107Z
linux-intel-lts has backported ae1914174 to 6.6 branch. The commit drops
CONFIG_DEBUG_CREDENTIALS config option which results in warnings when building
with yocto-6.6 branch of y-k-c.
Suppress the warnings for linux-intel kernel for now.

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-02-14 09:34:41 +08:00
Naveen Saini
0bcaf75ea8 linux-intel: fix menuconfig
Refreshed and include patches from linux-yocto 6.6 to detect ncurses correctly when
cross-compiling.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-01-22 11:57:57 +08:00
Naveen Saini
503e4e567e linux-intel/6.2: add recipe
It builds 6.2 kernel version from mainline-tracking tree.
https://github.com/intel/mainline-tracking

tag: mainline-tracking-v6.2-linux-230223T032049Z

Remove linux-intel 5.19 recipe. There is no -rt version of 6.2 yet
so 5.19-rt has been kept.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-09 09:46:07 +08:00
Naveen Saini
2ce9b55f99 linux-intel/5.19: add recipe
Build 5.19 kernel version from mainline-tracking tree at:

https://github.com/intel/mainline-tracking

This will track the mainline kernel and will be used to enable support for newer platforms.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-11-18 11:55:06 +08:00
Anuj Mittal
2db6c8af4b linux-intel: fix perf reproducibility
Include a patch from linux-yocto to fix buildpaths problem when
compiling perf. Fixes:

| WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/lib/python3.10/site-packages/perf-0.1-py3.10-linux-x86_64.egg/EGG-INFO/SOURCES.txt in package perf-python contains reference to TMPDIR
| File /usr/lib/python3.10/site-packages/perf-0.1-py3.10-linux-x86_64.egg/__pycache__/perf.cpython-310.pyc in package perf-python contains reference to TMPDIR [buildpaths]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-11-02 15:54:00 +08:00
Anuj Mittal
de5851890f linux-intel: fix buildpaths issue
Include following fixes from linux-yocto to fix buildpaths warnings:

2fca0fd71981 lib/build_OID_registry: fix reproducibility issues
0f586f4ee8ad vt/conmakehash: improve reproducibility

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-07-18 12:59:19 +08:00
Anuj Mittal
bdcf0ec068 linux-intel: remove 32 bit specific tweaks
We test this kernel only with 64 bit machine types. Make changes to
reflect that. intel-core2-32 should be built with linux-yocto kernel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-06-20 09:50:59 +08:00
Naveen Saini
922d3cb174 linux-intel/5.4: drop recipe
New LTS 5.15 is already added, so time to drop 5.4 support

Drop linux-intel-rt/5.4 too.

Drop cfg which is not required for LTS 5.10 & 5.15.

Ref:
eb83479e18

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:34:33 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Naveen Saini
9e9b9fd332 linux-intel/5.4: update to v5.4.57
Fix for binutils 2.35 is already merged in 5.4/yocto.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-08-26 07:44:02 +08:00
Anuj Mittal
9fe382034e linux-intel: backport commit to fix perf builds
Fixes:

| /build/build/tmp/work/intel_corei7_64-poky-linux/perf/1.0-r9/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/10.1.0/ld:/home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work/intel_corei7_64-poky-linux/perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2: ignoring invalid character `@' in script
| /build/tmp/work/intel_corei7_64-poky-linux/perf/1.0-r9/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/10.1.0/ld:/home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work/intel_corei7_64-poky-linux/perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2: ignoring invalid character `@' in script
| /build/tmp/work/intel_corei7_64-poky-linux/perf/1.0-r9/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/10.1.0/ld:/home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work/intel_corei7_64-poky-linux/perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2: syntax error in dynamic list

Include the patch in recipe for now until it's not in Intel LTS tree.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-08-06 13:02:14 +08:00
Naveen Saini
c9662bdc00 linux-intel: enable config for intel lynxpoint pinctrl and gpio driver
CONFIG_GPIO_LYNXPOINT renamed to CONFIG_PINCTRL_LYNXPOINT

cb81404ffe

This change is specific to linux-intel-lts kernel, so it is not merged in yocto-kernel-cache.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-20 00:04:57 +08:00
Naveen Saini
a43626e2e6 linux-intel/5.4: bump to v5.4.28
Dropped patch which is already merged.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 10:39:29 +08:00
Anuj Mittal
2b0a523ade linux-intel: backport commit from mainline to fix perf builds
Fixes errors:

| <builddir>/build/tmp/work/intel_core2_32-poky-linux/perf/1.0-r9/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/9.2.0/ld: <builddir>/build/tmp/work/intel_core2_32-poky-linux/perf/1.0-r9/perf-1.0/perf-in.o: in function `find_address_in_section':
/usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:200: undefined reference to `bfd_get_section_flags'
| <builddir>/build/tmp/work/intel_core2_32-poky-linux/perf/1.0-r9/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/9.2.0/ld: /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:204: undefined reference to `bfd_get_section_vma'
| <builddir>/build/tmp/work/intel_core2_32-poky-linux/perf/1.0-r9/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/9.2.0/ld: /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:205: undefined reference to `bfd_get_section_size'
| collect2: error: ld returned 1 exit status

Also see:
http://git.openembedded.org/openembedded-core/commit/?id=16e943690bdbdf2e60a2fe33950697278018c7d1

Include the patch in recipe untils it's not available in
linux-intel LTS tree.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-24 09:53:22 +08:00
Naveen Saini
5bf189cd52 linux-intel: allow other layers to set LINUX_VERSION_EXTENSION
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-30 09:39:30 +08:00
Anuj Mittal
13ae1339c2 linux-intel/4.19: add recipe
Builds 4.19/base from linux-intel-lts.

Include a patch from linux-yocto 4.18 to detect ncurses correctly when
cross-compiling and move the older patch to version specific recipes
from inc.

In addition to intel-common kernel configs from yocto-kernel-cache, this
also includes security.scc feature which enables a set of configs with
the aim of reducing the kernel attack surface and/or of performing
additional checks and validation of commonly used structures in kernel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-05 14:42:27 +08:00
California Sullivan
006d2f0c9f linux-intel.inc: use meta-intel-compat-kernel.inc
And simplify the recipe a bit.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-06 13:23:47 -07:00
California Sullivan
e28f2f9494 linux-intel: fix menuconfig when host lacks ncurses
linux-yocto has been carrying this patch for years. It allows the kernel
to link with a non-host ncurses.

This patch is needed for all linux-intel kernels, and that area of code
is rarely changed, so maintenance of the patch should be minimal.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-25 14:50:59 -08:00
Saul Wold
a0342186f8 linux-*: remove quark references from kernel
This is an early step to removing the meta-quark machine type, as
the Quark processor has been EOL'ed by Intel, this release will
remove it from the kernel recipes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-08 15:04:46 -08:00
Saul Wold
8d37591e11 linux-intel: Update 4.9 SRCREV and refactor
This has a SRCREV update to bring linux-intel to HEAD with some
audio and pnp patches.

The refactor moves the selection of branch to the versioned recipe
so we can have a shared linux-intel-lts repo with multiple LTS version
branches.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-07 16:42:45 -08:00
California Sullivan
c811c0b338 linux-intel.inc: set COMPATIBLE_MACHINE default
Non-Intel* machines did not get COMPATIBLE_MACHINE set at all, allowing
the package to be built when it probably shouldn't have been. For
example, it would be built when the MACHINE was set to qemux86. This
caused lttng-modules to fail because lttng-modules only gets patched
for our kernel when an Intel MACHINE was being used in order to maintain
Yocto Project Compatibility status.

By setting the default it fails when an invalid MACHINE is used. Note
that while qemux86 is not a compatible MACHINE, the kernel itself does
have the necessary components to run under qemu.

Also change the COMPATIBLE_MACHINE overrides to use the x86-intel-common
override instead of machine-specific overrides since they all have the
same value.

[YOCTO #12278].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-28 16:15:14 -08:00
California Sullivan
60778f7540 linux-intel/4.9: update SRCREVs for v4.9.61
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-22 08:44:06 -08:00
Saul Wold
d53dbb38c4 meta-intel: Reorganize the layout to remove common
Remove the concept of the common directory and move all the recipes-* dirs
to the top level as a normal layer would be. layer.conf is updated appropriately

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-20 15:33:02 -08:00