Commit Graph

292 Commits

Author SHA1 Message Date
Anuj Mittal
01c94b9a2c qemuboot-intel: use Skylake-Client instead of kvm64
Use skylake-client instead of legacy kvm64 for intel-skylake-64 MACHINE.
Also helps prevent problems when booting up using KVM in QEMU.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 10:04:27 +08:00
Anuj Mittal
e35522c28c layer.conf: update LAYERSERIES_COMPAT to dunfell
There are changes in current master that will work only with
dunfell so remove all other branches.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-16 06:48:06 +08:00
Chee Yang Lee
108c6938a9 virtualization: include virtualization feature in linux-intel 4.19 kernel
as virtualization layer allow to added kernel feature to certain
kernel version, kernel 4.19 is not included, see :
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=f2f36a8061c600b35b5f0ce1599d59f1d144a3aa

add bbappend to linux-intel 4.19 kernel to include necessary
virtualization config when virtualizaton layer is included.

[YOCTO #13727]

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-03 15:18:52 +08:00
Naveen Saini
f700571666 conf/machine: set preferred RT kernel to 5.4
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-30 09:39:30 +08:00
Naveen Saini
230dd4552f meta-intel.inc: Update linux-intel PREFERRED_VERSION to 5.4
And also mark 4.19 as the kernel to be built when using poky-altcfg.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-02 10:31:52 +08:00
Ankit Navik
cd63bab428 librealsense: Initial recipe for Intel Real Sense SDK
It adds generic recipe for Intel Real Sense SDK.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-01 11:34:47 +08:00
Anuj Mittal
1a141241d8 intel-skylake-64: include mediasdk and media-driver in HWCODECS
media-driver is recommended to be used for BDW/SKL and above instead of
intel-vaapi-driver. Include it by default along with Media SDK codecs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-30 12:18:32 +08:00
Anuj Mittal
5a52d5ccd7 gma500-gfx-check: remove
This is a check to avoid loading gma500 module on certain older hardware
using 32 bit BSP where gma was claiming ownership of graphics when it
shouldn't have.

The platforms for which this was added aren't supported anymore so
remove.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-30 12:18:32 +08:00
Khem Raj
13fcf62449 layer: Mark zeus as compatible release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-09 11:32:32 +08:00
Anuj Mittal
7aef51c962 dldt-model-optimizer: add recipe
Model Optimizer is a cross-platform command-line tool that facilitates
the transition between the training and deployment environment,
performs static model analysis, and adjusts deep learning models for
optimal execution on end-point target devices.

For more details, see:

https://software.intel.com/en-us/openvino-toolkit/deep-learning-cv

Since the recipe requires bits from meta-python, move this to the
dynamic layers section and add meta-python to BBFILES_DYNAMIC.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-24 10:24:42 +08:00
Anuj Mittal
70d414ce56 meta-intel.inc: build older LTS kernel with poky-altcfg
Mark 4.14 (it should later be changed to 4.19 after the next LTS has been
merged) as the kernel to be built when using poky-altcfg. It'll help build
and test both the supported kernels.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-24 07:05:28 +08:00
Naveen Saini
42eb1f0d3a meta-intel.inc: Remove LSB support config
LSB support has been removed from OE-core:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=bac4bc9aa6a1f2fcf2ce9644925615185cc8e847
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=66dba027289d7dd20df4bae9ae4307ae3a225216

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-11 18:36:13 +08:00
Alejandro Enedino Hernandez Samaniego
0bc64c2ad3 tune-skylake.inc: Improve handling the newly introduced skylake tune.
The skylake tune introduced on 04510bfa

Currently disables qemu-usermode by default, due to the lack
of support from QEMU to several of the Intel instruction set
extensions introduced within the few latest generations of
CPU architectures (e.g. QEMU does not support avx2)

While there is a good reason to perform the removal of qemu-usermode
from MACHINE_FEATURES, there are several components within the
build system that rely on it for proper compilation and behavior,
for example anything that uses gobject data introspection or even
the components like the chromium web browser require to run a QEMU
for the target architecture to build successfully.

There is no reason why we can't have those components built without
sacrificing the cpu (most) optimizations.

The process I followed on meta-chromebook to enable an optimized build
and whats being upstreamed by this patch is that by doing some
reverse engineering, I was able to figure out which instruction
set extensions are not compatible with QEMU Skylake-Client, by
performing a bit gcc magic from inside QEMU (target) to get the
available optimizations for the native architecture (which is
actually our target in this case).

These are all (not surprisingly) the avx2 extensions, listed as
follows:
-mno-avx
-mno-avx2
-mno-avx512f
-mno-avx512er
-mno-avx512cd
-mno-avx512pf
-mno-avx512dq
-mno-avx512bw
-mno-avx512vl
-mno-avx512ifma
-mno-avx512vbmi
-mno-avx512vbmi2
-mno-avx512vnni
-mno-avx512bitalg

Specifically disabling these manually (for now), allows us to build an
optimized system for the skylake/skylake based architectures (e.g. KabyLake)
while keeping the capability of using qemu-usermode, as a side note GCC
does show more unavailable optimization tunes, (hence why there might be
some warnings), but getting rid of these specifically seems enough to make
it run happily in qemu-usermode.

Basically the MACHINE_FEATURES variable is able to dictate how we will tune
the build for our device, if qemu-usermode is present, TUNE_CCARGS will
expand as follows:

TUNE_CCARGS=" -m64 -march=skylake  -mtune=skylake  -mno-avx -mno-avx2
-mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-avx512dq
-mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx512vbmi2
-mno-avx512vnni -mno-avx512bitalg  -mfpmath=sse"

Whats this means is that the build will be tuned for skylake architectures,
enabling all possible extensions, (MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1,
SSE4.2, POPCNT, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2, F16C, RDSEED,
ADCX, PREFETCHW, CLFLUSHOPT, XSAVEC and XSAVES) minus the ones QEMU is unable
to run, which will result in an illegal instruction error, notice the tune is
kept as skylake.

Whilst, if qemu-usermode is not found on MACHINE_FEATURES, TUNE_CCARGS will
expand to:
TUNE_CCARGS=" -m64 -march=skylake -mtune=generic -mavx2 -mfpmath=sse"

Which is exactly what its set to with the current tune, so this patch should
be harmless, and only extend current functionality, we will still keep
qemu-usermode disabled by default (hence enabling avx2) but the user would
have the capability to decide how the skylake tune will be handled.

As the GCC manual states, we should really try to avoid using mtune=generic
when possible, and this patch allows us to do so [1].

This patch also addresses a problem on which the current skylake tune includes
tune-core2.inc instead of tune-corei7.inc to get the list of AVAILTUNES
and PACKAGE_EXTRA_ARCHS.

Right now, AVAILTUNES are set as follows:
AVAILTUNES=" x86 x86-64 x86-64-x32 i586 i686 core2-32 core2-64 core2-64-x32
skylake-64"

Where the proper set should be (after this patch):
AVAILTUNES=" x86 x86-64 x86-64-x32 i586 i686 core2-32 core2-64 core2-64-x32
corei7-32 corei7-64 corei7-64-x32 skylake-64"

When (if), QEMU gains support for the AVX2 instruction set extensions these
can be easily removed to provide full support for qemu-usermode.

[1] https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/x86-Options.html

Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-29 11:34:35 +08:00
Naveen Saini
04510bfabd conf: add new machine intel-skylake-64
Add 64-bit new machine (intel-skylake-64) with -march=skylake
and avx2 instruction-set set up.

We do see a qemu-usermode failure at build time, on setup of
avx2 instruction-set as QEMU does not support AVX instruction
set.

Check this:
https://bugs.launchpad.net/qemu/+bug/1818075

So to bypass this issue disabling qemu-usermode for intel-skylake-64
machine.

Due to above limitation and in order to not affecting existing
machines, this new machine is being proposed to add.

A quick performance comparision between intel-corei7-64 vs intel-skylake-64 machines

Measurements are in time, taken by the benchmark tests. Less is better.

Test/Benchmark			intel-corei7-64		intel-skylake-64

(1) CppPerformanceBenchmarks (Test: Math Library)
				(1st) 5m 15.70s		4m 36.39s
				(2nd) 5m 16.37s		4m 36.51s
				(3rd) 5m 15.54s		4m 37.80s
CppPerformanceBenchmarks is a set of C++ compiler performance benchmarks.

(2) AOBench
				(1st) 0m 35.07s		0m 28.74s
				(2nd) 0m 34.90s		0m 28.72s
				(3rd) 0m 34.85s		0m 28.89s
AOBench is a lightweight ambient occlusion renderer, written in C. The
test profile is using a size of 2048 x 2048.

(3) C-Ray
				(1st) 320 seconds	232 seconds
				(2nd) 320 seconds	232 seconds
				(3rd) 321 seconds	232 seconds
C-Ray, a simple raytracer designed to test the floating-point CPU performance.

For this patch, 'bitbake world' gets successfully built with latest poky master.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-21 12:30:01 +08:00
Ankit Navik
2558672de2 libipt: Initial recipe for Intel Processor Trace decoder library
It adds generic recipe for Intel Processor Trace decoder library is Intel's
reference implementation for decoding Intel PT.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-21 12:27:06 +08:00
Anuj Mittal
64f8ef709f meta-intel.inc: include i915 kernel module and firmware
We include the firmware as part of initramfs image that is used for
live images. Make sure that we include this module for others as well.

Also include the kernel module for all images instead of relying on
"linux-modules" using MACHINE_EXTRA_RRECOMMENDS. Use
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS instead to pull in i915 module so it
works for all images based on packagegroup-core-boot.

Fixes [YOCTO #13446]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-09 23:26:35 +08:00
Naveen Saini
d5792d7943 intel-corei7-64.conf: add conditionally to HWCODECS for x32 build
mediasdk & media-driver doesn't support building for x32.
Instead of patching makefile to build for x32 and risk runtime
failures, do not include in x32 build.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-08 07:08:32 +08:00
Ross Burton
cfb0931f97 layer.conf: add default PREFERRED_PROVIDERS for zlib
This layer adds zlib-intel, which PROVIDES zlib.  If meta-intel is added to a build but a meta-intel MACHINE isn't used then bitbake will warn that there are multiple candidates for zlib:

NOTE: Multiple providers are available for zlib-native (zlib-native, zlib-intel-native)
Consider defining a PREFERRED_PROVIDER entry to match zlib-native
NOTE: Multiple providers are available for zlib (zlib, zlib-intel)
Consider defining a PREFERRED_PROVIDER entry to match zlib

Silence these warnings by adding PREFERRED_PROVIDER defaults in layer.conf.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-07 07:58:50 +08:00
Ankit Navik
40937b124b isa-l: Initial recipe for Intelligent Storage Acceleration Library
It adds generic recipe for Intel Intelligent Storage Acceleration Library
(ISA-L) to optimized low-level functions targeting storage applications.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-03 21:53:01 +08:00
Ankit Navik
e3d7b3aba6 libxcam: Initial recipe for libXCam
It adds generic recipe for libXCam for extended camera feature, but not limited
in camera. It focuses on image quality improvement and video analysis.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-30 12:41:53 +08:00
Anuj Mittal
efd27c68ad intel-corei7-64.conf: include mediasdk and media-driver in HWCODECS
media-driver is recommended to be used for BDW/SKL and above instead of
intel-vaapi-driver. Include it by default along with Media SDK codecs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-25 12:54:21 +08:00
Alexander Usyskin
edad2c42cd lms: add recipe for lms 1921.0.0.0
This is a new release of Local Manageability Service.
This open-source release deprecates unsupported lms7 and lms8.

This recipe depends on ACE and MeTee library recipes.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-19 20:07:20 +08:00
Anuj Mittal
a12a2f0346 clang: build Intel common-clang and spirv
Common clang is a thin wrapper library around clang. Common clang has
OpenCL-oriented API and is capable to compile OpenCL C kernels to SPIR-V
modules.

This adds a bbappend to clang recipe from meta-clang to build the
necessary components and moves it to dynamic layers so it's built only
when clang-layer is included.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-17 19:33:24 +08:00
Ross Burton
8c6ee6ea60 conf: use zlib-intel by default for target builds
Don't change native or nativesdk so that builds using both
meta-intel and other machines can share native sstate.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-06 12:03:20 +08:00
Ankit Navik
1e488b5a94 metrics-discovery: Updates mesa util files
Updates mesa util files, includes additional KBL and CFL chipsets
and updates metrics-discovery to v1.5.102.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-04-04 11:06:15 +08:00
Khem Raj
b84187f45a layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-04-03 13:21:55 +08:00
Ross Burton
b5a428bc6b wic: pass APPEND to bootloader
Rename the systemd and grub-efi .wks files to .wks.in, and replace all 'append'
entries apart from rootfstype (which is specific to the wks file) with
${APPEND}, so the values of APPEND from the BSP and user is respected.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-03-07 09:47:19 +08:00
Ankit Navik
a0f0731eaa mkl-dnn: Initial recipe for Intel Math Kernel Library
Add generic recipe for Intel(R) Math Kernel Library for Deep Neural
Networks. The library accelerates deep-learning applications and
frameworks on Intel architecture.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-03-05 13:16:46 +08:00
Anuj Mittal
29e4db5bf4 conf: set -rt kernel to 4.19
Explicitly set the kernel to be used when building an image with
linux-intel-rt kernel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-12 10:23:07 +08:00
Anuj Mittal
d41dc2301b conf/machine: set preferred kernel to 4.19
Set preferred kernel to 4.19 for LSB as well.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-17 15:33:12 +08:00
Anuj Mittal
6362160cfd intel-corei7-64.conf: remove reference to dpdk-libibverbs
The recipe was removed from dpdk layer.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 07:36:13 +08:00
Anuj Mittal
901a714e52 intel-mediasdk: add recipe
Intel(R) Media SDK provides an API to access hardware-accelerated
video decode, encode and filtering on Intel® platforms with integrated
graphics.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-11-28 11:29:39 +08:00
Anuj Mittal
b90dc17725 intel-media-driver: add recipe
Hardware accelerated video driver that supports Intel(R) HD Graphics
starting from Broadwell. Please see for details:

https://01.org/intel-media-for-linux

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-11-28 11:29:39 +08:00
Anuj Mittal
80d9481197 gmmlib: add recipe
It provides buffer management for Intel(R) Graphics Compute Runtime
for OpenCL(TM) and the Intel(R) Media Driver for VAAPI.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-11-28 11:29:39 +08:00
Anuj Mittal
847dcbb866 layer.conf: update layer compatibility sumo->thud
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-10-01 21:22:02 +08:00
Anuj Mittal
8bca950b8a lms8: remove
Obsolete and not being maintained anymore.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-08-02 07:20:56 +08:00
Anuj Mittal
12acdbe9d8 README: minor edit
We don't supply binaries anymore. Also, remove some obsolete comments.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-27 10:34:20 +08:00
Anuj Mittal
e4e44b4c77 machine/intel-corei7: remove lms from MACHINE_EXTRA_RRECOMMENDS
Not all platforms need it and should be enabled only when it is required.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-27 10:34:20 +08:00
Anuj Mittal
6a52717354 lms7: remove
Looks for the wrong device node, startup script fails among other
issues and as a result, doesn't work.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-27 10:31:45 +08:00
Anuj Mittal
8545706064 machine/intel-corei7-64: remove reference to openssl-qat
The recipe was removed and this is no longer needed.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-25 10:11:25 +08:00
Anuj Mittal
0eac762e3e va-intel: remove
Include intel vaapi driver directly as part of hwcodecs instead of going
indirectly through a separate recipe.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-18 10:20:06 +08:00
Anuj Mittal
c12c166592 rmc: remove
It's not being maintained anymore and the scripts have not been kept in
sync with upstream for quite some time.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-16 16:53:00 +08:00
Ross Burton
05f3f87dec maintainers: update all owners to Anuj
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-06-21 10:23:22 +08:00
Tan, Raymond
6f7ed1ec43 conf/machine/intel-core*: add COMPATIBLE_MACHINE for qat17
This adds both intel-core2-32 and intel-corei7-64 as the COMPATIBLE_MACHINE
for qat17 package.

Signed-off-by: Tan, Raymond <raymond.tan@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-06-06 09:22:20 +08:00
Anuj Mittal
77e7aecc9b intel-core*.conf: change wks to be used for grub-efi
Point to the meta-intel wks file when grub-efi is to be used.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-06-04 16:02:41 +08:00
California Sullivan
d5699efd24 conf/machine/intel-corei7-64.conf: remove DPDK_TARGET_MACHINE
"atm" wasn't a real target and breaks the dpdk build now that the
TARGET_MACHINE selection is fixed. Just allow it to default since that's
what it effectively got before.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-17 14:02:56 -07:00
California Sullivan
e84508f1ba conf/machine/intel-core*: use systemd-bootdisk-microcode.wks by default
This allows early boot microcode updates by default.

Since microcode is needed, we also add intel-microcode to
WKS_FILE_DEPENDS.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-13 16:41:13 -07:00
California Sullivan
39e15daae8 layer.conf: update LAYERSERIES_COMPAT variable
We are compatible with sumo and no longer compatible with rocko.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-06 12:04:43 -07:00
California Sullivan
81eb68f4ff efilinux: remove
The code hasn't been touched for over 4 years. Its also unlikely to have
been used much if at all considering our previous lack of EFI boot
partition support.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-03-27 12:17:31 -07:00
Anuj Mittal
2ad24ce812 meta-intel.inc: remove unreferenced xserver code
OLD_XSERVER_X86_EXT was added to support emgd drivers that needed X server
older than 1.13. We neither support X server older than 1.13 nor the emgd
drivers now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-03-13 16:43:12 -07:00
California Sullivan
958d1a20f7 Revert "conf: override WKS_FILE_DEPENDS for intel machines"
This reverts commit ab858eb989.

This caused no bootloader to appear in the boot partition if WKS_FILE
was changed manually. Furthermore, wic wouldn't error, it would just
silently ignore the missing binary.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-03-06 12:53:08 -08:00
Anuj Mittal
ab858eb989 conf: override WKS_FILE_DEPENDS for intel machines
WKS_FILE_DEPENDS includes all the dependencies for producing wic images
and is meant to be overridden with correct set by image recipes. Right now,
the default values result in grub-efi being built even when EFI_PROVIDER
is set to systemd-boot.

Change the value to depend only on the EFI_PROVIDER bootloader.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-02-16 15:44:01 -08:00
Anuj Mittal
c71d3ab216 conf/machine/intel-*: remove do_image_wic depends
These dependencies on native tools needed by wic images have already been
added by image_types_wic bbclass. Appending here results in same dependencies
being added twice.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-02-16 15:44:01 -08:00
Anuj Mittal
433e4f31e9 intel-vaapi-driver: upgrade to 2.0.0
Major changes:

* Bump version to 2.0.0
* Add support for Coffee Lake (aka. CFL)
  - Decoding: H.264/MPEG-2/VC-1/JPEG/VP8/HEVC/HEVC 10-bit/VP9/VP9 10-bit
  - Encoding: H.264/MPEG-2/JPEG/VP8/VP9/HEVC/HEVC 10-bit/AVC low power CQP/CBR/VBR mode
  - VPP: CSC/scaling/NoiseReduction/Deinterlacing{Bob, MotionAdaptive, MotionCompensated}/ColorBalance/STD
* Add support for H264 FEI
* Add support for HEVC ROI encoding
* Add support for intensity compensation for VC-1 decoding
* Improve the quality of the H264 encoder on BDW/BSW
* Improve the CSC performance between I420/NV12/P010/YUY2/VYUY format
* Improve the performace of va{Get, Put}Image for I420/NV12/P010/YUY2/VYUY format
* Fix image corruption for VP9 decoding
* Fix race condition in wayland support
* Fix ROI support in VDEnc support
* Fix corrupted stream when using VDEnc CBR/VBR
* Fix GCC 7.1.1 warnings/errors
* Update the shader for HEVC encoding

The upstream package name now is intel-vaapi-driver instead of libva-intel-driver.

Updated to point to release tarball instead of git. Also, changed
the URLs to point to new project page.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-02-16 15:38:35 -08:00
California Sullivan
14ddaa3780 meta-intel.inc: use linux-intel instead of linux-yocto in -lsb
Previously the ltsi kernel was 4.4, requiring us to use linux-yocto. It
has since moved to 4.9, allowing us to use linux-intel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-29 17:36:35 -08:00
California Sullivan
ee1d78515a meta-intel.inc: set default EFI_PROVIDER to systemd-boot
RMC is confusing as a default because it is only supported by legacy
(iso, hddimg) image types. Its also not being actively maintained,
causing it to lag behind in updates (currently against systemd-boot
v232 instead of v234).

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-22 16:44:20 -08:00
Anuj Mittal
7bf03f7612 xf86-video-mga: remove recipe from meta-intel
This driver was added for a platform that is no longer supported.

This recipe is also maintained in meta-oe in case it's required outside
of meta-intel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-17 11:36:26 -08:00
California Sullivan
4c63d9fb45 maintainers.inc: update recipes for new maintainers
Anuj gets video related pieces.
Stephano gets RMC and poky-tiny related pieces.
Cal picks up other small pieces.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-16 15:24:24 -08:00
California Sullivan
953e5ce212 meta-intel.inc: Update linux-intel PREFERRED_VERSION to 4.14
This is the newest LTS kernel, and will be the preferred kernel going
for this release.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-08 13:25:01 -08:00
Saul Wold
5dbc69e339 intel-quark: Remove MACHINE configuration for Quark
As the Quark machine has been EOL'ed at the end of 2017, remove this
machine type from the 2018 planned release of meta-intel

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-08 15:04:46 -08:00
Saul Wold
71fc4f3497 qemuboot-intel: Remove quark references
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-08 15:04:46 -08:00
Saul Wold
d53dbb38c4 meta-intel: Reorganize the layout to remove common
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>
2017-11-20 15:33:02 -08:00
Saul Wold
d68dda959b layer.conf: Bump Layer due to removal of meta-tlk
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-11-01 10:38:28 -07:00
Saul Wold
252e4077bb maintainers: Update with available team members
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-10-19 06:13:04 -07:00
Saul Wold
e11a399d52 meta-intel.inc: Use grub-efi for x32
Use the new x86-x32 override to set the EFI_PROVIDER to grub-efi
which can build without any external libraries, thus just build
in 64bit mode without x32 libraries.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-27 10:03:08 -07:00
Saul Wold
2f1bcac3fb meta-*/layer.conf: Add LAYERDEPENDS
This adds the missing LAYERDEPENDS as appropriate

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-26 07:20:34 -07:00
Mark Hatle
dc921fcd8d qat: Move BSP specific configurations from recipes to machine.conf
The COMPATIBLE_MACHINE entry for qat recipes is set to 'null'.  This
will prevent arbitrary machines from trying to use the qat functionality.

A compatible MACHINE must define itself as such for the qat recipes.
Embedding BSP specific knowledge into the recipe will cause the recipe to
slowly get out of date.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-25 15:53:57 -07:00
Mark Hatle
a513894de8 dpdk: Move BSP specific configurations from recipes to machine.conf
The COMPATIBLE_MACHINE entry for dpdk recipes is set to 'null'.  This
will prevent arbitrary machines from trying to use the dpdk functionality.

A compatible MACHINE must define itself as such for the dpdk recipes.  Also
the BSP aware target machine was similarly moved to the BSP.  Embedding BSP
specific knowledge into the recipe will cause the recipe to slowly get out
of date.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-25 15:53:57 -07:00
Mark Hatle
a20d06d7e4 Move dpdk and qat components to meta-dpdk and meta-qat
meta-dpdk / meta-qat:
* Move content from meta-intel/common
* Create new basic README/LICENSE files from meta-intel
* Create new layer.conf files
* Fill out the maintainers files

meta-intel:
* update the maintainers files
* bump the meta-intel layer version
* add layer recommend

No other content changes made in this commit.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-25 15:53:57 -07:00
Saul Wold
0346318e81 intel-common-pkgarch: fix iwlwifi rename and add ixgbe
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-05 15:55:04 -07:00
California Sullivan
9658bb3489 conf/machine/intel-*: move core-image-minimal-initramfs PACKAGE_INSTALL
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>
2017-08-23 15:16:35 -07:00
Saul Wold
3dfbb5cd08 intel-common-pkgarch: Add out of tree modules
Since we want to support the out of tree modules for wifi and ethernet
we need to also have them as common for all machines in the common arch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-31 09:00:58 -07:00
Saul Wold
3b8d46f617 meta-intel.inc: Ensure thermald is installed for most targets
This will ensure thermald is installed on all target images except core-image-minimal

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-27 10:01:47 -07:00
California Sullivan
27e8148446 meta-intel.inc: Set default DISK_SIGNATURE_UUID
This lets the uefi-comboapp and new kickstart template work well
together out of the box.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-10 12:08:20 -07:00
Saul Wold
fe4eff06ac Revert "meta-intel: Add override for EFI_PROVIDER and x32"
The recent patch from Todor to split the RMC recipe into lib and efi app
allows us to revert this override.

This reverts commit a0ca03a32b.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-08 18:36:06 -07:00
Saul Wold
e88f7e629d Revert "world-broken: Add for dpdk packages"
Testing of to dpdk-libverbs

This reverts commit cbf13b7374.
2017-07-05 08:38:49 -07:00
Saul Wold
a0ca03a32b meta-intel: Add override for EFI_PROVIDER and x32
Since the existing rmc library does not build correctly for x32
target disable it with an ARCH based OVERRIDE.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-26 09:40:01 -07:00
Saul Wold
cbf13b7374 world-broken: Add for dpdk packages
The dpdk-dev-libibverbs is broken with gcc7 currently

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-26 08:04:26 -07:00
Saul Wold
489a786469 layer.conf: Add LAYERSERIES_COMPAT markup to layer.conf
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-06-07 10:13:04 -05:00
California Sullivan
7e8f98aa32 conf/machine/intel-core*: Fix WKS_FILE setting
bb.utils.contains checks if ALL items are in the variable, and since we
check for systemd-boot or rmc-boot, it would always be false, assigning
mkefidisk as the WKS_FILE in all cases. bb.utils.contains_any checks if
one or more items are in the variable, so use that instead.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-19 11:21:47 -07:00
Saul Wold
1dbf462877 maintainers: Re-Sort and remove duplicate
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
California Sullivan
7169c2a500 conf/machine/intel-core*: change WKS_FILE based on EFI_PROVIDER
If someone changes their EFI_PROVIDER to grub-efi, we shouldn't be
building a systemd-boot based wic image. Use bb.utils.contains to
be default to mkefidisk.wks if we aren't using a systemd-boot based
EFI_PROVIDER.

mkefidisk.wks is the same as systemd-bootdisk.wks, except it uses grub
and sets rootwait on the kernel command line, so its nearly equivalent.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
California Sullivan
c339fa115a canned-wks/systemd-bootdisk-uuid.wks: remove file
This was initially added as a stopgap, as OE-core's systemd-bootdisk.wks
was using a static device node name rather than device UUID as the root
target. Since OE-core's systemd-bootdisk has caught up, we don't need
this. OE-core's systemd-bootdisk also includes console=ttyS0, which is
common on many platforms and we were missing.

Also change the default WKS_FILE to be OE-core's systemd-bootdisk on
appropriate MACHINEs.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16 08:05:07 -07:00
California Sullivan
8b1bc4781a qemu-intel.inc: Add to KERNEL_FEATURES via KERNEL_FEATURES_INTEL_COMMON
Adding to KERNEL_FEATURES causes the kernel tools to try to add the
feature to all kernels, even custom kernels not using the
yocto-kernel-cache. By moving it to KERNEL_FEATURES_INTEL_COMMON, it
will only affect the kernels the layer supplies.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-11 09:17:11 +08:00
Saul Wold
e9c3997c0e maintainer: Update Maintainer list
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-09 22:29:45 +08:00
Ross Burton
6cbb6f96b6 conf: set recipe maintainers
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-06 16:56:03 +08:00
Saul Wold
ce71121534 intel-common-pkgarch: Add additional kernel types
We added -rt to available kernel, and will likely have -tiny and -dev
in the future, so add them now also.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-17 10:11:00 -07:00
California Sullivan
2a955487d8 qemu-intel.inc: Add ovmf to EXTRA_IMAGEDEPENDS
This lets us use ovmf firmware with runqemu without building ovmf
manually beforehand.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-28 10:44:13 -07:00
California Sullivan
0be3c6bdf0 meta-intel.inc: Set PREFERRED_PROVIDER to linux-yocto for linuxstdbase
linux-intel does not provide a 4.1 kernel, which is needed for -lsb
images since they use the current LTSI kernel.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-23 10:29:38 -07:00
Jussi Laako
66637d28a7 Include recommended packges for all Intel machines
Moves common MACHINE_EXTRA_RRECOMMENDS to a common include file and
add thermald to MACHINE_EXTRA_RRECOMMENDS.

Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-21 19:03:03 -07:00
Alejandro Hernandez
ba824ee3df meta-intel.inc: Set intel-linux as default kernel for poky-tiny
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-07 12:22:22 -08:00
Saul Wold
f5aa708493 intel-common-pkgarch: Add linux-intel
This adds the linux-intel kernel to the list of packages that are
in the intel-common arch.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-06 13:06:27 -08:00
Dmitry Rozhkov
80ce6eb1d3 meta-intel: Don't override default qemu slirp options
The latest OE's runqemu script by default uses the following
SLIRP options

  -netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::2323-:23

which are suitable for meta-intel too. And what is more important
they don't follow the deprecated syntax currently present in the
option values overriden by meta-intel.

The patch drops the meta-intel specific overrides.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-28 16:05:01 -08:00
Saul Wold
e8fd58ccf2 meta-intel.inc: Enable linux-intel and 4.9 by default for meta-intel hardware
Enable the linux-intel production kernel for meta-intel by default for 4.9,
this will enable using the Intel production kernel.

This is a well tested 4.9 tree that will start to include additional
support for the Apollolake and Joule hardware.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-08 16:28:14 -08:00
Patrick Ohly
5130e819ca meta-intel: enable qemu and select more suitable virtual machine options
Although the machines definitions in meta-intel are meant to target
real hardware, begin able to start the resulting images under qemu is
nevertheless useful for testing.

Doing that via runqemu depends on a per-image runqemu.conf that
describes how to run qemu for the image. Ineriting qemuboot.bbclass in
image recipes with QB_ variables set for the current architecture via
overrides creates that file.
The new qemuboot-intel.inc was copied from OE-core's qemuboot-x86.inc
and adapted to the three common machines in meta-intel:

  $ diff ../openembedded-core/meta/conf/machine/include/qemuboot-x86.inc conf/machine/include/qemuboot-intel.inc
  3,5c3,5
  < QB_SYSTEM_NAME_x86 = "qemu-system-i386"
  < QB_CPU_x86 = "-cpu qemu32"
  < QB_CPU_KVM_x86 = "-cpu kvm32"
  ---
  > QB_SYSTEM_NAME_intel-core2-32 = "qemu-system-i386"
  > QB_CPU_intel-core2-32 = "-cpu coreduo"
  > QB_CPU_KVM_intel-core2-32 = "-cpu kvm32"
  7,9c7,13
  < QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64"
  < QB_CPU_x86-64 = "-cpu core2duo"
  < QB_CPU_KVM_x86-64 = "-cpu kvm64"
  ---
  > QB_SYSTEM_NAME_intel-corei7-64 = "qemu-system-x86_64"
  > QB_CPU_intel-corei7-64 = "-cpu Nehalem"
  > QB_CPU_KVM_intel-corei7-64 = "-cpu kvm64"
  >
  > QB_SYSTEM_NAME_intel-quark = "qemu-system-i386"
  > QB_CPU_intel-quark = "-cpu coreduo"
  > QB_CPU_KVM_intel-quark = "-cpu kvm32"

For performance reasons, runqemu uses virtio for the boot disk. The
kernel therefore must have the necessary drivers enabled. This may
also be useful when running a meta-intel machine image on other
virtual platforms and therefore the default kernel configuration gets
changed to enable virtio.

However, OE-core's qemu.inc also enables various other tweaks for
running under qemu, like deriving the wired Ethernet address from the
kernel boot parameters. This is probably less desirable for a
meta-intel machine and thus not enabled in the new qemu-intel.inc. The
downside is that the resulting images then come up without assigned IP
address when used under qemu. Distros which want that feature can
still add it to their images by copying settings from OE-core's
qemu.inc.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24 14:31:06 -08:00
Mikko Ylinen
c5986ea44d intel-quark: remove redundant EFI_PROVIDER setting
EFI_PROVIDER is set in meta-intel.inc for all machines
so the one set in intel-quark.conf has no effect and can be
removed.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-17 10:03:33 -08:00
Mikko Ylinen
85c16a907f intel-*: wic: drop recursive task depedency to do_bootimg
do_image_wic (in image_types.bbclass) deals with the task dependency
to do_bootimg if live images are built.

It's redundant to set do_bootimg as a recrdeptask in the machine
configurations so remove it.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-17 10:03:26 -08:00
Mikko Ylinen
a7941f79f6 intel-*: build dosfs/mtools for wic image creation
intel-* machines default to an EFI bootloader which runs from an EFI
system partition (ESP). Also, the ESP needs to be vfat formatted.

Make sure the dosfs/mtools used by wic and its plugins that deal with
vfat are built and available (without depending on do_bootimg) when
wic images are being created.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-17 10:03:15 -08:00
Ross Burton
466196fa2f vaapi: remove as recipes moved to oe-core
libva and gstreamer-vaapi are now part of oe-core, so remove them.

The package names were changed to reflect the naming scheme, so update the
machine configurations to follow.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-15 10:27:18 -08:00
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
Rahul Kumar Gupta
35d60f13bb intel-core*: Add ASPEED Xserver driver
Include support for ASPEED Technology graphics card driver to
intel-corei7-64 and intel-core2-32. So that intel common BSP can
support platforms like MohonPeak (Intel Atom Processor C2000 Product
Family) which using this graphics card.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
61634f89a8 intel-core*: add ttyS1 to SERIAL_CONSOLES
Some of Intel boards are using ttyS1 also. So ttyS1 is added to
SERIAL_CONSOLES inorder to provide login prompts on the console.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
California Sullivan
c1f260ba7f conf/machine/intel-core*: Change WKS_FILE to systemd-bootdisk-uuid
Overriding systemd-bootdisk.wks unconditionally was against Yocto
Project's compatibility requirements, so our version needed to be
renamed.

Change our conf files to use the renamed version.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-10 07:48:05 -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
da4795aa91 layer.conf: Remove BBMASK'ing items
Having BBMASKS and DISTRO_FEATURES causes issue with sstate in certain situations

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
Saul Wold
8649d6b5b1 intel-corei7-64: Use SERIAL_CONSOLES to add ttyS2
Some Intel boards use ttyS0 and others use ttyS2, include both serial
ports inorder to provide login prompts on the console.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
Jianxun Zhang
53597ed63d quark: amend EFI Bootloader option
We cannot override the current EFI bootloader selection with
another "EFI_PROVIDER=..." in a local.conf in a build/conf
directory when it is specified by "=" syntax in the current
conf file for quark.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
15ac2f84ed quark: explicitly set boot entry in bootloader
This is to get rid of "install" option when booting quark with
an image in hddimg format. EFI installer doesn't work on quark
at this point.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01 08:23:15 -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
Saul Wold
755c4a95e9 intel-quark: Add WIC image creation
This adds WIC Image support to the Quark Intel BSPs, these
are all designed to be copied to MicroSD Cards via dd.  This will create
an efi boot partition along with a user space partition.

It is not currently setup to have an install target, it only has a live boot
target.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-17 08:07:53 -07:00
Saul Wold
a7cc7abcc9 intel-core*: Add support for wic images
This adds WIC Image support to the core2 and corei7 Intel BSPs, these
are all designed to be copied to USB sticks via dd.  This will create
an efi boot partition along with a user space partition.

It is not currently setup to have an install target, it only has a live boot
target.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-17 08:07:53 -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
Jianxun Zhang
96cd0d7428 rmc: Add recipe and bbclass for RMC feature
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>
2016-08-03 17:37:41 -05:00
Jianxun Zhang
7d00922e1c quark: Switch gummiboot to systemd-boot
The systemd-boot is the old gummiboot merged into systemd project.
We have enabled systemd-boot as a standalone EFI bootloader in OE,
also with updated wic plugin to support specifying "systemd-boot"
as bootloader in wks files.

Assuming these are good enough to replace gummiboot for quark,
this change does it.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-07-28 12:09:21 -05: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
Tom Zanussi
0e86d961bc conf/machine/README: Remove
All content has been moved to the top-level README.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-29 07:15:31 -07:00
California Sullivan
d9727db3e7 conf/machine/intel-*: Add rootwait to APPEND variables
When using the init-install-efi.sh scripts from oe-core to install to a
USB stick, we do not get the "rootwait" kernel command line option.
Without the rootwait option we get a kernel panic when
attempting to boot from the installed USB stick.

This patch adds rootwait to the kernel command line of all intel-*
MACHINEs as a temporary workaround. This could potentially impact boot
times with devices that do not require it, but in testing with a
Silverjaw lure and SSD on a MinnowBoard Max, it did not have a noticable
impact.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-26 09:42:21 -07:00
California Sullivan
c6efc3ea16 machine: add i915 firmware to initramfs for intel-core* MACHINEs
Skylake and Broxton graphics require firmware blobs to run properly.
The firmware must be built into the initramfs since the i915 driver is
built into the kernel and won't have rootfs access on initialization.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29 11:45:33 -07: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
California Sullivan
95e3bea7f6 machine: update PREFERRED_VERSION to 4.4 for intel-core* and intel-quark
This makes us use the new 4.4 kernel by default.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-22 14:53:15 -08:00
Alejandro Hernandez
324918de46 gma500_gfx: Avoid inserting gma500_gfx module for certain devices
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>
2016-02-19 07:52:09 -08: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