summaryrefslogtreecommitdiffstats
path: root/common/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* meta-intel: Reorganize the layout to remove commonSaul Wold2017-11-2010-639/+0
| | | | | | | Remove the concept of the common directory and move all the recipes-* dirs to the top level as a normal layer would be. layer.conf is updated appropriately Signed-off-by: Saul Wold <sgw@linux.intel.com>
* core-image-tiny: Provide a new image recipe for poky-tiny that boots from RAMAlejandro Hernandez2017-09-152-11/+37
| | | | | | | | This new image recipe creates an image from the artifacts obtained after building core-image-tiny-initramfs, it boots directly to a tiny rootfs provided by initrd Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
* initramfs-live-install-efi bbappend: Fix Yocto Project compatibilityCalifornia Sullivan2017-09-121-1/+1
| | | | | | | | FILESEXTRAPATHS was being added to unconditionally. Use the intel-x86-common MACHINEOVERRIDE to fix the issue. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* ovmf_%.bbappend: Fix Yocto Project compatibility issueCalifornia Sullivan2017-09-121-1/+1
| | | | | | | | FILESEXTRAPATHS was being added to unconditionally. Use the intel-x86-common MACHINEOVERRIDE instead. 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>
* 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>
* 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>
* 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>
* iucode-tool: upgrade to 2.1.2sweeaun2017-06-091-2/+2
| | | | | Signed-off-by: sweeaun <swee.aun.khor@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* intel-microcode: Update to latest 20170511Saul Wold2017-05-161-4/+4
| | | | | | | 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>
* initrdscripts: add support for NVME target installNg, Wei Tee2017-05-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* thermald,iucode-tool,libyami: Add UPSTREAM_CHECK_ variablesAníbal Limón2017-05-091-0/+2
| | | | | | | | 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>
* core-image-tiny-initramfs: Choose WKS_FILE correctly between architecturesAlejandro Hernandez2017-03-071-0/+10
| | | | Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
* iucode-tool: Add support for MUSLSaul Wold2017-02-102-0/+33
| | | | | | | | iucode-tool needs the arpg API which is not part of MUSL, so add argp-standalone as a dependency. The arpg library is also required for linking, so add a patch to the Makefile.am, which is added again based on tclib being MUSL Signed-off-by: Saul Wold <sgw@linux.intel.com>
* iucode-tool: Upgrade to 2.1.1Saul Wold2017-01-241-5/+3
| | | | | | | | | | The license info changed due to update of year and formatting They also changed the toplevel directory in the tarball from iucode_tool -> iucode-tool CVE: CVE-2017-0357 Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* initramfs-live-install-efi: Make use of new overrideSaul Wold2016-11-022-0/+1
| | | | | | | | | | | Move script to the files/intel-x86-common sub-dir which will be used based on the added override in MACHINEOVERRIDES Signed-off-by: Saul Wold <sgw@linux.intel.com> foo Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Don't install boot entries when RMC entries existJianxun Zhang2016-08-031-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | RMC installer copies RMC entries after copying default entries. But default entries aren't overwritten when RMC entries have different file names from them, so they will be kept on target after installation. RMC Bootloader skips loading default entries when it can get RMC entries from RMC database file. However, RMC database file isn't deployed onto target in installation by design. As a result, default entries show up along with deployed RMC entries once target reboots after installation. We cannot get rid of these default entries in RMC deployment section because it doesn't know which entry file should be removed. An easier way is not to deploy default entries when any boot entry files assumingly from RMC are already deployed at a later step. Similar logic applies to loader.conf too. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Reviewed-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* rmc: Add support for POSTINSTALL.sh post-installation hookJianxun Zhang2016-08-031-0/+8
| | | | | | | | | | | | | | | POSTINSTALL.sh provides developer a final chance to retouch almost anything deployed on target before unmounting partitions and reboot at the end of an installation session. RMC installer executes this script if it can be queried from RMC database file for the running board. Some steps to make system bootable still happen after this hook. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Reviewed-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* EFI installer: Deploy board-specific data and kernel cmdlineJianxun Zhang2016-08-032-0/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the existing init-install-efi.sh in OE to call RMC tool so that it can deploy file blobs and a global kernel cmdline fragment associated to the type of current running board. At first, it tries to retrieve a special configuration file INSTALLER.CONFIG associated to the board from RMC database file on ESP. If the config file is fetched successfully, installer parses configuration file to know which file blobs should be deployed from database to target, also with other necessary information like FS attributes of deployed file. If a rule in config file is to create a directory, installer creates it accordingly. Developer must direct installer to create new directory first if destination of a file is in that directory by adding a '/' at the end of a line. The below is an example of INSTALLER.CONFIG. It directs installer to deploy a boot entry boot.conf to EFI partition, create a directory /etc/mylib/ on target's rootfs, and deploy a config file mylib.conf in the created directory. The first several lines started with '#' are comment. efi_entry_dir:root:disk:770:/boot/loader/entries/ boot.conf:root:disk:770:/boot/loader/entries/rmcboot.conf mylibdir:root:root:770:/tgt_root/etc/mylib/ mylib.conf:root:root:660:/tgt_root/etc/mylib/mylib.conf When installer cannot get config file for the type of running board, it skips any board-specific deployment. If a command fails at any step, installer simply moves to the next. After all the boot entries are deployed, installer seeks a config file KBOOTPARAM from RMC database file. In success, it appends the content of KBOOTPARAM to the end of kernel command line of every deployed entry. KBOOTPARAM works as a global kernel command line fragment specific to the type of running board. The installer is copied and modified from OE: ./recipes-core/initrdscripts/files/init-install-efi.sh: (OE-Core rev: 031c2f6ced917a81b4f39dca371773d0275ddf73) Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Reviewed-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* intel-microcode: Update to the 20160714 versionChristopher Clark2016-07-221-4/+4
| | | | | | | | | | Dates changed in Licence file required CHKSUM update From the OpenXT Project ( http://openxt.org ) refs: OXT-668 Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* iucode-tool: Update to 1.5Saul Wold2016-01-041-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* intel-microcode: Update to the 20151106 versionSaul Wold2016-01-041-4/+4
| | | | | | Dates changed in Licence file required CHKSUM update Signed-off-by: Saul Wold <sgw@linux.intel.com>
* iucode-tool: bump version to 1.3Doug Goldstein2015-09-011-5/+7
| | | | | | | | Bump to version 1.3. Upstream has relocated the project to GitLab.com which this takes into account as well. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* intel-microcode: bump version to 20150121Doug Goldstein2015-09-011-5/+4
| | | | | | | | | | | Bumped version to 20150121. Dropped runtime dependency on iucode-tool which is used to generate the cpio or trim down the data file based on your CPU. While it can also be used to load the microcode that is not the recommended method for Linux 3.9 and newer instead you should use the kernel's built-in early microcode loading facilities. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* intel-microcode: Mark as x86-specificRoss Burton2015-01-071-0/+2
| | | | | | | | Previously iucode-tool was marked as x86-specific but this recipe also needs to be marked as it depends on iucode-tool. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* iucode-tool: this is x86-only so mark as suchRoss Burton2014-12-231-0/+2
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* intel-microcode: Add ability to filter microcodeNitin A Kamble2014-10-211-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | The microcode data file released by Intel has microcode for many Intel processors, which by default all get installed onto the target image. In some situations it may desirable to choose microcode for only a selected processor or processors. This change provides an easier way to filter and select only the microcode of interest for BSPs from recipe space. A new variable, UCODE_FILTER_PARAMETERS, is introduced, which can be defined to contain parameters to the iucode_tool which will filter the microcode of interest for the BSP under consideration. More information on the iucode-tool parameters is available here: http://manned.org/iucode-tool. This filtering makes the generated microcode files very machine-specific, hence making the recipe machine-specific. BSPs using the common Intel kernel will not be using the filtered microcode, and will be able to share the intel-microcode packages with the common Intel package arch for the recipe. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* intel-microcode: Add a iucode-tool runtime dependencyNitin A Kamble2014-10-211-0/+1
| | | | | | | | The iucode-tool is needed for applying microcode updates from userland. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* iucode-tools: remove non-ASCII charactersRoss Burton2014-09-091-1/+1
| | | | | | | | package_deb doesn't yet handle non-ASCII characters in control files, so remove a unicode "registered trademark" character. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* intel-microcode: a recipe for Intel microcode datafileNitin A Kamble2014-09-041-0/+52
| | | | | | | | | | | | | | | | | This recipe provides the microcode datafile for Intel Processors. The recipe provides: 1. microcode.dat file for microcode updating from user space with the iucode-tool utility. 2. the microcode cpio file which gets bundled with the initrd to support microcode loading at early boot time. [ YOCTO #5114 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* iucode-tool: a new recipe for loading Intel CPU microcodeNitin A Kamble2014-09-041-0/+25
| | | | | | | | | | | iucode_tool is a program to manipulate Intel i686 and X86-64 processor microcode update collections, and to use the kernel facilities to update the microcode on Intel system processors. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Reviewed-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* common: Remove obsolete QAT-related recipesOng Boon Leong2013-09-262-95/+0
| | | | | | | | | | | Remove openssl-qat-module and zlib-qat-module recipes and any references to them from meta-intel. This is to remove recipes for obsolete and unmaintained software ingredients related to QAT. Signed-off-by Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* meta-intel/common: Add a new recipe for Zlib qat_mem Module.Kishore Bodke2012-10-222-0/+95
| | | | | | | | This adds a new recipe to build the Intel Quick Assist Technology Memory Management Module for Zlib. Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* meta-intel/common: remove initramfs-live-install .bbappend1.1_M4.rc2+Tom Zanussi2011-09-152-190/+0
| | | | | | | This has been moved into oe-core, so remove it and init-install.sh from meta-intel. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* meta-intel: update init-install.shTom Zanussi2011-08-221-3/+3
| | | | | | | | | The parted 3.0 release introduced some API changes such as the removal of mkpartfs. This updates init-install.sh to use mkpart instead. Fixes [YOCTO #1387] Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* meta-intel: add a /common dir with grub2/live-install changesTom Zanussi2011-01-312-0/+190
Add a /common dir to contain code shared by multiple BSPs in the meta-intel repo, along with a couple recipes to live there temporarily. In this case, there are two BSPs that need to share the common grub2 and associated initramfs-live-install changes (sugarbay and jasperforest). The grub2 and associated initramfs-live-install changes will soon be submitted to the main poky repo, but for now it makes more sense to keep them here - they're needed for live-install of the two BSPs mentioned, but they contain a couple hacks that need to be addressed and are untested with anything else. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>