Commit Graph

94 Commits

Author SHA1 Message Date
Todor Minchev
48c335a46e rmc: add support for alternative EFI bootloaders
RMC was previously configured to work only with the systemd-boot EFI
bootloader. With this commit we can specify alternative bootloaders by
setting the RMC_BOOTLOADER variable in local.conf. If RMC_BOOTLOADER is
not set systemd-boot will be used by default.

Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-15 10:27:18 -08:00
Saul Wold
6e05e7f82a meta-intel.inc: Add MACHINEOVERRIDE for meta-intel
This allows to have one override mechansim for meta-intel instead of having
multiple machine overrides.

This replaces using rmc in DISTRO_FEATURES which was a bad idea to set in
layer.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 16:19:51 -07:00
Saul Wold
233b271e17 meta-intel.inc: remove setting rmc in DISTRO_FEATURES
We should not be changing DISTRO_FEATUES within a layer.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
Saul Wold
3da6553f63 meta-intel: Enable RMC by default
This enables the Runtime Machine Configuration feature, which
allows use to support multiple machines that have different
kernel commandline option as well as different startup requirements
to work from the base MACHINE configuration.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-20 11:12:30 -07:00
California Sullivan
31abb97302 meta-intel.inc: Bump PREFERRED_VERSION_linux-yocto to 4.8
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-15 08:43:56 -07:00
California Sullivan
d2b70b5c98 meta-intel.inc: Soft set PREFERRED_PROVIDER_virtual/kernel
This makes it easier for others inheriting meta-intel to use their own
kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-15 08:43:51 -07:00
Tom Zanussi
e352344a36 intel-common-pkgarch: Set common PACKAGE_ARCH for linux-yocto-tiny
The linux-yocto-tiny metadata assumes the common PACKAGE_ARCH but
without this is actually machine-specific and broken.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-05-26 20:59:33 -05:00
Saul Wold
cdbf029110 meta-intel.inc: Update INTRD to INITRD_LIVE
This address a boot issue based on using the new bootimg code that
makes a distiction between Live and VM type of image so they can
co-exisit.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-03 15:48:25 -08:00
California Sullivan
aaab29ad03 machine: move PREFERRED_VERSION/PREFERRED_PROVIDER to meta-intel.inc
This information is the same across all meta-intel supported MACHINEs,
so we can move it to a shared location.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-22 14:53:15 -08:00
Saul Wold
0d73402b4f intel-quark-common: Add no-asm config to openssl
This causes the build to not use Assembly code which contains invalid
CMOV instructions.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-10-02 08:14:48 -07:00
Saul Wold
94890cec95 intel-quark-common: disable padlock code
The padlock code is a subset of x86 hardware acceleration code. It uses
the cmov instruction which is invalid on Quark based hardware, so we
disable this code.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-09-16 10:33:37 -07:00
Saul Wold
2ff5876595 intel-quark: Introduce new BSP for Quark/X1000 SOC
This new BSP is for the Quark/X1000 and related series that need
the limited no-lock-prefix.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-07-08 10:26:08 -07:00
Nitin A Kamble
367fd4758d meta-intel.inc: Remove kernel customization for poky-lsb images
This is handled in oe-core now, remove the redundant code.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-02-24 14:54:02 -08:00
Darren Hart
cd83c1248d Update LSB preferred version to 3.14 LTSI
LSB images prefer to build with LTSI. Update to 3.14, now that 3.10 has
been removed.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-02-20 13:32:33 -08:00
Nitin A Kamble
a3a380373b intel-microcode: Add ability to filter microcode
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>
2014-10-21 15:50:37 -05:00
Nitin A Kamble
c64ade471a meta-intel: Add new intel-ucode MACHINE_FEATURE
With this change, Intel microcode support can be enabled or disabled
for any BSP by controlling the MACHINE_FEATURES variable.

Any BSP from the meta-intel layer can enable Intel microcode loading
support by adding the following line in the machine configuration.

  MACHINE_FEATURES += "intel-ucode"

