Commit Graph

2049 Commits

Author SHA1 Message Date
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
f3f1be4f5a linux-intel/4.14: add preempt-rt recipe
Adds the 4.14.12  kernel with the rt10 patches applied.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-23 15:49:51 -08:00
California Sullivan
af420750a3 linux-intel/4.14: update to v4.14.14
No cache changes at this time, just a stable update.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-23 15:11:03 -08:00
California Sullivan
ee1d78515a meta-intel.inc: set default EFI_PROVIDER to systemd-boot
RMC is confusing as a default because it is only supported by legacy
(iso, hddimg) image types. Its also not being actively maintained,
causing it to lag behind in updates (currently against systemd-boot
v232 instead of v234).

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-22 16:44:20 -08:00
California Sullivan
7fa26da6c6 systemd-boot: move systemd-boot.inc into base bbappend
Including a non-existant .inc doesn't cause errors, so just move the
systemd-boot.inc file into the main bbappend. This avoids rebuilding the
package without our changes should grub-efi be the EFI_PROVIDER and we
build systemd-boot, while keeping the RMC changes when rmc-boot is the
EFI_PROVIDER.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-22 16:24:23 -08:00
California Sullivan
de43a8f89f systemd-boot: move commit pinning to rmc-boot.inc
systemd-boot shouldn't be stuck on a certain commit just because RMC is.

This effectively upgrades our systemd-boot version from v232 to v234. We
also get to drop a patch that was accepted upstream.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-22 16:24:23 -08:00
Anuj Mittal
651c915309 thermald: update from 1.6 to 1.7.1
Updated version with patches to ensure thermald with musl and x32.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-22 16:22:57 -08:00
California Sullivan
a129e6a1c8 core-image-minimal-initramfs.bbappend: Add missing install module
This allows installation when booting in legacy mode.

