Commit Graph

1661 Commits

Author SHA1 Message Date
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
Mikko Ylinen
df8aa97ec5 systemd-boot: stub: check LoadOptions contains data
With some UEFI shells LoadOptionsSize is reported being > 0
but the corresponding LoadOptions does not contain any data
(the first element has value 0).

When that happens, the stub feature that allows .cmdline to be
replaced by what's in LoadOptions ends up copying nothing/random
data to the kernel cmdline resulting in different kinds of boot
problems.

To fix this, add a check to see if LoadOptions contains data
before replacing the .cmdline.

Upstream-Status: Accepted [https://github.com/systemd/systemd/pull/5467]

Fixes [YOCTO #11078].

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-13 09:17:14 -07:00
California Sullivan
54df72f06e linux-yocto/4.4: add intel-quark-preempt-rt config to cache
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:40:04 -08:00
California Sullivan
80600d7dd2 linux-yocto/4.8: Remove recipes
The 4.8 kernel is now end of life. The v4.9 LTS, v4.4 LTS, and v4.1 LTSI
are currently available. The latest release kernel (v4.10) will be
available soon.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:24:02 -08:00
California Sullivan
8ce207d4d7 linux-yocto/4.1: Leafhill config changes and yaffs2 fixes
>From linux-yocto-4.1:

eb11ab9 Merge branch 'standard/base' into standard/intel/base
34753ac fs/yaffs2: adjust to the change of inode_change_ok()
3c7cacb Merge branch 'standard/base' into standard/intel/base
aadda25 integrity: define '.evm' as a builtin 'trusted' keyring

>From yocto-kernel-cache:

46b3153 bsp/leafhill: fix warning on kernel config
9e5339a bsp/leafhill: disable dual role and enable gadget role for USB
1ebecac bsp/leafhill: enable ISH client for debugging and calibration
8f9c57f action-s500:Update kernel configuration fragment

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:23:50 -08:00
Alejandro Hernandez
ce81e55f62 core-image-tiny-initramfs: Choose WKS_FILE correctly between architectures
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Alejandro Hernandez
ba824ee3df meta-intel.inc: Set intel-linux as default kernel for poky-tiny
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Alejandro Hernandez
4e5d634471 linux-yocto-tiny: Adds support for core2-32 and corei7-64 on linux-yocto-tiny_4.9 and upgrades to 4.9.13
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Alejandro Hernandez
c5790c6aca linux-yocto-tiny: Adds support for core2-32 and corei7-64 on linux-yocto-tiny_4.4
Also updates SRCREV_meta for intel-quark

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Alejandro Hernandez
be48e2acfc systemd-bootdisk-tiny: Adds kickstart file for poky-tiny to support corei7-64 and
core2-32 using wic

We can now create a tiny initramfs image that can be dd'ed directly
using the following commands, for each MACHINE respectively

        $ wic create systemd-bootdisk-tiny32 -e core-image-tiny-initramfs
        $ wic create systemd-bootdisk-tiny64 -e core-image-tiny-initramfs

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Tom Zanussi
513efa6758 mktinygalileodisk: Adds kickstart file for poky-tiny to support quark using wic
With the output from poky-tiny core-image-tiny-initramfs image, we can
now create an image that can be dd'ed directly to the Galileo2 sdcard using:

    $ wic create mktinygalileodisk -e core-image-tiny-initramfs

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Saul Wold
8a168766ef rmc-db: LICENSE is straight MIT so just use common-license/MIT
The OE-Core LICENSE is mostly MIT, but should not be used as a checksum
file for a purely MIT licensed package.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:18:36 -08:00
Saul Wold
bba5c14934 va-intel: LICENSE is straight MIT so just use COPYING.MIT
The OE-Core LICENSE is mostly MIT, but should not be used as a checksum
file for a purely MIT licensed package.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:18:36 -08:00
wudping
250f40f6a3 libyami: update to verssion 1.1.0
Libyami has released a verssion 1.1.0, This patch makes libaymi
up to date.

Signed-off-by: wudping <dongpingx.wu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:15:19 -08:00
wudping
233d9c4aef libyami-utils: update to verssion 1.1.0
Libyami-utils has released a verssion 1.1.0, This patch makes
libaymi-utils up to date.

Signed-off-by: wudping <dongpingx.wu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:15:16 -08:00
Mikko Ylinen
9cbc001149 rmc: broxton-m: enable xstate save and restore using xsave
The command line setting for Intel 570x added 'noxsave' which
disabled xsave/xrstor to save and restore extended registers.

The systems run fine without the setting so drop noxsave to
gain optimized context switches and get more CPU features
flags (XSAVE*/AVX/MPX) enabled.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07 12:14:01 -08:00
Saul Wold
1a20554ee5 linux-intel: Update meta SRCREV
This fixes the DW_DMAC_PCI config mismatch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-06 13:06:27 -08:00
Saul Wold
8e971f7db7 linux-intel: Update SRCREV
This updates SRCREV moves the kernel to 4.9.12 and adds a number of patches
and backports for the Joule / 5xx series.

The fix.cfg is a temporary fix until the DRM is more compeltely backported.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-06 13:06:27 -08:00
Saul Wold
f5aa708493 intel-common-pkgarch: Add linux-intel
This adds the linux-intel kernel to the list of packages that are
in the intel-common arch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-06 13:06:27 -08:00
Shashwat Pandey
f6e8abbfde dpdk: Add libibverbs library to support MLX config
libibverbs is a library that allows programs to use RDMA "verbs" for
direct access to RDMA (currently InfiniBand and iWARP) hardware from
userspace.

Dpdk has some dependencies with this package to enable CONFIG_RTE_LIBRTE_MLX4_PMD config for supporting  Mellanoc Connect X-3 nics with it.
This config has disabled in dpdk by default.

Signed-off-by: Shashwat Pandey <shashwatx.pandey@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-28 16:05:01 -08:00
Shashwat Pandey
3d22362dcf Updated the DPDK recipe from v16.11 to v17.02.
for dpdk v17.02 updated the existing patch and recipe as per the changes in the directory names.

Rename and modified the patch:
dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch
accordingly since this doesn't apply cleanly on top of dpdk v17.02

Modified .inc according to the change in directory names.

Signed-off-by: Shashwat Pandey <shashwatx.pandey@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-28 16:05:01 -08:00
Dmitry Rozhkov
80ce6eb1d3 meta-intel: Don't override default qemu slirp options
The latest OE's runqemu script by default uses the following
SLIRP options

  -netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::2323-:23

which are suitable for meta-intel too. And what is more important
they don't follow the deprecated syntax currently present in the
option values overriden by meta-intel.

The patch drops the meta-intel specific overrides.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-28 16:05:01 -08:00
Saul Wold
5153dad2fa linux-intel: Use base branch
This branch will contain additional patches on top of the linux-stable
to support the Intel platforms

Updated the SRCREV accordingly also

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 08:06:14 -08:00