This change keeps the intel-microcode feature disabled by default; it
can however be enabled as an "opt-in" feature via the MACHINE_FEATURES
variable.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-10-21 14:34:20 -05:00
Nitin A Kamble
c32b593803 meta-intel.inc: Use LTSI kernel for poky-lsb images
v3.10 is now the latest LTSI kernel.  Use it for all the poky-lsb
images, so that it gets validation in the QA cycles.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-10-21 12:28:13 -05:00
Nitin A Kamble
c939705c18 Remove all the changes related to the proprietary EMGD graphics driver
As all the EMGD based BSPs have been retired, there is no need for the
proprietary EMGD support in the meta-intel layer.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-09-16 20:12:28 -05:00
Nitin A Kamble
50abd223b6 meta-intel BSPs: enable microcode loading support for images
For the BSPs using the meta-intel.inc file enable the early boot-time kernel
as well as the user space microcode loading support.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-09-04 08:46:42 -05:00
Ong Boon Leong
0462a27791 meta-intel.inc: Enable ASPEED Tech Graphic Card
This is to enable ASPEED Technology graphic card
that is bundled inside certain Intel customer reference
board.

Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Acked-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2014-05-09 11:25:26 -05:00
Darren Hart
db84acfc8d intel-common: Set common PACKAGE_ARCH for linux-yocto-rt
The linux-yocto/meta support is now available for the intel-core*
machines and the preempt-rt kernel. Enable the common PACKAGE_ARCH in
intel-common-pkgarch.inc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-04-09 09:51:19 -07:00
Darren Hart
d7026654ae intel-common-pkgarch: Correct PACKAGE_EXTRA_ARCHS usage
The trailing S was missing from the variable name, resulting in
the kernel-modules package not being found as the common arch was not
added to the PACKAGE_ARCHS variable used by the package manager.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-02-21 00:53:52 -08:00
Darren Hart
c7bf6a327b intel-common: Make using intel-common override opt-in
Currently the intel-core*-common.inc files also include the
intel-common-pkgarch.inc, forcing the introduction of the intel-common
PACKAGE_ARCH. Coupling this with the addition of the intel-common
MACHINE_OVERRIDE, means that even MACHINE_ARCH packages can be
influenced by intel-common overrides, which is not desirable.

Remove the intel-common-pkgarch.inc from the intel-core*common.inc
include files, requiring BSPs wanting to use the intel-common mechanism
to explicitly include it. This obviates the need to reset the
linux-yocto PACKAGE_ARCH to MACHINE_ARCH.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-05 20:43:54 -08:00
Darren Hart
dd0bd45aa4 MACHINEOVERRIDES: Use INTEL_COMMON_PACKAGE_ARCH
Create the intel common override for use in currently machine-specific
recipes which need to make overrides for all the compatible machines,
such as COMPATIBLE_MACHINES in the linux-yocto* recipes.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-02-05 20:42:00 -08:00
Darren Hart
2929967d15 meta-intel.inc: Use X86 instead of IA32
To be consistent with the renaming in oe-core, use X86 instead of IA32
in the XSERVER_X86* variables.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-01-27 16:56:13 -08:00
Darren Hart
45582cbb1c Add Intel core2 and corei7 BSPs and tune files
Introduce two new generic BSPs that parallel the updated core2 and new
corei7 tune files in oe-core. These BSPs provided optimized tune flags
for Intel Core and Atom CPUs since 2006 in the 32 bit core2 BSP and since
Nehalem and Silvermont (Bay Trail) in the 64 bit corei7 BSP.

These establish a suitable balance between compatibility and performance
optimization.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@intel.com>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-01-27 16:56:13 -08:00
Nitin A Kamble
7b5023275b meta-intel-emgd.inc: specify preferred providers for gl components
By default the gl components are coming from mesa recipe. But for
BSPs with EMGD graphics, these components come from emgd and
mesa-gl recipes.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2013-09-18 08:14:41 -05:00
Richard Purdie
49f495e388 Separate packagedir for GL components of EMGD BSPs
When multiple BSPs of the same arch are built in a build directory,
the differences in GL providers such as emgd-driver and mesa causes
rebuild of large set of recipes, as they collide on each other's space
for multiple BSPs. Although this does not impact correctness, it
impacts build performance negatively.

 Richard had an idea of providing separate PACKAGE_DIR to the