Fixes [YOCTO #12346].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-22 14:47:51 -08:00
California Sullivan
be9a2e5ae2 intel-gpu-tools: backport patch fixing 32-bit builds
Fixes the following error seen in 32-bit builds:

| ../../intel-gpu-tools-1.20/lib/igt_x86.c:96:10: error: redefinition of 'igt_x86_features'
|  unsigned igt_x86_features(void)
|           ^~~~~~~~~~~~~~~~
| In file included from ../../intel-gpu-tools-1.20/lib/igt_x86.c:38:0:
| ../../intel-gpu-tools-1.20/lib/igt_x86.h:47:24: note: previous definition of 'igt_x86_features' was here
|  static inline unsigned igt_x86_features(void)
|                         ^~~~~~~~~~~~~~~~
| ../../intel-gpu-tools-1.20/lib/igt_x86.c:148:7: error: redefinition of 'igt_x86_features_to_string'
|  char *igt_x86_features_to_string(unsigned features, char *line)
|        ^~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from ../../intel-gpu-tools-1.20/lib/igt_x86.c:38:0:
| ../../intel-gpu-tools-1.20/lib/igt_x86.h:51:21: note: previous definition of 'igt_x86_features_to_string' was here
|  static inline char *igt_x86_features_to_string(unsigned features, char *line)

I unfortunately missed this before merging the upgrade.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-19 13:44:14 -08:00
Anuj Mittal
7bf03f7612 xf86-video-mga: remove recipe from meta-intel
This driver was added for a platform that is no longer supported.

This recipe is also maintained in meta-oe in case it's required outside
of meta-intel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-17 11:36:26 -08:00
Anuj Mittal
3845413cfb intel-gpu-tools: update from 1.19 to 1.20
Part of Intel graphics stack 2017Q3 release.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 17:01:04 -08:00
California Sullivan
4c63d9fb45 maintainers.inc: update recipes for new maintainers
Anuj gets video related pieces.
Stephano gets RMC and poky-tiny related pieces.
Cal picks up other small pieces.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:24:24 -08:00
California Sullivan
6152a1bd15 MAINTAINERS: update to current project maintainers
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:24:24 -08:00
California Sullivan
d8b1a9e77e linux-intel/4.14: Update to v4.14.12
This brings in the changes up to v4.14.12 from linux-stable.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:24:24 -08:00
California Sullivan
a8d53e85bb linux-intel/4.14: mirror new dependencies added to linux-yocto-dev
These new dependencies are needed for some configurations.

elfutils-native is required for CONFIG_UNWINDER_ORC (disabled by default
for now due to out-of-tree module complications).

openssl-native and util-linux-native are required for some certificate
processing options.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:24:24 -08:00
California Sullivan
5e02959f5c linux-intel/4.14: use master cache until named branch available
It wasn't appropriate to use the 4.9 cache for 4.14. This also brings in
the following relevant commits:

* b6b5ac8d x86-64: disable orc by default
* 82743ab8 common-pc*.scc: Add igb to common-pc drivers
* 6bcc7298 features/i915/i915.cfg: compile i915 as a module

This adds Intel gigabit Ethernet drivers, fixes the i915 firmware load
issue, and fixes an lttng-modules compilation failure with the new
kernel due to the new CONFIG_UNWINDER_ORC=y default.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:24:24 -08:00
California Sullivan
a17f3f4e9c linux-intel/4.9: update to v4.9.76
This brings in the changes up to v4.9.76 from linux-stable.

Also update the cache, bringing in the following relevant config
changes:

* 3e7fedea common-pc*.scc: Add igb to common-pc drivers
* 4341ae3a features/i915/i915.cfg: compile i915 as a module

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:08:54 -08:00
Juro Bystricky
7969d8e442 intel-microcode: update to 20180108
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-12 11:10:44 -08:00
California Sullivan
953e5ce212 meta-intel.inc: Update linux-intel PREFERRED_VERSION to 4.14
This is the newest LTS kernel, and will be the preferred kernel going
for this release.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-08 13:25:01 -08:00
California Sullivan
1580913674 ixgbe*: skip package if using 4.14 kernel
No stable release supports 4.14 or newer yet.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-20 11:03:54 -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
California Sullivan
2821e296a3 linux-intel/4.9: Update cache and source SRCREVs
Trusty and USB fixes in source.

Compile i915 as module in cache. This makes sure that the video drivers
and firmware are available at the same time, fixing firmware load
issues.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-18 10:29:00 -08:00
Saul Wold
0f266744f7 Galileo: Remove remaining bits from RMC and WIC directory
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
6f988495c3 README: Remove Quark references
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
5dbc69e339 intel-quark: Remove MACHINE configuration for Quark
As the Quark machine has been EOL'ed at the end of 2017, remove this
machine type from the 2018 planned release of meta-intel

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
71fc4f3497 qemuboot-intel: Remove quark references
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
a7cdcce8b4 core-image-tiny: Remove Quark reference and WKS file
Since Quark is getting depercated remove reference and WKS file

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
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
48b96fee2b linux-intel_4.14: Add latest LTS kernel
This commit adds the 4.14.0-LTS kernel, but does not change the
PREFERRED_VERSION.  This will be updated later, to use this kernel
set PREFERRED_VERSION in your local.conf or distro.conf files

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-07 16:44:37 -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
a1ce6f4bfb intel-microcode: Update to 20171117
This update contains ...

No Actual license change, just date.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-21 15:52:34 -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
Patrick Ohly
5adbf6df4f uefi-comboapp.bbclass: install files under pseudo
do_uefiapp_deploy copies files into the /boot directory of the rootfs
and thus, like do_rootfs, should run under pseudo so that the files
end up being owned by root.

This did not trigger the uid leak check, perhaps because the task runs
later.

For some (still unknown reason), sometimes the installed files did end
up being owned by root, which tripped up a swupd test because the
system update randomly included unexpected changes to bootx64.efi or
rmc.db. With this change, they are owned by root consistently.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-17 10:54:21 -08:00
Saul Wold
c664a44795 MAINTAINERS: Update for the removal of meta-tlk
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-07 10:09:16 -08:00
Saul Wold
d68dda959b layer.conf: Bump Layer due to removal of meta-tlk
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-01 10:38:28 -07:00
Saul Wold
26d3fbb699 meta-tlk: Move to standalone layer
meta-tlk gets moved to a standalone layer since it's can't be
properly made Yocto Project Compatible, move it out of meta-intel
to allow meta-intel to be fully Compatible.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-01 10:37:56 -07:00
Saul Wold
863590f9bc lttng-modules: Fix SRC_URI for Yocto Layer Compatibility
Adding the special override limits the impact of the append to
just when we are building for meta-intel machines

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-26 09:12:52 -07:00
California Sullivan
605f4ae550 Revert "linux-intel: blacklist snd-soc-skl module"
This reverts commit 075b81ae1b.

The audio backports in "c27cfdc linux-intel/4.9: Update kernel SRCREVs"
fixed the broken snd_soc_skl module, fixing the issue this was working
around.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-20 09:34:10 -07:00
Saul Wold
252e4077bb maintainers: Update with available team members
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-19 06:13:04 -07:00
California Sullivan
33c9c8224e lttng-modules: also apply patch if linux-intel-rt is preferred kernel
We never hit this because we're usually only building core-image-rt with
the -rt kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-10-17 15:26:03 -07:00
California Sullivan
eb01b3192a linux-intel/4.9: Update kernel SRCREVs for v4.9.56
This patch incorporates changes from v4.9.48 to v4.9.56 of the stable
branch.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-10-17 14:20:06 -07:00
California Sullivan
88bd47247c CHANGELOG: Add major rocko changes
Adds entries for backport-iwlwifi, ixgbe, secureboot, Yocto Project
compatibility, QAT, and DPDK.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-10-17 12:42:45 -07:00
California Sullivan
7600ff9a4f documentation: add Secure Boot information
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-10-17 12:41:36 -07:00
California Sullivan
c27cfdc898 linux-intel/4.9: Update kernel SRCREVs
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-10-13 15:13:44 -07:00
Saul Wold
c30e473077 linux-intel: SRCREV updates for kernel and cache
This updates the kernel to address an issue with x86-32 and adds some
kernel common-pc changes.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-11 12:29:21 -07:00
sweeaun
78ee392096 ixgbevf: skip host depmod
Depmod during do_install is irrelevant when cross-compiling.
Remove the depmod steps during do_install.

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-09 11:59:45 -07:00
sweeaun
600bca6592 ixgbe: skip host depmod
Depmod during do_install is irrelevant when cross-compiling.
Remove the depmod steps during do_install.

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-09 11:59:45 -07:00
Mikko Ylinen
c8728c70cb add .gitignore
oe-selftest leaves python bytecode around for the selftests it
has found making git status dirty.

Add .gitignore that hides those files from git. While we're at it,
ignore some other common patterns too.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-09 11:59:31 -07:00