summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* recipes-selftest: add images for use in secureboot selftestsCalifornia Sullivan2017-08-306-0/+118
| | | | | | | | | | | | 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>
* ovmf: add secureboot bits from refkitCalifornia Sullivan2017-08-303-0/+124
| | | | | | | | | | | 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>
* linux-intel: Seperate SRC_URI into Kernel and ConfigSaul Wold2017-08-301-2/+7
| | | | | | | 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>
* lms: use sh instead of bash in notifyDesktop.shCalifornia Sullivan2017-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* linux-intel: Update SRCREVSaul Wold2017-08-233-3/+3
| | | | | | Fixes CVE-2017-1000112 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* conf/machine/intel-*: move core-image-minimal-initramfs PACKAGE_INSTALLCalifornia Sullivan2017-08-231-0/+3
| | | | | | | 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>
* images: add core-image-minimal-initramfs bbappendCalifornia Sullivan2017-08-231-0/+3
| | | | | | | | | | | 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>
* sbsigntool: depend on openssl10California Sullivan2017-08-231-1/+1
| | | | | | | 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>
* sbsigntool: port "sbsigntool: stop using gitsm fetcher" from refkitMikko Ylinen2017-08-231-2/+5
| | | | | | | | | | | | | | | | | | | 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>
* efilinux: Enable muslx32 buildsweeaun2017-08-231-0/+8
| | | | | | | | | 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>
* linux-yocto: Drop 4.1 kernel bbappendsRichard Purdie2017-08-233-88/+0
| | | | | | The 4.1 kernel was dropped from OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: install iwlwifi LinuxCore driver firmware blobsMikko Ylinen2017-08-151-0/+21
| | | | | | | | | | | | | | | | | 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>
* xf86-video-mga: upgrade 1.6.4 -> 1.6.5sweeaun2017-08-152-41/+3
| | | | | | | | | 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>
* dpdk-dev-libibverbs: Fix additional warningsKhem Raj2017-08-155-1/+239
| | | | | | | 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>
* libyami-utils: Fix build with clangKhem Raj2017-08-152-1/+102
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* efilinux: Fix build warningsKhem Raj2017-08-153-1/+70
| | | | | | | Additional warnings found with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libyami: Fix build with musl/clangKhem Raj2017-08-1510-1/+417
| | | | | | | 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>
* linux-intel: Update SRCREVs8.0-rocko-2.4_M2Saul Wold2017-08-102-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* iwlwifi: skip host install scriptsMikko Ylinen2017-08-102-2/+39
| | | | | | | | | | | | 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>
* dpdk: Fix build error on the core2-64Guojian Zhou2017-08-101-1/+1
| | | | | | | 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>
* Revert "iwlwifi_git.bb: run make_scripts earlier"Saul Wold2017-08-091-2/+0
| | | | | | | This change is now in master, so no need to have this buried in the recipe also. This reverts commit 03e589efedb03515d3bfe4542e257b1acc83445d.
* iwlwifi: Fix install_append for usrmergeSaul Wold2017-08-081-4/+1
| | | | | | | | | | 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>
* dpdk: Link examples with BFD linkerKhem Raj2017-08-021-1/+1
| | | | | | | | 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>
* dpdk: Fix build with examplesKhem Raj2017-08-022-0/+45
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qat16: Fix build when ld-is-gold is set in DISTRO_FEATURESKhem Raj2017-08-023-1/+19
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libyami: Rename the file to be checked with LIC_FILES_CHKSUMKhem Raj2017-08-021-1/+1
| | | | | | | COPYING.LIB doesn't exist anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* disable_skylake_sound: Temp disable config for core2-32Saul Wold2017-07-312-0/+16
| | | | | | | 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>
* linux-intel: Add linux-intel to files search pathSaul Wold2017-07-311-0/+2
| | | | | | | 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>
* linux-intel: Update SRCREV for 4.9.35Saul Wold2017-07-313-5/+5
| | | | | | | | | | | | | | | | | | | | | 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>
* dpdk: upgrade to version 17.05Syed Mohamad Fauzi, Syed Johan Arif2017-07-315-82/+6
| | | | | 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>
* linux-intel: refactor and remove iwlwifi modules for out of tree enablementSaul Wold2017-07-313-58/+41
| | | | | | | | | | | | 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>
* iwlwifi_git.bb: run make_scripts earlierCalifornia Sullivan2017-07-311-0/+2
| | | | | | | | | | | | 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>
* iwlwifi: Clean-up and use module_installSaul Wold2017-07-311-41/+9
| | | | | | | | | | | 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>
* iwlwifi: include iwlwifi OOT driver in meta-intel layer.Priyalee Kushwaha2017-07-312-0/+85
| | | | | | | | 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>
* intel-microcode: Upgrade recipe versionsweeaun2017-07-311-4/+4
| | | | | | | 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>
* linux-yocto-4.1: Fix kernel versionCalifornia Sullivan2017-07-271-1/+1
| | | | | | | 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>
* thermald: Add openmp to dependencies when building with clangKhem Raj2017-07-271-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-yocto/4.1: Update kernel to version 4.1.41California Sullivan2017-07-243-9/+9
| | | | Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* linux-yocto/4.4: Update kernel to version 4.4.76California Sullivan2017-07-243-15/+15
| | | | Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* intel-gpu-tools: Upgrade to version 1.19Ng, Wei Tee2017-07-191-2/+2
| | | | | | | 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>
* cryptodev-module: update 0001-zc-Force-4.10-get_user_pages_remote-API.patchRobert Yang2017-07-131-8/+5
| | | | | | | 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>
* lms8: Added Intel AMT ME notification infra patch to LMS.Anand Vastrad2017-07-112-0/+2650
| | | | | | | | | | | | | | 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>
* thermald: upgrade to 1.6sweeaun2017-07-111-2/+2
| | | | | | | Upgrade thermald recipe to 1.6. Signed-off-by: sweeaun <swee.aun.khor@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes: move sbsigntool from refkit to meta-intelCalifornia Sullivan2017-07-101-0/+74
| | | | | | | | 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>
* systemd-boot_%.bbappend: compile and deploy EFI stubCalifornia Sullivan2017-07-101-0/+8
| | | | | | | | 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>
* lms8: Added 0003-Fix-device-file-referanc* patch which uses /dev/mei0.Anand Vastrad2017-07-102-0/+92
| | | | | | | | | | | | | | | 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>
* rmc: split rmc.bb and rmc-efi.bb into separate recipesTodor Minchev2017-07-063-3/+41
| | | | | | | | | | 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>
* rmc: add install.conf for platforms without internal storageTodor Minchev2017-07-056-0/+15
| | | | | | | | | | | 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>
* linux-intel: bump srcrevsSaul Wold2017-07-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* core-image-tiny-initramfs: Fixes WKS_FILE for Intel MACHINESAlejandro Hernandez2017-07-051-4/+5
| | | | | | | | | | | 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>