Commit Graph

13 Commits

Author SHA1 Message Date
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
Anuj Mittal
259c94cc31 linux-intel/4.19: remove
We will maintain only the 5.4 kernel for dunfell LTS. Switch alt-cfg to
using v5.4.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-27 09:22:54 +08:00
Naveen Saini
0700908061 linux-intel: remove not supported snd configuration
Remove snd kernel configurations, which is not supported
by linux-intel-lts anymore.

Error log:
BSP sets config options that are not offered anywhere within this kernel
CONFIG_SND_SOC_INTEL_CNL_RT274_MACH
CONFIG_SND_SOC_INTEL_CNL_RT700_MACH
CONFIG_SND_SOC_INTEL_CNL_CS42L42_MACH
CONFIG_SND_SOC_INTEL_CNL_SVFPGA_MACH
CONFIG_SND_SOC_INTEL_BXT_TDF8532_MACH

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-03 15:18:52 +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
86b5fea26a linux-intel: remove 4.14 kernel and related patch
Remove support for building with 4.14 kernel as new lts kernel
v5.4 alreay introduced.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-02 14:54:10 +08:00
Naveen Saini
e6935a22ef linux-intel: fix perf build failure with 4.14 kernel
OE-Core started using Python3 for perf module. But older
kernel such as 4.14 does not have support for python3.

This cause build failure:
| Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| Makefile.config:626: Python 3 is not yet supported; please set
| Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately.
| Makefile.config:628: If you also have Python 2 installed, then
| Makefile.config:629: try something like:

Backported python3 support, as suggessted here:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=92469aad50b623afa423c19d82ed2e3c667c5e6a

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-01 09:43:09 +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
Anuj Mittal
bc8c809628 linux-intel: remove obsolete configs
Remove invalid kernel configs. These were added for in-review patches in
bxt-rebase branch and aren't present upstream.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-09-04 18:40:29 +08:00
Anuj Mittal
5a72182247 linux-intel/4.9: use new/correct revision for 4.9.116
Also drop the patch that has been included in the lts tree instead.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-08-09 22:01:18 +08:00
Anuj Mittal
63c4b28180 linux-intel/4.9: update to 4.9.116
Also include a patch to replace /bin/awk with /usr/bin/awk to fix
issues with kernel-devsrc packaging/installation.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-08-08 22:30:56 +08: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
California Sullivan
f0a462b71f linux-intel/4.14: Fix 32-bit perf issue
Perf fails to compile for 32-bit without this patch. I have requested
for Bruce to submit it upstream.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-18 14:20:01 -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