Commit Graph

1391 Commits

Author SHA1 Message Date
Jan Kiszka
1f8dd1b00c linux-yocto/4.4: Fix wrong rt SRCREV for 4.4 - for real
d86d58a99dd4 didn't fix the issue it wanted to address but rather
referred to the corresponding commit of standard/tiny/intel/base instead
of standard/preempt-rt/intel/base. A local workaround for the original
meta-intel issue papered over this during testing. Fix it for real.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-19 10:56:23 -08:00
Jan Kiszka
4890c79fb6 linux-yocto/4.4: Fix wrong rt SRCREV for 4.4
This one refers to the merge of 4.4.26. Mistake of 371461eae4.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-09 13:24:06 -08:00
California Sullivan
10feb903cf linux-yocto: Remove mei from KERNEL_FEATURES
The kernel cache was refactored and this feature was moved, and is now
included in intel-common BSPs by default. This option is no longer
necessary and by pointing to the wrong location was breaking builds.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-16 09:12:26 -08:00
California Sullivan
82104c818f linux-yocto/4.1: Update SRCREVs to v4.1.33 and CVE-2016-5195 fix
With this major CVE an update to the kernel is required.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-16 09:12:23 -08:00
California Sullivan
371461eae4 linux-yocto/4.4: Update SRCREVs to v4.4.26 and fix CVE-2016-5195
Due to this major CVE, a kernel update is required.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-16 09:12:20 -08:00
Tom Zanussi
b8c199201f linux-yocto-rt/4.4: Switch to standard/preempt-rt/intel/base
The dedicated standard rt branch for Intel platforms has been renamed
to standard/preempt-rt/intel/base - update the 4.4 rt kernel recipe
accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 22:04:03 -05:00
Tom Zanussi
0b8fa5f88a linux-yocto/4.4: Switch to standard/intel/base
The dedicated standard branch for Intel platforms has been renamed to
standard/intel/base - update the 4.4 kernel recipe accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 22:04:03 -05:00
Tom Zanussi
83d07a7ca6 linux-yocto-tiny/4.4: Switch to standard/tiny/intel/base
The dedicated standard tiny branch for Intel platforms has been
renamed to standard/tiny/intel/base - update the 4.4 tiny kernel
recipe accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 22:03:57 -05:00
Tom Zanussi
8d396e0319 linux-yocto-tiny: Fix broken SRCREV specifications
linux-yocto-tiny uses hyphens rather than underscores between SRCREV
and the machine or meta specification, preventing it from actually
taking effect.  Fix it by changing the hyphens to underscores.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 17:38:48 -05:00
Tom Zanussi
32b52225a7 intel-common-pkgarch: Set common PACKAGE_ARCH for linux-yocto-tiny
The linux-yocto-tiny metadata assumes the common PACKAGE_ARCH but
without this is actually machine-specific and broken.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 17:23:04 -05:00
Tom Zanussi
b8db403e21 linux-yocto-tiny/4.1: Switch to standard/tiny/intel/base
The dedicated standard tiny branch for Intel platforms has been
renamed to standard/tiny/intel/base - update the 4.1 tiny kernel
recipe accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 12:44:35 -05:00
Tom Zanussi
7b38f0ef5f linux-yocto-rt/4.1: Switch to standard/preempt-rt/intel/base
The dedicated standard rt branch for Intel platforms has been renamed
to standard/preempt-rt/intel/base - update the 4.1 rt kernel recipe
accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 12:44:35 -05:00
Tom Zanussi
29b3f6c438 linux-yocto/4.1: Switch to standard/intel/base
The dedicated standard branch for Intel platforms has been renamed to
standard/intel/base - update the 4.1 kernel recipe accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-23 12:44:29 -05:00
Tom Zanussi
58b8e0f2e6 linux-yocto-rt/4.4: Update KBRANCH
standard/preempt-rt was replaced by standard/preempt-rt/base in
linux-yocto-4.4.git, so KBRANCH needs to be updated accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-06-03 16:58:47 -05:00
California Sullivan
91ffb8144c linux-yocto/4.4: Update SRCREVs for Broxton enablement
This SRCREV update adds support for Broxton and Apollo Lake SoCs.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-05-04 13:14:48 -07:00
Saul Wold
c4b02a6118 linux-firmware: Add -19 version to support iwlwifi-8000c drivers
The iwlwifi-8000c requires the -19 version, but the latest
linux-firmware does not include that version of firmware.

