summaryrefslogtreecommitdiffstats
path: root/common/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* rmc: Update rmc project SRCREVJianxun Zhang2016-08-311-1/+1
| | | | | | | | | | | | | | | New changes in the upstream rmc project captured by this SRCREV: 2e38d05 Merge branch 'rmc-dev' (Aug 30 2016) a1a4a26 Makefile: remove static linking in Linux build b22169a doc: update README file 29e943d Merge branch 'rmc-dev' (Aug 24 2016) fc2fb1e rmc: fix allocating buffer issue in read_file() (32 bit) 38b0553 rmc: fix wrong error message 7ee67a0 test: Provide test scripts and sample data Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* rmc: Explicitly specify hash style for linkerJianxun Zhang2016-08-311-0/+2
| | | | | | | | | | | | | | | | | | The QA sanity checker in OE fails when an ELF binary has a symbol table without GNU hash. There is no issue so far because rmc is statically linked with C libraries and the symbol table is stripped out in build. But once we compile rmc with dynamic linking, the symbol table in the dynamic section stays. Thus it fails the QA checker because the default hash style is sysv. To have some peace of mind, we specify "both" for the hash style to the linker. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* rmc: Add NUC Gen 6 post-installation hook and update documentationJianxun Zhang2016-08-031-0/+7
| | | | | | | | | | | | | | | | | This change shows how we can get rid of an error message caused by board-specific design at runtime, and still keep the rest in system generic. The new added hook removes line(s) in inittab which triggers the error. README of rmc is also updated accordingly. Fixes [YOCTO #5351]. 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 the Broxton-m platformJianxun Zhang2016-08-032-0/+1
| | | | | | | | | Add Broxton-m fingerprint and global kernel bootparam fragment into rmc. 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 documentation and examples for RMC featureJianxun Zhang2016-08-0317-0/+44
| | | | | | | | | | Provide a README for RMC feature. Also check in fingerprints and configuration data for several boards as examples for users. They can be used for validation 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 recipe and bbclass for RMC featureJianxun Zhang2016-08-031-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RMC Feature is based on RMC project, systemd-boot, EFI installer to enable a single generic image, built for multiple platforms, automatically applies customization and quirks specific to a type of boards at runtime. In another word, you will see a single image behaves differently and intelligently according to the type of board it is running on. To Enable this feature: add the two lines in conf file: DISTRO_FEATURES_append = " rmc" EFI_PROVIDER = "rmc-systemd-boot" Based on Saul Wold's initial work on a feature switch, RMC patches in systemd-boot, installer and gnu-efi aren't built unless the feature is enabled. For a supported board, this feature can : () show and boot with board-specific boot entries in boot menu in live-boot and post-installation. () apply a kernel cmdline fragment to the end of cmdline to boot Linux kernel. This is effective for any boot entry user chooses in boot menu. () create directory and deploy files only for the type of the running board to target's file systems. What left on target after installation is just same as the result from installing a conventional image customized for a single type of hardware. To add support of new boards, a new variable RMC_BOARD_DATA_DIRS is the interface to developers. How-to information will be provided with examples in following patches. 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>
* systemd-boot: Load board-specific entry and kernel cmdlineJianxun Zhang2016-08-034-0/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Invoke RMC APIs in this bootloader to query board-specific data from RMC database(DB) file on ESP. Data can be boot entries or a global kernel boot command line fragment specific to a type of board supported in RMC DB. Bootloader queries a file blob named BOOTENTRY.CONFIG from RMC DB first. In success, bootloader parses BOOTENTRY.CONFIG to get name of each boot entry file associated to the type of running board, and then tries to load the entry into internal config data structure. Once any entry is loaded from RMC DB, bootloader skips loading conf files on ESP. BOOTENTRY.CONFIG has a very simple format - every line is a boot entry file's name. For example, to specify two boot entries in it: boot.conf install.conf Bootloader also seeks another file named KBOOTPARAM in RMC dB. when it can obtain this file associated to the type of running board, it appends what in file to the end of kernel command line before it boots up kernel. The appending is effective on every boot entry, so it is called "global" cmdline fragment. When Bootloader doesn't get config, an entry or cmdline fragment for the type of board, it simply moves to the next step. 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>
* gnu-efi: Add GUID for SMBIOS 3 entry point structureJianxun Zhang2016-08-032-0/+34
| | | | | | | | | | | UEFI spec has different GUIDs for 32 and 64 bit SMBIOS entry point structure. This change adds definition for 64 bit GUID, so that software linked with gnu-efi can have it for x86_64 architecture. 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 Runtime Machine Configuration (RMC) projectJianxun Zhang2016-08-031-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RMC recipe fetch RMC project and build it more than once in build time: RMC tool is built for host architecture (native). The tool for host is used to generate RMC database in build time. RMC tool is also built for target architecture, so that scripts in user space can call RMC tool on a running target. Developers can also boot a target and run rmc tool to obtain fingerprint for a new board type. RMC libraries are compiled for both of UEFI context and user space. They are always linked in RMC tool and can be linked into an EFI bootloader. The recipes don't install libraries for target's user space until we have a new client needs it. The rmc-db.bbclass provides functions to generate rmc database file for other software components to reuse. We absorb a patch from Tom Zanussi to update source location with the public link. We could put this change in another commit, but leaving the replaced internal link in this commit could cause trouble when people bisect the project but don't have access to the internal location: ---------------------- rmc: Update to use public repo The repo the rmc recipe was pointing to was private - it's now public Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> common/recipes-bsp/rmc/rmc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/recipes-bsp/rmc/rmc.inc b/common/recipes-bsp/rmc/rmc.inc index c046e2e..bdf930d 100644 --- a/common/recipes-bsp/rmc/rmc.inc +++ b/common/recipes-bsp/rmc/rmc.inc @@ -15,7 +15,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=bcdd376d27b26bde6afadd67aa3c8b07" -SRC_URI = "git://git@git.yoctoproject.org/rmc;protocol=ssh" +SRC_URI = "git://git.yoctoproject.org/rmc" ... ---------------------- 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>
* thermald: Add thermald configuration files to CONFFILESSaul Wold2016-07-271-0/+5
| | | | | | | | This marks the conf.xml files as changable so that the package management software won't overwrite them. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* thermald: Add thermal daemon utilityYong Li2016-07-071-0/+27
| | | | | | | | | This user space thermal daemon utility is used for thermal management. Signed-off-by: Yong Li <yong.b.li@intel.com> Acked-by: Saul Wold <sgw@linux.intel.com> Tested-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* lms7: Add patch to fix gcc6 C++ whitespaceJianxun Zhang2016-06-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This change is ported from the fix on lms8 for the same issue: commit 6dc3746443523a02f72bf5142cfbe3a800d32f4a Author: Saul Wold <sgw@linux.intel.com> Date: Mon May 16 10:01:49 2016 -0700 lms8: Add patch to fix gcc6 C++ whitespace This adds a patch to lms8 to fix an error cause by the newer C++11 standard being enabled in GCC6 that requires additional whitespace around User-Defined literals. [YOCTO #9640] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Fixes [YOCTO #9785] Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* formfactor: detect USB HID keyboard and touch screenJianxun Zhang2016-06-242-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new machconfig probes USB keyboard and touch screen, and then sets HAVE_* variables according to detection. Detectable devices: USB HID keyboards (Generic Desktop) USB HID touch screens (Digitizer) Note: The intention is to have a way to provide initial formfactor settings in a boot procedure. That means supported keyboard and touch screen must be connected before machconfig runs. Any new connection or disconnection won't be detected until machconfig is executed again. Limitation: There could be some USB HID devices presents more than one usage in a single descriptor. We will add support once such device emerges. Some platforms may have _virtual_ devices provided by BIOS. It will cause false detection when they are presented as types we supported. We can add black list logic when it becomes a big concern. Fixes [YOCTO #9205] Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* lms8: Add patch to fix gcc6 C++ whitespaceSaul Wold2016-05-182-1/+34
| | | | | | | | | | | This adds a patch to lms8 to fix an error cause by the newer C++11 standard being enabled in GCC6 that requires additional whitespace around User-Defined literals. [YOCTO #9640] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* gma500-gfx-check: Fix dependency to meta-pokyAlejandro Hernandez2016-04-224-1/+35
| | | | | | | | | | | | The gma500-gfx-check we used had a dependency to meta-poky via a bbappend file this is unnacceptable, but this check is still needed on genericx86 and intel-core2-32, so this patch makes copy of the gma500-gfx-check to meta-intel to avoid the dependency issue [YOCTO #9181] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gma500_gfx: Avoid inserting gma500_gfx module for certain devicesAlejandro Hernandez2016-02-191-0/+1
| | | | | | | | | | | | | | | | The gma500_gfx driver will match certain devices on which it causes incorrect functionality, we want to avoid inserting this module, basicallly blacklist it for specific hardware, but still allow it to work on other hardware by default; usually when we have an already working system, using udev rules would do the job, but since we are building it, it is impossible to blacklist a driver when a certain udev rule matches, since rootfs isn't writeable at this point during boot time, the solution is to use modprobe install, which runs a certain command instead of inserting a matching module this command needs to insert the module manually afterwards and have a flag --ignore-install so it doesn't create an infinite loop executing itself everytime it wants to insert the module, busybox's modprobe doesnt provide this functionality, so a small hack had to be used to avoid the infite loop instead. Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lms7: pass expand to getVarRoss Burton2016-02-121-1/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* efilinux: update 1.0 -> 1.1Jianxun Zhang2016-02-021-4/+3
| | | | | | | | | This change updates efilinux to release 1.1. 1.1 release changed license from 3-clause BSD to 2-clause BSD. License checking in new recipe is updated accordingly. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lms7: re-write do_unpack to fix warningSaul Wold2015-04-151-4/+12
| | | | | | | | | | | | | | | | Since the primary tarball unpacks into a non-standard directory create a do_unpack that sets and resets to first unpack the primary tarball and then unpacks the actual src tarball into the correct directory. This is similar to lsof which has a dual tarball also. Fixes this WARNING: WARNING: /srv/hdd/intel/test/tmp/work/corei7-64-poky-linux/lms7/7.1.20-r0/lms-7.1.20 ('S') doesn't exist, please set 'S' to a proper value [YOCTO #7551] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* efilinux: use BSD-2-Clause instead of custom licenseRoss Burton2014-12-231-1/+1
| | | | | | | | The efilinux license is basically the two clause BSD license, so instead of using a custom license that isn't defined use that. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* common/recipes-bsp: remove gnu-efi and gummiboot recipesStefan Stanacar2014-03-134-131/+0
| | | | | | | | Nothing in meta-intel requires these and now they are in OE-core anyway. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* lms7: update the source download URLNitin A Kamble2014-03-121-2/+2
| | | | | | The old URL is not working anymore. Using a new URL for source zip file. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gummiboot: Update to current HEAD (35+)Darren Hart2013-08-227-263/+6
| | | | | | | | | Update to the latest gummiboot and remove all patches from the recipe which are now upstream in one for or anoter. Make use of the new configuration methods for inc/lib/lds directories. Change the PV to use the git SRCREV beyond the release tag. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* gnuefi: Add missing parallel-make-archives patch1.5_M3.rc1Darren Hart2013-07-311-0/+48
| | | | | | | | | | | | This patch was updated but mistakenly deleted by the previous commit: commit 8834d8376838487bfc3ff04a16cffb064cb765cf Author: Darren Hart <dvhart@linux.intel.com> Date: Fri Jul 26 10:36:06 2013 -0700 gnu-efi: Update to 3.0u Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* gummiboot: Add gummiboot recipe1.5_M3.final1.5_M3Darren Hart2013-07-307-0/+283
| | | | | | | gummiboot is a simple UEFI boot manager. It uses configuration files to setup the default boot entry or presents an on-screen menu. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* gnu-efi: Update to 3.0uDarren Hart2013-07-303-85/+6
| | | | | | | Update to 3.0u. Remove the now upstreamed cross-compile-support patch and update the parallel-make-archives patch for the 3.0u Makefiles. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* lms7: handle different host setupsThibault GUITTET2013-07-031-1/+7
| | | | | | | | | | | From similar patch for lms8 (fc9cba84): The configure script looks at the *host* environment to decide where to install the init script, so it's location at packaging time can change. Signed-off-by: Thibault Guittet <guittet.thibault[at]gmail.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* recipes: Mark x86 specific recipes so1.5_M2.rc1Khem Raj2013-06-271-0/+2
| | | | | | | | These recipes are x86 specific packages so lets make sure they dont get built for non-x86 architectures Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* lms8: handle different host setupsRoss Burton2013-06-251-1/+7
| | | | | | | | The configure script looks at the *host* environment to decide where to install the init script, so it's location at packaging time can change. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
* lms8: new recipe to support AMT version 8Nitin A Kamble2013-06-121-0/+32
| | | | | | | | | | | Some of the newer boards have AMT/MEI firmware of version 8. These BSPs need verion 8 of the lms package, which this recipe is providing. Also the lms binary & script is renamed to lms8 to avoid runtime clash with lms7 packages. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* lms7: reorganize the lms recipeNitin A Kamble2013-06-123-16/+11
| | | | | | | | | | | | | | | | | | | | | | | Preparations for upcoming lms8 recipe. Rename the lms recipe as lms7. This will allow BSPs to choose either lms7 or lms8 package to suite the version 7 or 8 firmware available on the board. Also the lms binary & script is renamed to lms7 to avoid runtime clash with lms8 packages. Simplified the dounpack2 function. And this build time warning is muted: WARNING: lms7: No generic license file exists for: Modified in any provider Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> lms7 : tail conexist Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* gnu-efi: Add parallel make patch for archivesDarren Hart2013-05-092-2/+48
| | | | | | | | | The library makefiles were using the lib.a() form which compiles and ar's as a pair instead of compiling all and then ar'ing which can parallelize better. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* gnu-efi: add missing sha256 checksumRoss Burton2012-10-311-0/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* lms: Ensure do_unpack2 task can rerunRichard Purdie2012-10-251-8/+10
| | | | | | | If something triggers a rebuild of the do_unpack2 task, it will fail if its already run once. This patch ensures that it can be called multiple times. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-efi_3.0m.bb: Fix tabs with spaces in python snippetKhem Raj2012-07-271-5/+5
| | | | | | | | This shuts up new bitbake otherwise it warns about this always. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* lms: new recipeTom Zanussi2012-05-303-0/+81
| | | | | | | | | | Add support for the Intel Active Management Technology (AMT) Local Manageability Service (LMS) daemon. The Intel LMS daemon allows applications to access the Intel AMT firmware via the Intel Management Engine Interface (MEI). Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* efilinux: Add efilinux 1.0 and gnu-efiDarren Hart2012-03-234-0/+115
| | | | | | | | | | | | | | | | | efilinux is a UEFI OS loader. It was created as a reference implementation with the aim of being well documented and containing well written source code. efilinux is lightweight and convenient as a tool to debug misbehaving UEFI systems. Thanks to Paul Eggleton for is initial set of recipes from which these were based. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Kishore K Bodke <kishore.k.bodke@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* meta-intel/common: remove grub-1.98Tom Zanussi2011-09-145-151/+0
| | | | | | This has been moved into oe-core, so remove it from meta-intel. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* grub2: update license versionTom Zanussi2011-09-091-1/+1
| | | | | | | The license version specified in the recipe is wrong - it should be v3 rather than 2+. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* grub: remove the dependency on freetype, disable grub-mkfontDarren Hart2011-08-311-1/+1
| | | | | | | | | | | | | | Grub's configure task was picking up the host freetype libraries if bitbake hadn't gotten around building freetype yet. We could add a dependency on freetype, but it's only used for the optional grub-mkfont utility which we don't really need. Disable grub-mkfont via EXTRA_OECONF, removing the dependency on freetype. Testing: core-image-minimal build and install on sugarbay. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Tested-by: Tom Zanussi <tom.zanussi@intel.com>
* meta-intel: fix for x86_32 build failuresTom Zanussi2011-02-242-2/+55
| | | | | | | | | | Fixes [BUG #711]. gentrigtables was being build as a 64-bit binary which wouldn't run on the build machine. grub-mkfont was also causing compile failures, add dependency on libfreetype for that. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* meta-intel: add a /common dir with grub2/live-install changesTom Zanussi2011-01-314-0/+98
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>