summaryrefslogtreecommitdiffstats
path: root/common/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* meta-intel: Reorganize the layout to remove commonSaul Wold2017-11-2082-3990/+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>
* thermald: use git clone instead of unstable tarballRoss Burton2017-09-181-5/+3
| | | | | | | | | | | | | GitHub has confirmed that the /archive/ tarballs that are generated on demand from git tags are not persistant and can change over time. This is no longer an academic problem as this has been observed occuring. thermald doesn't have any official maintainer-generated tarballs, so switch to fetching over git. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* formfactor_0.0.bbappend: fix Yocto Project compatibility issueCalifornia Sullivan2017-09-121-1/+1
| | | | | | | | FILESEXTRAPATHS was being set globally. Use the intel-x86-common MACHINEOVERRIDE to fix this issue. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemd-boot: fix Yocto Project compatibility issueCalifornia Sullivan2017-09-121-3/+3
| | | | | | | | do_compile and do_deploy were being appended to unconditionally. Fix the issue by using the intel-x86-common MACHINEOVERRIDE. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Add -fno-stack-protectorKhem Raj2017-09-052-0/+2
| | | | | | | | | | Some toolchains may have configured itself with ssp in such cases just removing -fstack-protector-strong is not enough to disable ssp, additionally disabling it on cmdline is required too Signed-off-by: Khem Raj <raj.khem@gmail.com> 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* systemd-boot: disable RMC for systemd-boot EFI_PROVIDERTodor Minchev2017-06-233-12/+20
| | | | | | | | | | | | | | | | | 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>
* rmc: add support for Broxton-M based Joule board (rev. 1F1)Todor Minchev2017-06-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* rmc: add fingerprint for generic Broxton-M (rev. 1F1)Todor Minchev2017-06-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* rmc: update SRCREV for rmc recipeTodor Minchev2017-03-311-1/+1
| | | | | | | This SRCREV fixes rmc build failure under musl Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: update license file checksumTodor Minchev2017-03-311-1/+1
| | | | | Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: enable serial console when running under QEMUDmitry Rozhkov2017-03-214-0/+2
| | | | | | | | | | | | | | | | | | | Since we can run ordinary intel-corei7-64 wic images under QEMU it makes sense to add QEMU quirks enabling serial console to the RMC DB. This patch appends "console=ttyS0,115200" to kernel command line in case the image is used to run a QEMU VM e.g. with the command: $ runqemu ovmf refkit-image-common wic intel-corei7-64 slirp serial nographic Unfortunately different major versions of QEMU produce different RMC fingerprints, so the QEMU versions 2.6.x and 2.8.x should be treated as different boards. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: update SRCREV for rmc recipeTodor Minchev2017-03-201-1/+1
| | | | | | | | | | | | | | | This SRCREV adds fingerprint and database extraction functionality to RMC Extract database: rmc -E -d rmc.db -o output/directory/ Extract fingerprint: rmc -E -f fingerprint_file https://bugzilla.yoctoproject.org/show_bug.cgi?id=10092 Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* systemd-boot: stub: check LoadOptions contains dataMikko Ylinen2017-03-132-0/+43
| | | | | | | | | | | | | | | | | | | | | With some UEFI shells LoadOptionsSize is reported being > 0 but the corresponding LoadOptions does not contain any data (the first element has value 0). When that happens, the stub feature that allows .cmdline to be replaced by what's in LoadOptions ends up copying nothing/random data to the kernel cmdline resulting in different kinds of boot problems. To fix this, add a check to see if LoadOptions contains data before replacing the .cmdline. Upstream-Status: Accepted [https://github.com/systemd/systemd/pull/5467] Fixes [YOCTO #11078]. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc-db: LICENSE is straight MIT so just use common-license/MITSaul Wold2017-03-071-1/+1
| | | | | | | The OE-Core LICENSE is mostly MIT, but should not be used as a checksum file for a purely MIT licensed package. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: broxton-m: enable xstate save and restore using xsaveMikko Ylinen2017-03-071-1/+1
| | | | | | | | | | | | The command line setting for Intel 570x added 'noxsave' which disabled xsave/xrstor to save and restore extended registers. The systems run fine without the setting so drop noxsave to gain optimized context switches and get more CPU features flags (XSAVE*/AVX/MPX) enabled. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lms7: Use patches from lms8 that fixed MUSL buildSaul Wold2017-02-101-0/+2
| | | | | | | The same patches from LSM8 can be applied to LMS7 for enabling world build with MUSL in meta-intel Signed-off-by: Saul Wold <sgw@linux.intel.com>
* thermald: Add library to support MUSLSaul Wold2017-02-061-0/+1
| | | | | | | Thermald uses the argp.h interface of glibc, which is not available in MUSL, so we need to add a depends on argp-standalone. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* thermald: Add dbus-glib-native for dbus-binding-toolSaul Wold2017-02-061-1/+1
| | | | | | | The new recipe specific sysroot exposed a missing dependecny on the dbus-binding-tool Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: add Minnowboard Turbot board dataMikko Ylinen2017-02-022-0/+1
| | | | | | | | | | | To be able to detect a Minnowboard Turbot, its fingerprint is needed in the RMC database. This initial commit adds the fingerprint and a simple cmdline entry (KBOOTPARAM) for the board. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* systemd-boot: use RMC database in EFI stubMikko Ylinen2017-02-023-9/+99
| | | | | | | | | | | | systemd-boot's EFI stub can be built in an EFI executable with the kernel, cmdline, and initrd. This commit enables the EFI stub code to use the RMC database and appends the board specific cmdline (KBOOTPARAM) to the built-in cmdline. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* thermald: Update from 1.5.3 to 1.5.4California Sullivan2017-01-241-2/+2
| | | | | | This is the latest release version. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* thermald: Add glib-2.0-native to DEPENDSCalifornia Sullivan2017-01-241-1/+1
| | | | | | | Thermald uses the command glib-genmarshal to build, which is from glib-2.0-native. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* lms8: Fix build on muslJussi Kukkonen2017-01-243-0/+61
| | | | | | | | Add two patches to make lms8 build with musl libc (both generic fixes, not musl specific). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* systemd-boot: update 230 -> 232Jianxun Zhang2017-01-241-2/+2
| | | | | | | | This change updates the locked systemd-boot revision to v232 release which is the current in OE. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* rmc: Extend usages of RMC_BOARD_DATA_DIRS to specify board dataJianxun Zhang2017-01-091-1/+2
| | | | | | | | | | | | | | | | | | | Use the variable RMC_BOARD_DATA_DIRS, to disable, append to, or override the default board data in meta-intel with boards' data provided by users. Ideally, users should get the updated database in the new built image after an incremental build. Examples of RMC database output (db): RMC_BOARD_DATA_DIRS = "" (disable db generation) RMC_BOARD_DATA_DIRS_append = " top_dir" (db of defaults & user's) RMC_BOARD_DATA_DIRS = "top_dir" (db for user's , no defaults) RMC_BOARD_DATA_DIRS = " " (same as "") Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* systemd-boot%.bbappend: rename to match the versioned recipeMikko Ylinen2016-12-231-0/+0
| | | | | | | | | | | | | | | | | OE-Core recently renamed the recipe to have PV in the name and the bbappend wildcard was added to make the transition smooth. The renaming is now complete so rename the bbappend again to match the new versioned recipe only. The aggresive systemd-boot% wildcard matches systemd-bootchart too giving unexpected results. Depends on OE-Core 8fe1e5197f6f94a49693de09f4eb9394df531cc8. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: don't hardcode install pathsRoss Burton2016-12-151-2/+7
| | | | | | | | | | Instead of hardcoding /usr in the recipe, and hardcoding $prefix/lib in the Makefile, override all of the paths with the distro configuration. [ YOCTO #10800 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* systemd-boot.bbappend: Rename to use wildcardKhem Raj2016-12-071-0/+0
| | | | | | | | | OE-Core is in process of renaming the recipe to have PV in recipe name. Cover that case for bbappend Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* gnu-efi: removed from meta-intelJianxun Zhang2016-12-052-35/+0
| | | | | | | | | | | | | | | We once added a patch in gnu-efi for rmc's sake. The latest rmc gets rid of this dependency on gnu-efi. The removed patch is still a reasonable change and merged into the upstream gnu-efi project. It should come with the next update in the gnu-efi recipe in OE. At this point, however, we don't see any urgency to keep it in meta-intel any more. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: integration updateJianxun Zhang2016-12-055-61/+38
| | | | | | | | | | | | | | | | | | | | | This is a whole package of rmc work in meta-intel to reflect some major changes in the upstream project: In rmc.bb recipe, EFI_ARCH, path of EFI header files, and dependency on gnu-efi are removed with the updated revision. In systemd-boot, patches to integrate with rmc are re-worked mainly because of new APIs. Size of patches are smaller than the previous implementation. Notice we still use multiple APIs instead of calling an one-step interface multiple times, to get some potential runtime performance benefit. (rmc tool in user space is changed to use single API in the upstream project.) Fixes [YOCTO #10086] Fixes [YOCTO #10671] Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: remove stack-protector-strong from CFLAGSSaul Wold2016-12-051-0/+1
| | | | | | | | Since the rmc is used standalone from systemd-boot and does not use libc which provides the stack_chk_fail code that causes an undefined symbol Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Add support for MohonPeak platformRahul Kumar Gupta2016-11-287-0/+17
| | | | | | | | | | Intel common BSP is using ttyS0 and tty0 for consoles by default. By Adding support for mohonpeak platforms to rmc, these console port can customized to ttyS1 and tty1 by detecting the fingerprint file at runtime. It will use their own boot.conf/install.conf for booting/installing. Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* broxton-m/KBOOTPARAM: Add videofb console backSaul Wold2016-11-081-1/+1
| | | | | | This re-enables the video framebuffer for displaying cosole output Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Limit them to x86 targetsKhem Raj2016-11-081-0/+2
| | | | | | | Makes meta-intel behave well in multi-BSP scene Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemd-boot: Make use of new overrideSaul Wold2016-11-021-4/+7
| | | | | | | | Add the new intel-x86-common to the meta-data in order to limit the changes when the meta-intel layer is included without using meta-intel machines. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gnu-efi: Make use of new overrideSaul Wold2016-11-021-1/+2
| | | | | | | Add the new MACHINEOVERRIDE to the SRC_URI in order to limit the changes when the meta-intel layer is included without using meta-intel machines. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemd-boot: add patch for Joule BIOS keyboard hangSaul Wold2016-11-022-1/+33
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Add bootloader entries for the Broxton-M/Joule platformSaul Wold2016-11-023-0/+10
| | | | | | | By adding these entries, we can get the serial console output on the correct ttyS2 port the default port for meta-intel is ttyS0, but we can fix this with the rmc configuration Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rmc: Add INSTALLER.CONFIG and POSTINSTALL.sh for broxton-m boardsCalifornia Sullivan2016-11-022-0/+5
| | | | | | | | On install we want to keep rmc's boot.conf. Also add POSTINSTALL.sh that removes ttyS0 from inittab since it uses ttyS2 instead. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>