Commit Graph

1666 Commits

Author SHA1 Message Date
Saul Wold
248b47feb3 wic: Move WKS newer common location
This cleans up the wic scripts location to match the newer top-level
wic directory location.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-12 13:35:59 -07:00
Anand Vastrad
deef6f725b lms8: Added Intel AMT ME notification infra patch to LMS.
LMS will now capture and notify Intel AMT ME notifications to user in realtime.
For example if AMT tool establishes a KVM session, the user sees a notification for the same.

Intel ME provides event details in WsMan XML format which is parsed by LMS.
LMS extracts the AlertID-Arguments from WxMan XML and its relevant desription from preinitialized AlertId-Arguments:Description map.
The verbose description is then notfied to the user.

Along with the lms binary the package ships AMTAlerts.xml and notifyDesktop.sh script with it.

Signed-off-by: Anand Vastrad <anand.vastrad@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-11 09:04:02 -07:00
sweeaun
3c5ed40c2f thermald: upgrade to 1.6
Upgrade thermald recipe to 1.6.

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-11 07:59:26 -07:00
California Sullivan
27e8148446 meta-intel.inc: Set default DISK_SIGNATURE_UUID
This lets the uefi-comboapp and new kickstart template work well
together out of the box.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 12:08:20 -07:00
California Sullivan
ad4cbd5d3b canned-wks: add generic-bootdisk kickstart template
This is based off the template in meta-refkit.

It uses the image's boot directory to create a vfat boot partition,
which works with EFI. This works as a WKS_FILE target for the
uefi-comboapp, and will likely be useful in the future as well.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 12:08:20 -07:00
California Sullivan
8b022e4a9c classes: Add uefi-comboapp bbclass
This bbclass pulls in the portion of code that builds a UEFI combo
application from meta-refkit to meta-intel. The combo app contains an
EFI stub from systemd, which allows you to boot a kernel directly, a
kernel, an initramfs, and a command line.

This class is compatible as either an EFI_PROVIDER or IMAGE_CLASSES
target, and does not include the entire _dsk type image creation seen in
meta-refkit.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 12:08:20 -07:00
California Sullivan
7fca20d924 recipes: move sbsigntool from refkit to meta-intel
This is a tool that allows you to sign binaries. Either this or pesign
is needed to support secure boot.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 12:08:20 -07:00
California Sullivan
fa6f2d2896 systemd-boot_%.bbappend: compile and deploy EFI stub
The EFI stub can be used to directly boot a kernel + initramfs.
This addition was taken from meta-refkit.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 12:08:20 -07:00
Anand Vastrad
a7077153af lms8: Added 0003-Fix-device-file-referanc* patch which uses /dev/mei0.
LMS uses /dev/mei to talk to mei, which is not present in recent kernels.
So LMS fails to initialize and is broken. In addition to that the select timesout
post write in SendMessage api which causes communication to mei fail leading to
malfunctioning of LMS.

0003-Fix-device-file-referanc*.patch uses /dev/mei0 and removes select post write
in SendMessage api and relies on write return length for write verification.

This patch is required to get LMS properly working.

Signed-off-by: Anand Vastrad <anand.vastrad@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 07:40:44 -07:00
Saul Wold
fe4eff06ac Revert "meta-intel: Add override for EFI_PROVIDER and x32"
The recent patch from Todor to split the RMC recipe into lib and efi app
allows us to revert this override.

This reverts commit a0ca03a32b.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-08 18:36:06 -07:00
Todor Minchev
b767b5cb2f rmc: split rmc.bb and rmc-efi.bb into separate recipes
X32 builds require that the bootloader is built as x86_64 binary.
This patch splits the build definitions of the RMC userspace application
and the RMC EFI library into separate recipes and builds an x86_64 EFI library
when DEFAULTTUNE is x32.

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-06 16:03:29 -07:00
California Sullivan
0f395e9fe9 meta-tlk: Add linux-intel bbappend
This bbappend adds the time limited kernel patch and configuration
options. Unlike linux-yocto, the patch is not integrated into the source
tree, so we have to add it here.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-06 15:58:01 -07:00
California Sullivan
cb55344928 meta-tlk: merge linux-yocto_tlk.inc with bbappend
Only one recipe uses this .inc file, and we need to add a linux-intel
bbappend that is slightly different, so this .inc file will not be
appropriate there either. Instead just keep everything in the bbappend.

