Commit Graph

2049 Commits

Author SHA1 Message Date
sweeaun
92ce2459bc xf86-video-mga: upgrade 1.6.4 -> 1.6.5
Upgrade xf86-video-mga version to 1.6.5. Adapt block/wakeupHandler
signature for ABI 23 patch has been removed as the change already
available from Upstream 1.6.5.

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15 14:03:06 -07:00
Khem Raj
2edb60c5f2 dpdk-dev-libibverbs: Fix additional warnings
Clang detects more warnings as errors and these fixes address it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15 14:03:06 -07:00
Khem Raj
c0b5e0f305 libyami-utils: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15 14:03:06 -07:00
Khem Raj
974fedf70a efilinux: Fix build warnings
Additional warnings found with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15 14:03:05 -07:00
Khem Raj
75e31097d9 libyami: Fix build with musl/clang
These patches are interesting from upstreaming point of view as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15 14:03:05 -07:00
Saul Wold
0d32b245e4 linux-intel: Update SRCREVs
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-10 20:41:45 -07:00
Mikko Ylinen
53004c7517 iwlwifi: skip host install scripts
The scripts run in install target are relevant (and working)
only if the driver installation is run on the build host.

To fix build errors on some setups we add a patch that
skips the scripts completely when cross-compiling.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
[sgw - Added missing Upstream-Status]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-10 13:16:20 -07:00
Guojian Zhou
634986e2da dpdk: Fix build error on the core2-64
Use the "m64" to parse the flag of x86-64 toolchains.

Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-10 13:14:26 -07:00
Saul Wold
e87c179dea Revert "iwlwifi_git.bb: run make_scripts earlier"
This change is now in master, so no need to have this buried
in the recipe also.

This reverts commit 03e589efed.
2017-08-09 08:32:59 -07:00
Saul Wold
1a35dee120 iwlwifi: Fix install_append for usrmerge
Since everything is installed into /usr when usrmerge is enabled,
don't rm /usr!  Also the  is not needed for anything do
don't create it in the first place.