This is required for support Broxton

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-05-04 08:31:58 -07:00
Ong Chun Weng
04f76ffd6b linux-yocto-4.4: Update SRCREVs to latest
This update points the SRCREVs to latest HEAD which consists
of skylake config enabling in yocto-kernel-cache-4.4

Signed-off-by: Ong Chun Weng <chun.weng.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-05-03 21:54:08 -07:00
Tom Zanussi
663dcdb0aa README.sources: New file
When the machine-specific BSPs were removed, README.sources was also
removed, but it's still needed for intel-common and intel-quark
releases.

Because we no longer have separate BSP directories for those BSPs,
make it a top-level file in meta-intel.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-29 07:15:34 -07:00
Tom Zanussi
0e86d961bc conf/machine/README: Remove
All content has been moved to the top-level README.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-29 07:15:31 -07:00
Tom Zanussi
70a1429dfe README: Add build and boot instructions and restructure
The intel-common README in conf/machine/README doesn't describe how to
build an intel-common BSP, and with the removal of the
machine-specific BSPs, there's no longer any instructions at all for a
user to learn how to build and boot a meta-intel BSP.

This commit generalizes and adds those instructions back but this time
to the top-level README, which is also cleaned up and given a table of
contents to make it more useful.

It also moves the content from conf/machine/README to the top-level
README; conf/machine/README will be removed in another patch.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-29 07:15:27 -07:00
California Sullivan
d9727db3e7 conf/machine/intel-*: Add rootwait to APPEND variables
When using the init-install-efi.sh scripts from oe-core to install to a
USB stick, we do not get the "rootwait" kernel command line option.
Without the rootwait option we get a kernel panic when
attempting to boot from the installed USB stick.

This patch adds rootwait to the kernel command line of all intel-*
MACHINEs as a temporary workaround. This could potentially impact boot
times with devices that do not require it, but in testing with a
Silverjaw lure and SSD on a MinnowBoard Max, it did not have a noticable
impact.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-26 09:42:21 -07:00
Alejandro Hernandez
d519b9d8e5 gma500-gfx-check: Fix dependency to meta-poky
The gma500-gfx-check we used had a dependency to meta-poky via a bbappend file
this is unnacceptable, but this check is still needed on genericx86 and
intel-core2-32, so this patch makes copy of the gma500-gfx-check to meta-intel
to avoid the dependency issue