We can reuse the time-limited-kernel config fragment, so move that to a
neutral location as well.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-06 15:58:01 -07:00
Todor Minchev
931e708262 rmc: add install.conf for platforms without internal storage
The bootloader menu provides only boot entries for platforms that do not
have internal storage. This commit adds install entries for such platforms.
For the install option to work, the user has to attach alternative
persistent storage in addition to the media from which the image is
installed.

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-05 23:15:14 -07:00
Saul Wold
e12c30b1a2 linux-intel: bump srcrevs
This includes the release from the Intel Production Kernel team:
These kernels have been tested on Broxton / Apollo Lake SOC based platforms.

Updates:
    - 4.9/dnt: new debug/tracing patches for Android
    - 4.9/audio updates
    - 4.9/drm updates
    - 4.9/usb updates

And updates from Bruce in the kernel config metadata

Integrating the following kernel configuration changes to
clean up the SMP configuration fragments and fix a configuration
audit warning.

  d0e5ea0e199b smp: Separate smp into 32 and 64 bit versions to avoid kernel warnings
  f1369c1d817e bsp/mohonpeak: smp gets added by default, remove unnecessary include
  6fc22aa1200b bsp/rangeley: smp gets added by default, remove unnecessary include

[YOCTO #11743]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-05 23:08:09 -07:00
Alejandro Hernandez
d5a6d49a89 core-image-tiny-initramfs: Fixes WKS_FILE for Intel MACHINES
Since there could be a case on which meta-intel is parsed but no
Intel MACHINE is selected which would turn out in an error where
no value is assigned to WKS_FILE.
We set WKS_FILE directly and specifically for any of the available
Intel MACHINES, and otherwise we leave it as it is.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-05 08:39:59 -07:00
Saul Wold
e88f7e629d Revert "world-broken: Add for dpdk packages"
Testing of to dpdk-libverbs

This reverts commit cbf13b7374.
2017-07-05 08:38:49 -07:00
Maxin B. John
60c53dbdd6 libva-intel-driver: upgrade to 1.8.3
1.7.3 -> 1.8.3

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-29 14:22:33 -07:00
Joe Slater
d7cc11cba1 dpdk-dev-libibverbs: suppress gcc7 warnings
Ignore -Wformat-truncation in init.c.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-29 14:22:17 -07:00
California Sullivan
cebe15d153 Revert "linux-yocto/4.9: Remove bbappends"
This reverts commit de9c533d73.

Removing this completely makes it much more difficult to use layers that
depend on linux-yocto. Keep the default 4.9 kernel as linux-intel, but
have linux-yocto available as an option.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-26 14:03:11 -07:00
Saul Wold
a0ca03a32b meta-intel: Add override for EFI_PROVIDER and x32
Since the existing rmc library does not build correctly for x32
target disable it with an ARCH based OVERRIDE.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-26 09:40:01 -07:00
Saul Wold
cbf13b7374 world-broken: Add for dpdk packages
The dpdk-dev-libibverbs is broken with gcc7 currently

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-26 08:04:26 -07:00
Todor Minchev
a70ba3debd systemd-boot: disable RMC for systemd-boot EFI_PROVIDER
Previously the RMC library was always linked into systemd-boot. Non
rmc-boot EFI_PROVIDERs will not build the rmc.db and userspace tool and
therefore linking the library into these bootloaders is redundant.
This change disables RMC completely when the EFI_PROVIDER is not rmc-boot.

The default EFI_PROVIDER in meta-intel is rmc-boot. To use systemd-boot
without RMC, set EFI_PROVIDER to systemd-boot in your conf/local.conf.

Example:

EFI_PROVIDER = "systemd-boot"

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-23 16:07:40 -07:00
California Sullivan
54d18a7efe linux-yocto/4.1: Update SRCREVs to fix build
Without 398d178 the kernel fails to build with the new gcc.

>From linux-yocto-4.1:

cbdd3d3 Merge branch 'standard/base' into standard/intel/base
398d178 give up on gcc ilog2() constant optimizations

>From yocto-kernel-cache:

c3de59f pwm_leafhill: set pwm as built in by default
3d12fca bsp/axxia[arm|arm64|ppc]: Update Axxia specific fragments
c55c877 cfg: add virtualbox guest configuration fragment
82aa97b kver: bump to v4.1.39

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-22 13:05:57 -07:00
Scott Rifenbark
18dabe6f56 README: Updated referenced section heading for submitting change
The README file references the section heading for submitting a
change.  That section heading in the YP Development Manual has
changed to "Submitting a Change to the Yocto Project".  I updated
the README with the new section heading.

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-22 08:29:36 -07:00
Saul Wold
1e48048734 linux-intel: Update to 4.9.30
This also brings in RT-21 patch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-20 11:55:05 -07:00
Khem Raj
0d9ad2fe89 libyami: Update to 1.2.0
Use downloadfilename fetcher option to avoid
DL_DIR conflicts since both libyami and libyami-utils
name the tarballs to be PV.tar.gz and PV happens
to be same for both

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-20 11:55:05 -07:00
Saul Wold
d90da5961d dpdk: Disable build for MUSL
Until the libibverbs package is fixed for MUSL disable both
dpdk and ibverbs

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-20 11:55:05 -07:00
sweeaun
86c55b1296 iucode-tool: upgrade to 2.1.2
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-09 07:52:59 -05:00
Todor Minchev
aec6d8238c rmc: add support for Broxton-M based Joule board (rev. 1F1)
Finger 0 type   : 0x01
Finger 0 offset : 0x05
Finger 0 name:  : product_name
Finger 0 value  : 570x DVT2

Finger 1 type   : 0x02
Finger 1 offset : 0x05
Finger 1 name:  : product_name
Finger 1 value  : SDS

Finger 2 type   : 0x04
Finger 2 offset : 0x10
Finger 2 name:  : version
Finger 2 value  : Intel(R) Atom(TM) Processor T5700 @ 1.70GHz

Finger 3 type   : 0x7f
Finger 3 offset : 0x00
Finger 3 name:  : reserved
Finger 3 value  :

Finger 4 type   : 0x7f
Finger 4 offset : 0x00
Finger 4 name:  : reserved
Finger 4 value  :

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-07 23:27:29 -05:00
Todor Minchev
b96d9f262d rmc: add fingerprint for generic Broxton-M (rev. 1F1)
Finger 0 type   : 0x01
Finger 0 offset : 0x05
Finger 0 name:  : product_name
Finger 0 value  : 570x DVT1

Finger 1 type   : 0x02
Finger 1 offset : 0x05
Finger 1 name:  : product_name
Finger 1 value  : SDS

Finger 2 type   : 0x04
Finger 2 offset : 0x10
Finger 2 name:  : version
Finger 2 value  : U3E1

Finger 3 type   : 0x7f
Finger 3 offset : 0x00
Finger 3 name:  : reserved
Finger 3 value  :

Finger 4 type   : 0x7f
Finger 4 offset : 0x00
Finger 4 name:  : reserved
Finger 4 value  :

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-07 23:27:29 -05:00
Todor Minchev
ac83d7c726 rmc-db: allow multiple fingerprint per board directory
Different firmware revisions often result in different fingerprints for
the same hardware platform. This change allows multiple fingerprints to
be stored in the same board directory to avoid having to duplicate the
data for each record.

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-07 23:27:29 -05:00
Saul Wold
489a786469 layer.conf: Add LAYERSERIES_COMPAT markup to layer.conf
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-07 10:13:04 -05:00
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