Commit Graph

71 Commits

Author SHA1 Message Date
Rebecca Chang Swee Fun
8b8678c889 linux-yocto_4.1: use BSP_SUBTYPE for BSP specific configuration
Leaf Hill BSP has specific kernel configuration in yocto-kernel-cache
for kernel v4.1. We found some issue where we can't overwrite the
existing kernel configs in yocto-kernel-cache from developer's
custom meta layer.

Root cause analysis has shown that the usage of KERNEL_FEATURES
in kernel recipes and local.conf to pick up BSP specific configs
from kernel-meta is inappropriate. KERNEL_FEATURES should
always and only used for adding configuration or features to the build.
A new variable "BSP_SUBTYPE" has been created to resolve this issue.

Suggested-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-08 13:34:16 -08:00
Rebecca Chang Swee Fun
21072a0d06 intel-corei7-64: add machine configurations specific to leafhill bsp
We would like to enable new BSP for Intel Atom E3900 SoC based platforms.
This will help us to consolidate BSP into intel-common and we can use
KERNEL_FEATURES to select target BSP to compile.

Leaf Hill uses different serial console port setup. Hence this
mechanism are in place to enable new bsp with existing machine
configurations file.

Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-16 07:50:20 -07:00
Tom Zanussi
01d748298a 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-06-24 09:52:26 -05:00
Saul Wold
9abce0aa9f intel-core2-32: fix SERIAL_CONSOLES line
This should be SERIAL_CONSOLES with ; setting between baud and device.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-11-02 14:05:10 -08:00
Joonas Lahtinen
4a761ccaf1 conf: Add a direct path to common recipes
By adding the direct path to recipes in common directories we allow
upper layers to further extend the recipes.

Without the patch the extending recipes look like this:

	require common/recipes-foo/bar/baz.inc

With this patch the include can be written like in other layers:

	require recipes-foo/bar/baz.inc

Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-10-27 08:07:02 -07: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
WU CHIA CHUAN
84c049b9cb meta-intel: meta-romley BSP retirement from YP 2.0
Remove meta-romley BSP layer from meta-intel master branch
which is targeting for YP 2.0.

A heads-up email was sent to the meta-intel mailing list for
requesting any feedback regarding retirement of these BSP.
Since there is no concern, we assume that it is agreed upon
and thus this patch to retire the BSP.

The "MAINTAINERS file" and "conf/machine/README file" are updated to
reflect removal of the BSP.

We expect intel-corei7-64 machine is continued to be used to support
the platform and dpdk recipe under meta-romley is now supported under
meta-isg/common/recipes-extended/dpdk.

Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-09-29 18:05:49 -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
a9c38306c9 intel-core2-32: Allow for multiple tty console types
Adding the ttyPCH0 will allow of the platforms that have the EG20T Hardware
to get both kernel console output and login prompt.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-28 14:25:29 -07:00
Saul Wold
4172351baa Remove older platform specific BSPs
The intel-core* BSPs supercede these older BSPs therefore it's time
to remove these older platform specific bsps.

Bump LAYERVERSION to 3 to allow the Autobuilder to know that these
BSPs have been removed.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-28 14:25:29 -07:00
Saul Wold
adc8064908 intel-quark: add CFLAGS for kernel to no use lock prefix
The kernel needs to have the EXTRA_CFLAGS based via a variable as
it does not pick up the CLFAGS from the tune file.  Quark based
kernel should not use the lock prefix.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-19 07:39:30 -07:00
Saul Wold
cef3648754 intel-quark: use the 4.1 linux-yocto kernel
Use the 4.1 kernel which is now the default in oe-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-19 07:39:30 -07:00
Saul Wold
9168b1a87d intel-core*: use the 4.1 linux-yocto kernel
Use the 4.1 kernel which is now the default in oe-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-19 07:39:30 -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
Cristian Iorga
664a37854c intel-corei7-64: add nfc machine feature
add support for the generic NFC stack

