Commit Graph

191 Commits

Author SHA1 Message Date
Naveen Saini
ba3ac217dc conf/machine: set preferred kernel to 6.2 for poky-altcfg
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-09 09:46:07 +08:00
Anuj Mittal
fe69a9478e meta-intel.inc: build v6.1 kernel with poky distro
Change our test defaults to build v6.1 with poky and v5.19 MLT with
poky-altcfg.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-21 11:59:46 +08:00
Naveen Saini
423820afb6 intel-skylake-64: use tune-x86-64-v3.inc
tune-x86-64-v3.inc uses x86-64 v3 level of instruction set.
x86-64-v3: (close to Haswell) AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-01-04 10:55:28 +08:00
Naveen Saini
7f8e1c5375 tune-skylake.inc: remove qemu-usermode check
QEMU 7.2.0 has now support for avx2 with followign change:
x86: TCG support for AVX, AVX2, F16C, FMA3 and VAES instructions

Ref https://git.yoctoproject.org/poky/commit/?id=9caff14abbb742e5083056b899ee6fc0a5fba8f3

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-12-29 09:27:07 +08:00
Teoh Jay Shen
3ccb7aafda meta-intel.inc: add r8152 kernel module to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS
Enable r8152 kernel module for images based on packagegroup-core-boot.

Some QA setups that use Realtek RTL8152/RTL8153 based USB ethernet
adapters for connection will not have networking working for
such images otherwise.

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-12-15 12:53:52 +08:00
Teoh Jay Shen
fda4108658 meta-intel.inc: add igc module to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS
Enable IGC kernel module for images based on packagegroup-core-boot.

Some products like TGL NUC11TNKV7 with integrated I225 ethernet
controller will not have networking working for such images otherwise.

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-12-15 12:50:52 +08:00
Naveen Saini
c4aa736317 meta-intel.inc: set default PREFERRED_VERSION to 5.19 kernel
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-11-18 11:55:06 +08:00
Naveen Saini
7dffd82399 opencl-clang/15.0.0: add recipe
Build opencl-clang with llvm-15 and point to latest from ocl-open-150
branch.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-10-25 14:39:18 +08:00
Anuj Mittal
0a7687b2c1 Remove support for LLVM 12
We can now build with LLVM 14 and no longer need to keep LLVM 12 patches
and compatibility code.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-15 13:40:22 +08:00
Anuj Mittal
a499bad106 linux-intel/5.10: remove recipes
5.15 is the only tested and default version now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-06-17 16:30:06 +08:00
Anuj Mittal
68e00896f2 opencl-clang: upgrade 13.0.0 -> 14.0.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-05 15:59:12 +08:00
Anuj Mittal
c993e8e815 Remove support for building with LLVM 10
We no longer support building with older branches of OE-Core/meta-clang
so remove LLVM 10 specific configurations and patches.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-05 15:59:12 +08:00
Anuj Mittal
7bb49b1ae1 conf: remove usage of X86_TUNE_DIR var
The main branch only supports building with kirkstone now so we no
longer need this to tweak paths for older branches.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-05 15:59:12 +08:00
Peter Bergin
4402be424b qemu-intel.inc: backport of dependency fixes from oe-core
When building an image for intel-corei7-64 (and probably other targets)
it was not possible to directly start the image with runqemu due to
missing directory in sysroot related to qemu-helper-native.

In oe-core two patches has been applied that fixes dependency issues when
building images for qemu. Those patches does also fix the issue when
building for targets in meta-intel.

Following two patches from oe-core, originally for meta/conf/machine/include/qemu.inc,
are backported to conf/machine/include/qemu-intel.inc:

3a4fed4ae0 qemu.inc: Should depend on qemu-system-native, not qemu-native
5562342020 image/qemu: Add explict depends for qemu-helper addto_recipe_sysroot task

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-31 22:50:06 +08:00
Anuj Mittal
dea9048c4b qemuboot-intel: fix audio option
-soundhw ac97 is deprecated since qemu v5.1.0. Replace it with
recommended option. Fixes:

| qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-30 22:41:35 +08:00
Anuj Mittal
f52d804c30 conf: set COMPATIBLE_MACHINE for dpdk-module
DPDK layer now requires COMPATIBLE_MACHINE to be set for dpdk-module
recipe too.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-01-28 10:22:47 +08:00
Naveen Saini
2bd57abeb5 meta-intel.inc: set default rt kernel to 5.15
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-30 14:54:15 +08:00
Naveen Saini
e69110ae03 meta-intel.inc: set default kernel to LTS 5.15
Build 5.10 with poky-altcfg as kenrel 5.4 support is going to drop

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:34:33 +08:00
Anuj Mittal
576ba39de2 qemuboot-intel.inc: remove vga and uvesafb parameters
These are ancient and no longer required. For a detailed explanation,
see:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ec7beb650fd3ad445e77d2c3c8fde27556d9d0c9
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e88fe83014b771b1868ee1159672c80f7710f41d
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=58e85c60cd15cf4c0b47cddcf507543461c1a328

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-17 00:01:19 +08:00
Anuj Mittal
c4ba0f18c2 intel-common-pkgarch.inc: fix operator combination
Bitbake now warns if :append is combined with +=. Change this to use the
preferred format.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-05 22:52:12 +08:00
Naveen Saini
82a73574ed meta-intel.inc: use zlib from oe-core by default
Instead of zlib-intel from this layer, use zlib from oe-core by default

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-03 21:56:15 +08:00
Anuj Mittal
a809b8c531 Remove support for gatesgarth
Building with oe-core gatesgarth is no longer supported. Remove from
LAYERSERIES_COMPAT and remove the LLVM 11 patches as well.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-13 11:23:41 +08:00
Naveen Saini
cb1bf2bdc1 meta-intel.inc: allow to select opencl-clang/13.0.0 too
Based on LLVMVERSION, select opencl-clang version

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-09-03 09:25:01 +08:00
Naveen Saini
3838f1d263 layer.conf: update machine confs with new tune locations
Added logic to make sure, it does not break with old releases.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-23 23:45:22 +08:00
Anuj Mittal
109cb6107d qemuboot-intel: fix the override syntax
Use : as per the new syntax.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-09 23:09:49 +08:00
Anuj Mittal
e67676976b Manually move some overrides to new syntax
Some of these were missed when using the script and were noticed when
building intel-skylake-64 and tiny images  which had started failing.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-06 15:51:53 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Anuj Mittal
29ded43c47 qemuboot-intel.inc: remove deprecated show-cursor option
Don't pass show-cursor as it's no longer a valid option. We pass the
correct show-cursor=on in runqemu so remove it from here.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-25 16:59:58 +08:00
Naveen Saini
5ecb12efe2 layer.conf: drop meta-intel-qat layer from LAYERRECOMMENDS
It does not provide any essential dependencies.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-03 23:59:46 +08:00
Naveen Saini
39457fee8e opencl-clang/12.0.0: add recipe
Build opencl-clang with llvm-12 and point to latest from ocl-open-120
branch.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-01 13:29:48 +08:00
Naveen Saini
d4f2e875ec conf: remove thermald from MACHINE_ESSENTIAL_EXTRA_RDEPENDS
thermald recipe moved to dynamic layer due to meta-oe
dependency.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-16 15:08:12 +08:00
Naveen Saini
b4e5d33aff conf/machine: set preferred kernel to 5.10
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-01-14 09:19:29 +08:00
Anuj Mittal
7ce356a478 machine: remove old vaapi-driver from MACHINE_HWCODECS
media-driver is the newer and supported driver and should be used
instead. Supported platforms list is updated with each release in the
notes available here:

https://github.com/intel/media-driver/releases

Old platforms that need the old driver should override or extend
MACHINE_HWCODECS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-23 23:19:39 +08:00
Anuj Mittal
2e70694b20 conf/machine: use a weaker operator to set SERIAL_CONSOLES
We should be able to over-ride this when appropriate in a layer or
local.conf.

Fixes [YOCTO #14109]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-28 23:49:35 +08:00
Anuj Mittal
ed7311e7ca conf: fix recipe name for libva-utils
The name is libva-intel-utils and not libva-utils-intel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-20 13:29:00 +08:00
Anuj Mittal
4958cf0852 opencl-clang: add recipe for LLVM 11
Point to latest for llvm 11 branch as there's no official release yet.
And, pick the version of opencl-clang based on LLVMVERSION.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-15 11:56:38 +08:00
Anuj Mittal
70d3ae20a2 libva-intel-utils: add recipe
We need a later version of libva than what is available in oe-core for
the media components.

Create our own copy of the recipe and include it only when someone has
included one of meta-intel MACHINEs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-07 16:07:27 +08:00
Anuj Mittal
dbae24f5bb libva-intel: add recipe
We need a later version of libva than what is available in oe-core for
the media components.

Create our own copy of the recipe and include it only when someone has
included one of meta-intel MACHINEs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-07 16:07:27 +08:00
Naveen Saini
452634a53a opencl-clang: drop llvm9/clang9 support
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-07-22 12:32:46 +08:00
Naveen Saini
c248917f50 libva-utils-intel: drop recipe
libva-utils in oe-core moved to latest release, so no need
to carry in meta-intel anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-18 11:38:24 +08:00
Naveen Saini
bc9973a90d libva-intel: drop recipe
libva in oe-core moved to latest release, so no need to
carry in meta-intel anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-18 11:38:24 +08:00
Naveen Saini
517c9b2c50 opencl-clang: add recipe for 9.0.0 as well
opencl-clang project release branches links to
different LLVM versions. So, in order to use latest igc version
with both clang 10.x and 9.x, added seprated recipes.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-27 16:23:50 +08:00
Anuj Mittal
259c94cc31 linux-intel/4.19: remove
We will maintain only the 5.4 kernel for dunfell LTS. Switch alt-cfg to
using v5.4.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-27 09:22:54 +08:00
Anuj Mittal
cbe1fcef76 intel-skylake-64: add it to dpdk COMPATIBLE_MACHINE
Enables it to be built for this MACHINE value.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-20 10:09:04 +08:00
Naveen Saini
ee68102442 libva-utils-intel: keep upgraded libva-utils version to meta-intel MACHINE specific
Make sure that we use the upgraded version of libva-utils
only when using MACHINE value from meta-intel.
For all other cases, libva-utils from oe-core should be used.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:46 +08:00
Naveen Saini
67f781be89 libva-intel: keep upgraded libva version to meta-intel MACHINE specific
Make sure that we use the upgraded version of libva
only when using MACHINE value from meta-intel.
For all other cases, libva from oe-core should be used.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:46 +08:00
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
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
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