[YOCTO #9181]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-22 07:22:15 -07:00
Jianxun Zhang
e05c3b1e86 README: Update build procedure for intel-quark
Add more detailed info and steps to build quark, also with
minor indentation and styling fixes.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-21 16:24:15 -07:00
California Sullivan
85f22beb7f linux-yocto/4.4: Update SRCREVs to latest
This update adds a number of Broxton enablement patches and aufs
support, and fixes a kernel oops. The aufs feature can be enabled
through the KERNEL_FEATURES variable.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-21 16:22:39 -07:00
California Sullivan
9bf368f0c6 linux-yocto/4.1: Update SRCREVs to latest
Backports of upstream spi changes for Broxton and Apollo lake support.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-21 16:22:03 -07:00
Azril Ahmad
c55d0f0549 gstreamer-vaapi: Backport the HEVC decode fix for Matroska (.mkv) container
Backport the gstreamer-vaapi upstreamed patch to fix the HEVC decoding that failed on
Matroska (.mkv) video container.

This patch was imported from gstreamer-vaapi FreeDesktop git server
(git://anongit.freedesktop.org/gstreamer/gstreamer-vaapi) as of commit id :
a486942ba2d44ba2f60fec25175c681786021b48 to fix the BugZilla #762922 defect.
(https://bugzilla.gnome.org/show_bug.cgi?id=762922)

Signed-off-by: Azril Ahmad <mohd.azril.ahmad@intel.com>
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-20 05:42:00 -07:00
Rahul Kumar Gupta
c5650b6811 meta-isg: dpdk: Update v2.2.0 -> v16.04
update the dpdk recipe from v2.2.0 to v16.04. Rename the patches
according to the recipe version.
Now dpdk is following 'year-month' format for version numbering.

dpdk v16.04 required "CONFIG_RTE_IP_FRAG=y" in order to build
ip_fragmentation application.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-14 09:57:29 -07:00
Rahul Kumar Gupta
b6c9d76e18 meta-isg: qat16: update v2.3.0-34 -> v2.6.0-65
* Add recipe for qat16 v2.6.0-65 and retire qat16 v2.3.0-34 with respective
  patches
* Use the version directly in SRC_URI instead of ${PV} since version of qatmux
  (v2.6.0-60) and qat16 (v2.6.0-65) are no longer same.
* Added an install target to makefiles to help install ingredients at a proper
  path.
* Ensure that compiler linker and archiver will override only when it is not
  defined by the environment.
* Override the MACHINE name for do_install.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-12 10:31:10 -07:00
Rahul Kumar Gupta
b11880629a meta-isg: qat16: move src url path from inc to bb
Move the inclusion of SRC_URI:
https://01.org/sites/default/files/page/qatmux.l.${PV}.tgz;name=qat

from qat16.inc to version specific qat16 bb files. Since qatmux version
and qat16 version is no more same. So can't use ${PV} variable for next
version.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-12 10:31:06 -07:00
California Sullivan
7d2b2f5b64 linux-yocto/4.4: Update SRCREVs to latest
This patch adds the following from linux-yocto-4.4:

c43425f73287 mfd: lpss: Add PCI IDs for Intel Broxton B-Step platform
2d6cc1d3e71f spi: pxa2xx: Add support for Intel Broxton B-Step
1df3674b7626 usb: dwc3: gadget: don't send extra ZLP
222ab0043e48 usb: dwc3: gadget: handle request->zero
3f01b2c0295a usb: dwc3: gadget: simplify dwc3_gadget_ep_queue()
729b5a1f8f65 usb: dwc3: gadget: set the OTG flag in dwc3 gadget driver.
65740f5d1a0d usb: dwc3: gadget: simplify next_request() return check
a82442f90ea7 usb: dwc3: Fix assignment of EP transfer resources
d99293bbaa50 usb: dwc3: ep0: fix setup_packet_pending initialization
10527a38c88d drm/i915/skl: Fix DMC load on Skylake J0 and K0

It also adds the following from the yocto-kernel-cache:

770996a263e22 features: add overlayfs
28bff6d39803a cfg/virtio.cfg: enable SCSI_VIRTIO
644ce210f167a qemuarma9: enable gfx
194a6c1c4b783 qemuarm64: enable 32 bit application support
32e84686fc874 ktypes/standard: Add tmpfs-posix-acl feature
138a5a13a4928 features: Add tmpfs-posix-acl feature fragments

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-04 17:40:33 -07:00
Rahul Kumar Gupta
a43ca69a9d meta-isg: zlib-qat: explicitly set EXTRA_OEMAKE required
The openssl recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-30 16:18:12 -07:00
Rahul Kumar Gupta
a54c2107b3 meta-isg: openssl-qat: fix configure and compilation
'disable-static' option is there in EXTRA_OECONF variable. No such option
is supported by configure script. So better to pass required option
directly without using variable.
This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-30 16:18:11 -07:00
Rahul Kumar Gupta
dcfd63ce73 meta-isg: qat16: fix v2.5.0 build with kernel v4.4
The qat recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
 explicit so that the default in bitbake.conf can be changed.

The prototype of a func used in QAT16 is changed in kernel v4.4

Also, make sure that we point to the correct include path to the local
headers.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-30 16:18:09 -07:00
Otavio Salvador
abb8758eb8 tlk: layer.conf: Add proper dependency and priority
It is expected that every layer provides a priority and its
dependencies. This includes the needed information in layer.conf.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29 12:11:28 -07:00
California Sullivan
c6efc3ea16 machine: add i915 firmware to initramfs for intel-core* MACHINEs
Skylake and Broxton graphics require firmware blobs to run properly.
The firmware must be built into the initramfs since the i915 driver is
built into the kernel and won't have rootfs access on initialization.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29 11:45:33 -07:00
Jianxun Zhang
776c379e73 libva-intel-driver: update 1.6.2 -> 1.7.0
Update libva-intel-driver to the latest release package.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29 11:45:33 -07:00
Jianxun Zhang
c7f7d7ff29 intel-gpu-tools: update 1.13 -> 1.14
A new ISC section was added into COPYING when some new code under
ISC license was imported into the project (ef724ab2bb). Checksum
of license is updated accordingly.

[YOCTO #9292]

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29 11:45:20 -07:00
Jianxun Zhang
53ece8f9fa libva: update 1.6.2 -> 1.7.0
Update libva to the latest release package.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29 11:44:56 -07:00
California Sullivan
3f637d34c9 linux-yocto/4.4: Galileo updates and explicitly set CONFIG_FTRACE=y
Integrate several patches for Galileo support.
Explicitly set CONFIG_FTRACE=y in the yocto-kernel-cache, as the ktype
refactoring update caused it to no longer be set by default in standard.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-17 22:20:59 -07:00
California Sullivan
c0f64623df linux-yocto/4.4: Update SRCREVs to incorporate ktype changes
The standard ktype was changed to not include EMBEDDED, EXPERT, or
DEBUG_KERNEL and a new ktype called developer was added that does
include those options.

By default we lose a number of debug options but gain a more production-
ready kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-17 22:20:56 -07:00
California Sullivan
7965dc8149 linux-yocto/4.1: Update to Linux 4.1.18
This SRCREV update also includes the fix to CVE-2016-0728.
An intermittent graphics bug that appears to be harmless besides spamming
dmesg has been observed on this release, but it is very rare and no method
to reproduce or patch to fix it has been found.

The graphics bug observed is "vblank wait timed out on crtc 0" followed by
a call trace.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-10 09:23:35 -08:00
California Sullivan
e89df4b0e8 linux-yocto/4.4: Update to linux 4.4.3
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-03-04 15:05:11 -08:00
Saul Wold
cdbf029110 meta-intel.inc: Update INTRD to INITRD_LIVE
This address a boot issue based on using the new bootimg code that
makes a distiction between Live and VM type of image so they can
co-exisit.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-03 15:48:25 -08:00
California Sullivan
aaab29ad03 machine: move PREFERRED_VERSION/PREFERRED_PROVIDER to meta-intel.inc
This information is the same across all meta-intel supported MACHINEs,
so we can move it to a shared location.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-22 14:53:15 -08:00
California Sullivan
95e3bea7f6 machine: update PREFERRED_VERSION to 4.4 for intel-core* and intel-quark
This makes us use the new 4.4 kernel by default.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-22 14:53:15 -08:00
California Sullivan
feb264f773 linux-yocto: add bbappends for 4.4 kernels
These are necessary for the meta-intel BSPs to make use of the new
kernel. The SRCREVs are pointing at kernel version 4.4.1 - the latest
stable release.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-22 14:53:15 -08:00
Alejandro Hernandez
324918de46 gma500_gfx: Avoid inserting gma500_gfx module for certain devices
The gma500_gfx driver will match certain devices on which it causes incorrect functionality,
we want to avoid inserting this module, basicallly blacklist it for specific hardware,
but still allow it to work on other hardware by default; usually when we have an already working system,
using udev rules would do the job, but since we are building it, it is impossible to blacklist
a driver when a certain udev rule matches, since rootfs isn't writeable at this point during boot time,
the solution is to use modprobe install, which runs a certain command instead of inserting a matching module
this command needs to insert the module manually afterwards and have a flag --ignore-install
so it doesn't create an infinite loop executing itself everytime it wants to insert the module,
busybox's modprobe doesnt provide this functionality, so a small hack had to be used to avoid
the infite loop instead.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-02-19 07:52:09 -08:00
Rahul Kumar Gupta
5640cd6bc1 meta-isg: openssl-qat: Add support for v0.4.9-009
This recipe adds the openssl-qat engine that accelerates some of the libcrypto
algorithms via the Intel QAT implemented on Intel communication chipsets.

QAT sample patch v0.4.9-009 is based on async branch of openssl-1.0.1m.

openssl & zlib shim layers both install the qat_mem.ko driver. Make openssl
shim dependent on zlib-qat and ensure that only zlib-qat installs this
kernel module.

This fix change in future when qat_mem module has been forked into
a separate package.

The recipe is for platforms like grantley and crystalforest
using the common BSP intel-corei7-64.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-02-12 14:20:52 -08:00
Reinette Chatre
3954408303 intel-gpu-tools: modify packaging to support different usages
The intel-gpu-tools recipe describes itself as "Variety of small tools
for testing intel graphics.". Current packaging does not support "small"
usages.
Here we separate out the tests (about 25MB) and benchmarks (about 2MB)
into two new packages that can be installed when they are needed. For the
usages that only need the tools, the intel-gpu-tools package
contains those.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-02-12 14:20:51 -08:00
Ross Burton
785ab470df lms7: pass expand to getVar
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-02-12 14:20:51 -08:00