Partial fix for [YOCTO #7451].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-06-01 09:24:06 -07:00
Cristian Iorga
b52fe1d9e2 intel-core2-32: add nfc machine feature
add support for the generic NFC stack

Partial fix for [YOCTO #7451].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-06-01 09:24:04 -07:00
Ross Burton
dcb2710376 intel-core*: use gstreamer-vaapi-1.0 directly instead of gst-va-intel
No need for a layer of indirection when that layer only has one option.
Previously with EMGD there was a choice, but not anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-02-27 10:11:59 -08: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
Darren Hart
86bae8895a intel-core*: Prefer 3.19 for the Intel common BSPs
Now that 3.17 has been removed and linux-yocto-3.19 is available, set
the preferred version to 3.19.

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
e5427e8e75 intel-corei7-64: Add intel-ucode to MACHINE_FEATURES
Enable the Intel microcode feature for this BSP.

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 14:40:10 -05:00
Nitin A Kamble
dd922d7cb2 intel-core2-32: Add intel-ucode to MACHINE_FEATURES
Enable the Intel microcode feature for this BSP.

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 14:39:49 -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
6702f5a00c layer.conf: Avoid conflicts with sub-layers
The layer priority is getting ignored because the same set of files
are visible in the meta-intel layer as well as any of its sub layers.

The layer pattern for recipe files is changed from "^${LAYERDIR}/" to
"^${LAYERDIR}/common" to stop unintentionally including the sub-layer
recipe files in the meta-intel layer.

Fixes Bug:
[YOCTO #6552]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-10-01 14:04:12 -05:00
Nitin A Kamble
2033f399aa intel-corei7-64: Use the v3.17 kernel by default
The linux-yocto_3.17 recipe is available for this BSP.  Make it the
default kernel for this BSP.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-09-30 10:01:01 -05:00
Nitin A Kamble
d49bf442eb intel-core2-32: Use the v3.17 kernel by default
The linux-yocto_3.17 recipe is available for this BSP.  Make it the
default kernel for this BSP.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-09-30 10:01:01 -05:00
Elizabeth Flanagan
a369fa8f2d layer.conf: Bumping LAYERVERSION
As we've retired some BSPs we'll need to bump LAYERVERSION so
that the autobuilder does not fail out on them.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2014-09-18 18:35:54 -05:00
Nitin A Kamble
1a887e5430 intel-corei7-64.conf: include the AMT daemon in the images
Some of the platforms supported by the intel-corei7-64 BSP have AMT feature
on the platform. Enable it so that it can get utilized with this BSP.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
2014-09-18 11:35:21 -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
84eb1ba0e9 intel-common: Specify linux-yocto and cleanup order
In keeping with the other BSPs in meta-intel, specify the
PREFERRED_PROVIDER and the PREFERRED_VERSION for the linux-yocto kernel
to 3.14. Move the assignments below the required includes in keeping
with the rest of meta-intel.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-04-29 14:13:27 -07: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
Nitin A Kamble
25486efb37 intel-corei7-64: change the default kernel to v3.14
Use the latest linux-yocto kernel for the intel-corei7-64 BSP.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2014-04-04 09:00:04 -05:00
Nitin A Kamble
14093e6b88 intel-core2-32: change the default kernel to v3.14
Use the latest linux-yocto kernel for the intel-core2-32 BSP.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2014-04-04 08:59:56 -05:00
Nitin A Kamble
8d79fb4e0c Remove chiefriver, sys940x & n450 BSPs
Configuration for the chiefriver, sys940x, sys940x-noemgd, n450 BSPs are
deleted. The consolidated BSPs viz intel-corei7-64 and intel-core2-32
support these boards.

As part of the usual retirement process, a heads-up email was sent to the
meta-intel mailing list requesting any feedback regarding retirement of
these BSPs. The community did not had any concerning feedback to
reconsider the retirement decision.

The MAINTAINERS file and the layer version of the meta-intel layer are
updated to reflect removal of the BSPs.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
CC: Darren Hart <dvhart@linux.intel.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
2014-03-26 22:41:49 -05:00
Darren Hart
bbbfb9e751 intel-core*: Set kernel provider with conditional assignment
The PREFERRED_PROVIDER_virtual/kernel was assigned with = instead of ?=,
preventing the user from overriding the setting with something like
linux-yocto-rt. Use ?=.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: Teemu Keskinarkaus <Teemu.Keskinarkaus@Maximatecc.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
2014-03-17 16:22:53 -07:00
Darren Hart
59815d81a8 intel-common: Add nuc to the README
Both the Ivy Bridge and Haswell nuc systems are covered supported by the
intel-corei7-64 BSP. The HDMI audio requires manual configuration which
is handled by a machine-specific script in the nuc BSP. A general
solution to this sort of problem is in the works.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-03-14 08:01:52 -07:00
Darren Hart
fb2cbbc2de intel-common: Add a README
Add a README describing the intel-core* (intel-common) BSPs and the
Linux kernel package architecture. Includes a list of currently tested
BSPs compatible with the intel-common BSPs.

Update the top-level README with a reference to this new README for the
intel-common BSPs.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-03-12 13:44:34 -07:00
Darren Hart
a5b790da02 intel-core*: Add common MACHINE_* values
Add common values for the various MACHINE_ variables, derived from the
existing BSPs in meta-intel. Include EFI and PCBIOS, 3G and wifi
support, and video decoding. Include the linux-firmware package.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-03-10 21:44:01 -07:00
Darren Hart
dc7c8548ff intel-core*: Add default serial console
For the intel-common BSPs, assume a default serial console of
ttyS0 at 115200 BAUD. This will ensure the configuration is
in place and is easy to find and modify on the resulting images.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-03-10 21:44:01 -07:00
Darren Hart
80bdaeda52 intel-core*: Add Xserver drivers
Include support for x86, ext, i9xx, fbdev, vesa, and modesetting
drivers, as well as matrox for the 64b machines (for the Xeon server
class systems).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2014-03-10 21:44:01 -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