colliding recipes to avoid the build area collision. And this approach
significantly reduces the negative impact on the build performance.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-18 08:13:06 -05:00
Nitin A Kamble
b4141a6404 meta-intel.inc: fix xorg packaging issue for emgd BSPs
BSPs using emgd graphics stack need to use older version
of xserver. And these older xserver recipes still use modules which need
to be specified in the meta-intel.inc.
  This is needed in addition to Ross's xorg packaging fixes in oecore.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-12-03 11:33:03 -06:00
Tom Zanussi
b7337857ca meta-intel.inc: remove xaa from matrox XSERVER variable
XAA has been dropped, so we need to drop the xaa module.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-11-29 17:21:16 -06:00
Tom Zanussi
037ab0181d ia32-base.inc: remove
This has been moved to oe-core, so remove it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-29 10:29:08 -05:00
Tom Zanussi
7bf3db4262 meta-intel.inc: new file
Move a couple intel-specific variables into a new meta-intel.inc
include file.  meta-intel.inc is meant to contain variables and
definitions that only make sense and are only available if the
meta-intel layer is included in bblayers.conf.

This is in preparation for moving the rest into oe-core.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-29 10:28:48 -05:00
Richard Purdie
c9e0d1edb1 ia32-base.inc: Drop glibc --with-tls option, its now the only option for glibc
This option is unused by (e)glibc since 2011 and is the default. It has been
shown to interact badly with the configure option in atom-pc from meta-yocto
causing a rebuild of the whole system despite the only change being an
assignment with += vs =. The easiest fix is simply to drop it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-22 14:16:59 +01:00
Kishore Bodke
4fb859db49 meta-intel:Add a MATROX MGA variable to ia32-base.inc
Add XSERVER_IA32_MATROX_MGA variable for including
Matrox MGA graphics recipe.

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-10 15:41:44 -05:00
Tom Zanussi
b8d29f33b6 meta-intel: remove video acceleration from emgd XSERVER
Video acceleration dependencies really don't belong in the XSERVER
variable - remove them; we'll add them back later via va-intel.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-05-30 14:22:51 -05:00
Darren Hart
0a73be8fb1 ia32-base.inc: Use a weak default assignment for kernel provider and version
Using the default assignment operator (?=) requires the including recipes
to ensure to assign the Linux kernel provider and version prior to including
ia32-base.inc. By use the weak default assignment operator (??=), the assignment
can come after the inclusion, which avoids confusion and can lead to a more
natural recipe structure.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2012-05-07 12:39:19 -07:00
Tom Zanussi
8024d57190 ia32-base: don't use obsolete kernel26
kernel26 is now a no-op so don't use it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2012-04-19 16:27:49 -05:00
Zhai Edwin
2cd93a046e n450: fix wrong video driver
n450 should use i915 rather than i965.

[YOCTO #1840] fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-22 23:27:31 -05:00
Tom Zanussi
59f55bb2e0 ia32-base: add libva display dependencies to emgd xserver
libgstmixvideoplugin.so is being blacklisted due to a missing
libva-tpi library, so add it and make the other two libva display
libraries available while we're at it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-18 15:55:53 -05:00
Tom Zanussi
d9132cc663 ia32-base: remove libc-headers PREFERRED_PROVIDER
Let the distro do this.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-06 10:34:25 -06:00
Joshua Lock
bd24de09fd ia32-base: add alsa to MACHINE_FEATURES
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-17 13:34:42 -06:00
Tom Zanussi
7c3db70104 meta-intel: change EMGD xserver libva dependency to libva-x11
XSERVER_IA32_EMGD should depend on libva-x11, which in turn depends on
libva, instead of just libva.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2011-12-22 09:22:37 -06:00
Tom Zanussi
c882e7c2c6 meta-intel: add libva to EGMD xserver
EMGD requires libva, so add the dependency here.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 22:21:54 -06:00
Tom Zanussi
9e032536dc ia32-base.inc: new include file
The meta-intel BSPs currently have a number of machine settings common
to all - factor these out into a common include file.

Also add several new intel-specific XSERVER variables for building
XSERVER variables in BSPs.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-21 09:29:59 -06:00