Commit Graph

1633 Commits

Author SHA1 Message Date
Ismo Puustinen
6562bbc250 linux-intel/4.9: Update yocto-kernel-cache SRCREV
Various changes to configuration, including wifi, nftables, virtualbox,
bluetooth, and smp options.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-07 10:09:51 -05:00
California Sullivan
7e8f98aa32 conf/machine/intel-core*: Fix WKS_FILE setting
bb.utils.contains checks if ALL items are in the variable, and since we
check for systemd-boot or rmc-boot, it would always be false, assigning
mkefidisk as the WKS_FILE in all cases. bb.utils.contains_any checks if
one or more items are in the variable, so use that instead.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-19 11:21:47 -07:00
Aníbal Limón
5fe286fd7c libva-intel-driver: Set UPSTREAM_CHECK_GITTAGREGEX
This regex is used to figure out what version are on upstream,
in order to avoid detect alpha versions set it.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-19 09:14:10 -07:00
California Sullivan
5b073d97d3 CHANGELOG: add file
This file will keep track of major changes between releases, beginning
with the pyro release.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-18 14:18:00 -07:00
California Sullivan
87ca116370 README: Update information for pyro release
Updates several sections that contained outdated information, and adds
a new "Benefits of meta-intel" section.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-18 14:11:01 -07:00
Saul Wold
939e805e0d linux-intel: Update SRCREVs
This update brings the kernel to 4.9.27 stable and 4.9.20 for preempt-rt kernel

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 14:00:48 -07:00
Saul Wold
dd69e3bd9a intel-microcode: Update to latest 20170511
This update also updated the licence checksum as the date has changed
The core content of the license has not changed

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
Saul Wold
1dbf462877 maintainers: Re-Sort and remove duplicate
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
California Sullivan
7169c2a500 conf/machine/intel-core*: change WKS_FILE based on EFI_PROVIDER
If someone changes their EFI_PROVIDER to grub-efi, we shouldn't be
building a systemd-boot based wic image. Use bb.utils.contains to
be default to mkefidisk.wks if we aren't using a systemd-boot based
EFI_PROVIDER.

mkefidisk.wks is the same as systemd-bootdisk.wks, except it uses grub
and sets rootwait on the kernel command line, so its nearly equivalent.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
California Sullivan
c339fa115a canned-wks/systemd-bootdisk-uuid.wks: remove file
This was initially added as a stopgap, as OE-core's systemd-bootdisk.wks
was using a static device node name rather than device UUID as the root
target. Since OE-core's systemd-bootdisk has caught up, we don't need
this. OE-core's systemd-bootdisk also includes console=ttyS0, which is
common on many platforms and we were missing.

