Commit Graph

497 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Saul Wold
fe301af4c7 intel-gpu-tools: Disbale build for MUSL
Currently this program uses a SIGEV_THREAD_ID and structure that is
not fully supported by MUSL, so disable this target for MUSL

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:50 -08:00
Saul Wold
9d4da3577d dpdk: Disable building for musl
Currently dpdk requires the execinfo.h header from glibc which
is not part of MUSL, so for now disable this package.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:50 -08:00
Saul Wold
69af9a33bb zlib-qat: Add patch to support MUSL
MUSL has a stricter policy for header inclusion, so add patch
to explictly include pthread.h

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
66cb81c1b3 openssl-qat: Add patch to support MUSL
openssl-qat was using pthread_yield() instead of the POSIX API of
sched_yield() which MUSL supports

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
baef668041 qat16: add additionl patch with guard for MUSL build
This just disables the use of bits/time.h

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
ef7e9d9fe3 lms7: Use patches from lms8 that fixed MUSL build
The same patches from LSM8 can be applied to LMS7 for
enabling world build with MUSL in meta-intel

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
b5b93ad3ee iucode-tool: Add support for MUSL
iucode-tool needs the arpg API which is not part of MUSL, so add argp-standalone as
a dependency. The arpg library is also required for linking, so add a patch to
the Makefile.am, which is added again based on tclib being MUSL

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
bb6021a093 libva-intel-driver: Add wayland-native to DEPENDS list
Wayland-native is needed for header file generation, since the addition
of Recipe Specific Sysroot, the needed wayland-scanner is not available

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
0c2da99419 libva-intel-driver: Update to 1.7.3
The upstream has moved their source base from FreeDesktop to github.com/01org.

Set $S to WORKDIR/git since this is a git repo now.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-10 07:52:49 -08:00
Saul Wold
fc0d7cf893 linux-intel: Add the linux-intel kernel recipe
This introduces the linux-intel kernel recipe for 4.9, this
kernel tree is a prodcution tree that contains enabling backports
for Intel CPU and Hardware that may be up-streamed in a newer
kernel version.

Additional information can be found in this associated wiki page:
https://github.com/01org/linux-intel-4.9/wiki

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-08 16:28:14 -08:00
Saul Wold
9cf334e096 thermald: Add library to support MUSL
Thermald uses the argp.h interface of glibc, which is not available
in MUSL, so we need to add a depends on argp-standalone.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-06 12:53:50 -08:00
Saul Wold
7e0459614d thermald: Add dbus-glib-native for dbus-binding-tool
The new recipe specific sysroot exposed a missing dependecny on
the dbus-binding-tool

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-06 12:23:23 -08:00
Mikko Ylinen
f1d2fb22a1 rmc: add Minnowboard Turbot board data
To be able to detect a Minnowboard Turbot, its fingerprint
is needed in the RMC database.

This initial commit adds the fingerprint and a simple cmdline
entry (KBOOTPARAM) for the board.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-02 12:59:48 -08:00
Mikko Ylinen
7fba4baa0e systemd-boot: use RMC database in EFI stub
systemd-boot's EFI stub can be built in an EFI executable
with the kernel, cmdline, and initrd.

This commit enables the EFI stub code to use the RMC database
and appends the board specific cmdline (KBOOTPARAM) to the
built-in cmdline.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-02 12:58:46 -08:00
California Sullivan
a020ceb2ae linux-yocto: Add linux-yocto 4.9 bbappends
For now just set COMPATIBLE_MACHINE and KMACHINE, keeping us up-to-date
with OE-core automatically. This is essentially a stripped down version
of our normal bbappends.

kernel-devsrc currently has the following error with 4.9, but it is not
a meta-intel specific issue:

Computing transaction...error: Can't install
kernel-devsrc-1.0-r0.0@intel_corei7_64: no package provides /bin/awk

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24 17:26:42 -08:00
California Sullivan
1c8a4a7aec thermald: Update from 1.5.3 to 1.5.4
This is the latest release version.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24 17:26:42 -08:00
California Sullivan
5c1515beb1 thermald: Add glib-2.0-native to DEPENDS
Thermald uses the command glib-genmarshal to build, which is from
glib-2.0-native.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24 17:26:41 -08:00
Jussi Kukkonen
b7ef51cf8e lms8: Fix build on musl
Add two patches to make lms8 build with musl libc (both generic fixes,
not musl specific).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24 17:26:41 -08:00
Jussi Laako
c92e40dcd3 Update broxton-m machine subtype kernel SRCREV
In order to keep up with current branch head, update SRCREV of broxton-m
machine subtype.

Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24 17:24:30 -08:00