[YOCTO #11882]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-08 08:43:54 -07:00
Khem Raj
7cfcf8d940 dpdk: Link examples with BFD linker
Bypass the gold bug
https://sourceware.org/bugzilla/show_bug.cgi?id=21882

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-02 08:44:31 -07:00
Khem Raj
e03cdba151 dpdk: Fix build with examples
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-02 08:44:31 -07:00
Khem Raj
740e34f1e7 qat16: Fix build when ld-is-gold is set in DISTRO_FEATURES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-02 08:44:31 -07:00
Khem Raj
acf1fd18c2 libyami: Rename the file to be checked with LIC_FILES_CHKSUM
COPYING.LIB doesn't exist anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-02 08:44:31 -07:00
Saul Wold
0d590c4be3 disable_skylake_sound: Temp disable config for core2-32
This is needed because the current kernel has a missing kernel
config check for 32bit skylake sound

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:06:08 -07:00
Saul Wold
1fd316c752 linux-intel: Add linux-intel to files search path
Since both linux-intel and linux-intel-rt need config fragments let's
share the same linux-intel patch directory via FILESEXTRAPATH

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:05:46 -07:00
Saul Wold
b60dce6e86 linux-intel: Update SRCREV for 4.9.35
The kernel updates includes more camera changes

Includes meta update with the following changes:

e8095d4 Alejandro Hernandez common-pc: Adds usb-net configs to genericx86 builds
37cff3d Alejandro Hernandez common-pc-64: Adds usb-net configs to genericx86-64 builds
24325ac Alejandro Hernandez intel-common-drivers: Adds usb-net configs to intel builds
5ea1dcf Syed Johan Arif Bin Syed Mohamad Fauzi features/qat: additional configurations, CONFIG_CRYPTO_RSA and CONFIG_CRYPTO_DH
b3fadcf Syed Johan Arif Bin Syed Mohamad Fauzi features/netfilter: additional configurations
7a4f036 Syed Mohamad Fauzi, Syed Johan Arif features/x2apic: add X2APIC feature
e71bcaa Syed Johan Arif Bin Syed Mohamad Fauzi features/vfio: add VFIO feature
d1b7785 Syed Johan Arif Bin Syed Mohamad Fauzi features/numa: Add NUMA feature
62c9858 Syed Johan Arif Bin Syed Mohamad Fauzi features/mtd: add MTD feature
9a6c643 Syed Johan Arif Bin Syed Mohamad Fauzi features/iommu: add IOMMU feature
1e004c5 Syed Johan Arif Bin Syed Mohamad Fauzi features/intel-txt: add intel-txt feature
63c1229 Saul Wold common-pc-wifi: Enable SDIO for BroadCom BRCMFMAC

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:58 -07:00
Syed Mohamad Fauzi, Syed Johan Arif
da5f7e7081 dpdk: upgrade to version 17.05
Signed-off-by: Syed Mohamad Fauzi, Syed Johan Arif <syed.johan.arif.syed.mohamad.fauzi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:58 -07:00
Saul Wold
d0ba6fc045 linux-intel: refactor and remove iwlwifi modules for out of tree enablement
Create a linux-intel.inc that is shared between standard and rt kernel
for the common bits.

By removing these modules here, we can then build and install the
out of tree modules from the backport-iwlwifi tree.

Move the Autoloading to the kernel module also

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:58 -07:00
Saul Wold
3dfbb5cd08 intel-common-pkgarch: Add out of tree modules
Since we want to support the out of tree modules for wifi and ethernet
we need to also have them as common for all machines in the common arch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:58 -07:00
California Sullivan
03e589efed iwlwifi_git.bb: run make_scripts earlier
This out-of-tree module requires we create scripts before configuration
but module.bbclass runs make scripts sometime before do_compile. In
some builds this results in a failure, as it might not be soon enough.

Run make scripts again but earlier. Ideally we change module.bbclass
instead, but its currently frozen for M2 testing, so we need this
temporary local fix.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-07-31 09:00:58 -07:00
Saul Wold
867a8df51e iwlwifi: Clean-up and use module_install
Use the MODULES_INSTALL_TARGET to correctly set the make target for install,
also use AUTOLOAD for ensuring the modules get loaded correctly.

Let the module class to the correct packaging and install.

Install all the linux-firmware-iwlwifi blobs

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:58 -07:00
Priyalee Kushwaha
1811a41d6f iwlwifi: include iwlwifi OOT driver in meta-intel layer.
iwlwifi driver is built as OOT driver and replaces driver
built in kernel.

Signed-off-by: Kushwaha, Priyalee <priyalee.kushwaha@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:57 -07:00
sweeaun
f8500c5020 intel-microcode: Upgrade recipe version
Upgraded intel-microcode recipe to 20170707 version.

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:57 -07:00
California Sullivan
fe6f23e2d4 linux-yocto-4.1: Fix kernel version
My script set it to v4.1.41, when its actually v4.1.42.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-27 10:01:47 -07:00
Khem Raj
97ec73f5ba thermald: Add openmp to dependencies when building with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-27 10:01:47 -07:00
Saul Wold
3b8d46f617 meta-intel.inc: Ensure thermald is installed for most targets
This will ensure thermald is installed on all target images except core-image-minimal

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-27 10:01:47 -07:00
California Sullivan
009d044176 linux-yocto/4.1: Update kernel to version 4.1.41
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-07-24 16:28:03 -07:00
California Sullivan
b3ec97cb9c linux-yocto/4.4: Update kernel to version 4.4.76
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-07-24 16:26:12 -07:00
Ng, Wei Tee
689e9bba9e intel-gpu-tools: Upgrade to version 1.19
Upgrade intel-gpu-tools recipe to version 1.19

Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-19 08:30:08 -07:00
California Sullivan
625a588f70 uefi-comboapp.bbclass: Split signing functionality into its own bbclass
In the future more secure boot implementations will be offered, with
each one needing the signing method. Instead of repeating a forty line
block of code across several recipes, just use a configurable bbclass.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-19 08:30:08 -07:00
Patrick Ohly
21086869be uefi-comboapp.bbclass: support multiple UEFI combo apps + fixes
The original code in intel-iot-refkit allows to create more than one
UEFI combo app and uses that to create one for removable media and one
for fixed media (after installation), with different boot=PARTUUID=xxx
parameters. This way, an installed image never ended up booting from
the install media.

uefi-comboapp.bbclass now supports the same feature, with
create_uefiapp() as the API function that can be used to create
additional UEFI apps and create_uefiapps as the method where the call
can be added.

In addition, several shortcomings are getting addressed:
- A UEFI combo app must be stored under a name that is specific
  to the image for which it gets created, otherwise different
  image recipes end up overwriting (or using) files from other
  images.
- Signing must be done after creating the apps and before deploying
  them, otherwise the unsigned apps get copied to the image when
  using do_uefiapp_deploy.
- The common code for deployment is now in uefiapp_deploy_at.
- $dest is used instead of ${DEST} because the latter might get
  expanded by bitbake.
- Because do_uefiapp always had to run anew to produce the
  clean, unsigned input for do_uefiapp_sign, having two different
  tasks just added unnecessary complexity. Now all code is in
  do_uefiapp.
- Old files matching the output pattern get removed explicitly,
  because they might not get overwritten when the optional
  app suffix changes between builds, or when the task fails
  in the middle.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-19 08:30:08 -07:00
Robert Yang
e76947d3ee cryptodev-module: update 0001-zc-Force-4.10-get_user_pages_remote-API.patch
Update it for cryptodev-module 1.9.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-13 11:14:49 -07:00
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