summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-09-01linux-intel.inc: remove iwlwifi depends and rms8.0-rocko-2.4_M3California Sullivan
Now that the backport-iwlwifi packages play nicely with the normal modules we don't need to remove their files. Also we discovered that backport-iwlwifi breaks non-Intel wifi, so only have it as an option rather than the default. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-31backport-iwlwifi: Add KERNEL_MODULE_PACKAGE_PREFIXCalifornia Sullivan
This lets it live alongside regular kernel modules. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-31iwlwifi: rename to backport-iwlwifiCalifornia Sullivan
This is the proper name of the repo. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-30ixgbe upgrade to version 5.1.3Syed Johan Arif Bin Syed Mohamad Fauzi
Signed-off-by: Syed Johan Arif Bin Syed Mohamad Fauzi <syed.johan.arif.syed.mohamad.fauzi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30linux-intel: Update both SRCREVsSaul Wold
This updates the meta SRCREV to include the following fixes: 1341c53 Mikko Ylinen intel-common: disable ixgbe modules 6514df4 Mikko Ylinen ktypes/standard: enable CONFIG_CRYPTO_CCM and GCM ad71574 Mikko Ylinen skylake/audio: enable CONFIG_CRC8 to build soundwire driver 0dd1939 Bruce Ashfield wifi: drop BRCMFMAC_PROTO_MSGBUF, since it is selected And both the kernel SRCREV to included some patches including: core: x86/acpi: Restore the order of CPU IDs Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30linux-intel: blacklist snd-soc-skl moduleMikko Ylinen
snd-soc-skl module init fails with an error: snd_soc_skl 0000:00:0e.0: ipc: set large config fail, err: -110 but the module remains loaded. An alternative driver 'snd-hda-intel' is also loaded but snd-soc-skl is "used". The end result is soundcards are missing (due to the failure) on, e.g., Intel 570x/Joule. As snd-soc-skl is known to be problematic, let's blacklist that and prefer snd-hda-intel to get audio working. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30Add secureboot selftestsCalifornia Sullivan
This was based on the secureboot selftests in meta-refkit: https://github.com/intel/intel-iot-refkit/blob/3bf04941a3a150ed86d8ae61366ae3a19443a600/meta-refkit/lib/oeqa/selftest/cases/secureboot.py It had to be modified a bit to work in meta-intel, as we can't depend on efivar which resides in meta-openembedded. Instead, in order to test that secureboot is enabled, we first try to boot with an unsigned, then image signed with incorrect keys, and search for a "Security Violation" error message in each log. If the image booted successfully or that error did not occur, something went wrong and the third test becomes invalid. The third test is simply booting an image that is signed with the enrolled keys, getting to a login screen and running a simple command. Note that these tests can be quite time consuming, as we have to wait for the first two tests to timeout, and the timeout values have to be somewhat high as it sometimes takes a while for the ovmf firmware to come up. Original work by Mikko Ylinen and Patrick Ohly. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30recipes-selftest: add images for use in secureboot selftestsCalifornia Sullivan
This patch adds two image recipes and several keys for use in secureboot selftests. One image is an unsigned comboapp with a startup.nsh file calling bootx64.efi. The other is a comboapp image signed with the refkit keys by default. These are the same keys enrolled in the ovmf firmware. Also included is another set of keys to sign the image with that do not match the ovmf firmware's enrolled keys. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30ovmf: add secureboot bits from refkitCalifornia Sullivan
This patch adds a couple secureboot elements to ovmf that originated from refkit. It includes a patch that adds a certificate to the ovmf's enrolled keys, and an image recipe which calls the enrollkeys app. Original work by Mikko Ylinen and Patrick Ohly. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30linux-intel: Seperate SRC_URI into Kernel and ConfigSaul Wold
This allows for setting a different kernel config URI without having to completely reset the main SRC_URI for the kernel also. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-23lms: use sh instead of bash in notifyDesktop.shCalifornia Sullivan
A recent update to OE-core revealed the missing runtime dependency: ERROR: lms8-8.0.0-7-r0 do_package_qa: QA Issue: /usr/bin/notifyDesktop.sh contained in package lms8 requires /bin/bash, but no providers found in RDEPENDS_lms8? [file-rdeps] But it turns out that notifyDesktop doesn't actually require bash: $ checkbashisms.pl notifyDesktop.sh could not find any possible bashisms in bash script notifyDesktop.sh So just change the shebang line to /bin/sh. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> CC: mikko.ylinen@linux.intel.com CC: anand.vastrad@intel.com Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-23linux-intel: Update SRCREVSaul Wold
Fixes CVE-2017-1000112 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-23conf/machine/intel-*: move core-image-minimal-initramfs PACKAGE_INSTALLCalifornia Sullivan
A machine configuration file wasn't the correct place to put this in the first place. It should be in a bbappend, which we now have. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-23images: add core-image-minimal-initramfs bbappendCalifornia Sullivan
Modify core-image-minimal-initramfs to use the initramfs-framework init scripts instead of the old ones when using an Intel MACHINE type. The initramfs-framework scripts are preferred, as they allow for booting on both live and real images and are more modular, allowing additions via new modules. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-23sbsigntool: depend on openssl10California Sullivan
sbsigntool does not currently work with openssl version 1.1 which was just added to OE-core, so depend on version 1.0.* instead. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-23sbsigntool: port "sbsigntool: stop using gitsm fetcher" from refkitMikko Ylinen
From Mikko: gitsm fetcher does not work well with download cache (submodules never get to the local source mirror) and each builds ends up cloning ccan. Move to use git fetcher (with https protocol) for both sbsigntool and ccan independently to speed up fetching and to get the mirroring benefits. The gitsm fetcher limitations are reported in YOCTO #11594. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> This syncs us up with the sbsigntool recipe in meta-refkit. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-23efilinux: Enable muslx32 buildsweeaun
Enable muslx32 build for efilinux. Using -m64 instead of -mx32 in TUNE_CCARGS as efi needed to be built for 64 bits. Signed-off-by: sweeaun <swee.aun.khor@intel.com> [Fixed whitespace error] Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-08-23linux-yocto: Drop 4.1 kernel bbappendsRichard Purdie
The 4.1 kernel was dropped from OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-15linux-firmware: install iwlwifi LinuxCore driver firmware blobsMikko Ylinen
meta-intel maintains a recipe that installs iwlwifi's LinuxCore wifi driver releases. For some iwfwifi LinuxCore supported wireless chips, the best/latest firmware blobs are found in the iwlwifi's linux-firmware.git fork. See: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release This bbappend fetches the -31.ucode (currently, for Intel Wireless 8260 only!) that is the best match for the iwlwifi LinuxCore release built. The bbappend can later be extended to pull in firmware blobs for other chips too. Fixes: [YOCTO #11925] Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15xf86-video-mga: upgrade 1.6.4 -> 1.6.5sweeaun
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-15dpdk-dev-libibverbs: Fix additional warningsKhem Raj
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-15libyami-utils: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-15efilinux: Fix build warningsKhem Raj
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-15libyami: Fix build with musl/clangKhem Raj
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-10linux-intel: Update SRCREVs8.0-rocko-2.4_M2Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-10iwlwifi: skip host install scriptsMikko Ylinen
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-10dpdk: Fix build error on the core2-64Guojian Zhou
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-09Revert "iwlwifi_git.bb: run make_scripts earlier"Saul Wold
This change is now in master, so no need to have this buried in the recipe also. This reverts commit 03e589efedb03515d3bfe4542e257b1acc83445d.
2017-08-08iwlwifi: Fix install_append for usrmergeSaul Wold
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-02dpdk: Link examples with BFD linkerKhem Raj
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-02dpdk: Fix build with examplesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-02qat16: Fix build when ld-is-gold is set in DISTRO_FEATURESKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-02libyami: Rename the file to be checked with LIC_FILES_CHKSUMKhem Raj
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-07-31disable_skylake_sound: Temp disable config for core2-32Saul Wold
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-31linux-intel: Add linux-intel to files search pathSaul Wold
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-31linux-intel: Update SRCREV for 4.9.35Saul Wold
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-31dpdk: upgrade to version 17.05Syed Mohamad Fauzi, Syed Johan Arif
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-31linux-intel: refactor and remove iwlwifi modules for out of tree enablementSaul Wold
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-31intel-common-pkgarch: Add out of tree modulesSaul Wold
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-31iwlwifi_git.bb: run make_scripts earlierCalifornia Sullivan
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-31iwlwifi: Clean-up and use module_installSaul Wold
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-31iwlwifi: include iwlwifi OOT driver in meta-intel layer.Priyalee Kushwaha
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-31intel-microcode: Upgrade recipe versionsweeaun
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-27linux-yocto-4.1: Fix kernel versionCalifornia Sullivan
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-27thermald: Add openmp to dependencies when building with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-27meta-intel.inc: Ensure thermald is installed for most targetsSaul Wold
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-24linux-yocto/4.1: Update kernel to version 4.1.41California Sullivan
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-07-24linux-yocto/4.4: Update kernel to version 4.4.76California Sullivan
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-07-19intel-gpu-tools: Upgrade to version 1.19Ng, Wei Tee
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-19uefi-comboapp.bbclass: Split signing functionality into its own bbclassCalifornia Sullivan
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>