Also change the default WKS_FILE to be OE-core's systemd-bootdisk on
appropriate MACHINEs.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
Ng, Wei Tee
3e540d7361 intel-gpu-tools: Upgrade to version 1.18
This change updates intel-gpu-tools to 1.18 which is in Intel
graphic stack 2017 Q1 release.

Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
Ng, Wei Tee
3afa94c979 initrdscripts: add support for NVME target install
Add awareness of /dev/nvme* block devices to install scripts. As
presently
written, installer knows only of /dev/sd* and /dev/mmcblk* block
devices.
Building upon scaffolding put in place by Awais in...

     80ec9f627915 ("initrdscripts: handle mmc device as installer
 medium")

(From OE-Core rev: b5a036ce958e3fe24690531712071abc14b48033)

Signed-off-by: Joe Konno <joe.konno@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

 (From Poky rev: 85c9b9f9c602459b32f8f301b161c9a3f6f14d4e)

Ported the changes from poky meta layer into BSP layer. As the
original commit was changing 2 files, this has been rework for
meta-intel layer.

[YOCTO #11367]

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-11 10:29:32 +08:00
California Sullivan
8b1bc4781a qemu-intel.inc: Add to KERNEL_FEATURES via KERNEL_FEATURES_INTEL_COMMON
Adding to KERNEL_FEATURES causes the kernel tools to try to add the
feature to all kernels, even custom kernels not using the
yocto-kernel-cache. By moving it to KERNEL_FEATURES_INTEL_COMMON, it
will only affect the kernels the layer supplies.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-11 09:17:11 +08:00
California Sullivan
f8e08ecdab recipes-kernel/linux/*: Standardize use of KERNEL_FEATURES_INTEL_COMMON
Previously, some recipes hard set it to empty, and some recipes did not
set it at all. So in some cases, it acted like a global variable you
could modify, and in others you could only append to it. This behavior
made it difficult to use (which I doubt anyone was doing).

This patch changes the variable to be soft set to empty across all
recipes. This way it can be used to globally change meta-intel kernels
through a conf file, or individually in the different versioned recipes
should the need arise.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-11 09:17:11 +08:00
Aníbal Limón
4b83cea79a thermald,iucode-tool,libyami: Add UPSTREAM_CHECK_ variables
These variables are used by checkpkg task to figure out if there are
a new version of the upstream software.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-09 23:29:50 +08:00
sweeaun
ca8695a4fd linux-intel: use = to set LINUX_VERSION_EXTENSION
LINUX_VERSION_EXTENSION is not overridden by linux-intel_4.9.bb,
as first seen in linux-yocto.inc.

This is a temporary fix to use = instead of ?= in linux-intel_4.9.bb,
before making change to use ??= on meta OE-Core linux-yocto.inc file.

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-09 22:30:27 +08:00
Saul Wold
e9c3997c0e maintainer: Update Maintainer list
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-09 22:29:45 +08:00
Ross Burton
6cbb6f96b6 conf: set recipe maintainers
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-06 16:56:03 +08:00
California Sullivan
0f421692f1 linux-yocto/4.1: Update to v4.1.39
Updates from v4.1.38 to v4.1.39.
This is the latest release of our v4.1 stable kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-06 16:56:03 +08:00
California Sullivan
ccf39d6fa3 linux-yocto/4.4: Update to v4.4.60
Updates from v4.4.56 to v4.4.60.
This is the latest release of our v4.4 stable kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-06 16:56:03 +08:00
California Sullivan
227534142e linux-intel/4.9: grab latest changes
Contains updates from several areas, including:
  comms
  thermal
  lpss
  audio
  camera

No stable update at this time.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-01 23:27:14 +08:00
Saul Wold
112643bbb7 linux-intel: Set LINUX_VERSION_EXTENSION
Set the VERSION_EXTENSION to be different than the default linux-yocto
kernel, this will help to differenciate the two kernel.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-18 10:47:06 -07:00
Jussi Kukkonen
e5f79bf5af libyami: Add PACKAGECONFIG for x11
Without this the recipe fails to build without x11, breaking world build.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-04-18 07:11:27 -07:00
Saul Wold
c7e6889290 core-image-rt: Add yocto-intel-rt based recipes
These recipes depend on using an RT kernel, since the name in oe-core
is hard-coded to linux-yocto-rt, we need to replicate those recipes here
or come up with an additional variable to check.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-17 10:11:00 -07:00
Saul Wold
ce71121534 intel-common-pkgarch: Add additional kernel types
We added -rt to available kernel, and will likely have -tiny and -dev
in the future, so add them now also.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-17 10:11:00 -07:00
Saul Wold
45bd09ccc2 linux-intel-rt: Add recipe to support preempt-rt kernel
This adds the linux-intel production kernel to meta-intel with
the base-rt branch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-17 10:11:00 -07:00
Saul Wold
b275a11389 linux-intel: Update to 4.9.20
Stable kernel update to 4.9.20
DRM updates
Trusty Updates

Bug Fixes:

Issue #4: kernel OOPS when trying to mount efivarfs

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-17 10:11:00 -07:00
Saul Wold
60c2703947 cryptodev-module: Fix the check
A case was found where the PREFERRED_VERSION_linux-intel was not set
even with linix-intel being the PREFERRED_PROVIDER and this code fails.
So, just check for linux-intel now, we know until the next LTS version
comes out that this kernel will have the API change patch.  A more detailed
check may need to be added.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-04 11:38:07 -07:00
Christopher Larson
df5bc8a1f9 linux-yocto: fix builds for x32
corei7-64-intel-common overrides are used here, but this isn't in use when
building for x32. Also obey this for corei7-64-x32-intel-common.

An alternative would be to place this in intel-common-pkgarch.inc, where the
common pkgarch is set up, but that would have higher potential impact, being
global.

With this fix applied, along with other fixes to oe-core, it's possible to get
successful builds with DEFAULTTUNE set to "corei7-64-x32", and boot the
resulting images for intel-corei7-64.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-04 07:58:41 -07:00
Saul Wold
e681552dcb qat: disable for x32 build
Until the upstream addresses some issues, this will be disabled
for x32 build

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-04 07:58:36 -07:00
Saul Wold
ebb8fc8026 dpdk: disable for x32 build
Until the upstream addresses some issues, this will be disabled
for x32 build

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-04 07:57:56 -07:00
Patrick Ohly
600c8a342c meta-intel: support distro without OpenGL
When a distro disables OpenGL or using meta-intel without any distro
set, a world build fails for all recipes depending directly or
indirectly on libva, because libva is disables unless opengl is in
DISTRO_FEATURES. "opengl" must be checked for in all those recipes.

The specific use case was testing of meta-intel with
yocto-compat-layer.py against just OE-core with the local.conf.sample
from OE-core, i.e. DISTRO unset. Without this change, that failed
with:

ERROR: Nothing PROVIDES 'libva' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb, /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami_1.1.0.bb, /fast/work/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.3.bb DEPENDS on or otherwise requires it)
ERROR: libva was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Nothing RPROVIDES 'libyami-dev' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami_1.1.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'libyami-dev'
NOTE: Runtime target 'libyami-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libyami-dev']
ERROR: Nothing RPROVIDES 'libva' (but /fast/work/meta-intel/common/recipes-multimedia/libva/va-intel.bb RDEPENDS on or otherwise requires it)
ERROR: libva was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
NOTE: Runtime target 'libva' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libva']
ERROR: Nothing RPROVIDES 'libva-intel-driver' (but /fast/work/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.3.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'libva-intel-driver'
NOTE: Runtime target 'libva-intel-driver' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libva-intel-driver']
ERROR: Nothing RPROVIDES 'libyami-utils' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'libyami-utils'
NOTE: Runtime target 'libyami-utils' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libyami-utils']
ERROR: Nothing RPROVIDES 'libyami-utils-dev' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'libyami-utils-dev'
NOTE: Runtime target 'libyami-utils-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libyami-utils-dev']
ERROR: Nothing RPROVIDES 'libyami' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami_1.1.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'libyami'
NOTE: Runtime target 'libyami' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libyami']
ERROR: Nothing RPROVIDES 'libva-intel-driver-dev' (but /fast/work/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.3.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'libva-intel-driver-dev'
NOTE: Runtime target 'libva-intel-driver-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libva-intel-driver-dev']

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-04 07:44:26 -07:00
Saul Wold
e726360655 cryptodev-modules: Add bbappend to add patch
This adds a patch to cryptodev-module to sync up the API change that
was added in the linux-intel kernel backport from 4.10 -> 4.9. The
patch just forces the code path to use the latest API.

This uses anon python to ensure it only applies when PREFERRED_PROVIDER
is set to linux-intel and KERNEL_VERSION is 4.9 (LTS).

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-03 16:54:42 -07:00
Todor Minchev
7564469f25 rmc: update SRCREV for rmc recipe
This SRCREV fixes rmc build failure under musl

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-31 09:59:56 -07:00
Todor Minchev
1add284701 rmc: update license file checksum
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-31 09:59:56 -07:00
California Sullivan
f4b922a519 linux-yocto/4.4: Update to v4.4.56
This updates the kernel from v4.4.53 to v4.4.56.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-31 09:59:56 -07:00
California Sullivan
2a955487d8 qemu-intel.inc: Add ovmf to EXTRA_IMAGEDEPENDS
This lets us use ovmf firmware with runqemu without building ovmf
manually beforehand.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-28 10:44:13 -07:00
California Sullivan
86f13d1394 linux-yocto/4.4: Update to v4.4.53
This incorporates stable updates from v4.4.41 to v4.4.53.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-28 10:42:51 -07:00
California Sullivan
e7762df9f0 linux-yocto/4.1: Update to v4.1.38
Updates from v4.1.37 to v4.1.38 and adds the following
yocto-kernel-cache changes:

7140ddb kver: gump to v4.1.38
2a32f4b actions-s500:Enable RTL8723BS driver compile into kernel

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-28 10:42:48 -07:00
Saul Wold
5587993816 LICENSE: Add file
This file clarifies what is licensed MIT and what follows
the upstream LICENSE when adding patches.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-23 10:33:42 -07:00
Saul Wold
33ad07ef7c COPYING.MIT: Add COPYING file
Apparently we neglected to include the standard COPYING.MIT,
correct this oversight

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-23 10:32:56 -07:00
California Sullivan
0be3c6bdf0 meta-intel.inc: Set PREFERRED_PROVIDER to linux-yocto for linuxstdbase
linux-intel does not provide a 4.1 kernel, which is needed for -lsb
images since they use the current LTSI kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-23 10:29:38 -07:00
Jussi Laako
66637d28a7 Include recommended packges for all Intel machines
Moves common MACHINE_EXTRA_RRECOMMENDS to a common include file and
add thermald to MACHINE_EXTRA_RRECOMMENDS.

Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-21 19:03:03 -07:00
Saul Wold
37d46e1319 linux-intel: Update SRCREV to latest
This includes a update to 4.9.15 as well as a re-work of the DRM patch set
The team increased their testing to handle allyes and allno configs so addressed
the DRM fix.cfg patch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-21 13:55:39 -07:00
Dmitry Rozhkov
23f676af45 rmc: enable serial console when running under QEMU
Since we can run ordinary intel-corei7-64 wic images under QEMU
it makes sense to add QEMU quirks enabling serial console
to the RMC DB.

This patch appends "console=ttyS0,115200" to kernel command
line in case the image is used to run a QEMU VM e.g. with the
command:

    $ runqemu ovmf refkit-image-common wic intel-corei7-64 slirp serial nographic

Unfortunately different major versions of QEMU produce different
RMC fingerprints, so the QEMU versions 2.6.x and 2.8.x should be
treated as different boards.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-21 13:55:39 -07:00
Todor Minchev
5aa04f42d9 rmc: update SRCREV for rmc recipe
This SRCREV adds fingerprint and database extraction functionality to RMC

Extract database:
rmc -E -d rmc.db -o output/directory/

Extract fingerprint:
rmc -E -f fingerprint_file

https://bugzilla.yoctoproject.org/show_bug.cgi?id=10092

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-20 17:06:23 -07:00
California Sullivan
0d4b967161 linux-intel/4.9: Update yocto-kernel-cache SRCREV
Includes the following patch from the yocto-kernel-cache:

b65e9b6 features: add Intel Memory Protection Extensions

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-20 17:04:57 -07:00
California Sullivan
de9c533d73 linux-yocto/4.9: Remove bbappends
The linux-intel kernel is our officially supported 4.9 kernel so this
is no longer needed.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-20 17:04:52 -07:00
California Sullivan
c24a20735c linux-yocto: Add linux-yocto 4.10 bbappends
Like the 4.9 linux-yocto kernel, we will just float on OE-core's
SRCREVs.

v2 changes:
* Removed EXTRA_OEMAKE in the tiny recipe.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-20 17:04:49 -07:00
Saul Wold
af8e3762a5 openssl-qat: Use COMPATIBLE_MACHINE
This EXCULDE_FROM_WORLD was not the correct approach, since openssl-qat
depends on qat16 which is only compatible with intel-corei7-64, openssl-qat
should also use this approach.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-14 16:47:03 -07:00