Commit Graph

57 Commits

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

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

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

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

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

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

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-15 08:43:51 -07:00
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
Nitin A Kamble
367fd4758d meta-intel.inc: Remove kernel customization for poky-lsb images
This is handled in oe-core now, remove the redundant code.

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

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-02-20 13:32:33 -08:00
Nitin A Kamble
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