Age | Commit message (Collapse) | Author |
|
|
|
AMD Spectre/Meltdown Upstream backports
|
|
The correct way of using a license is through the common_licenses
from the meta layer so use that appropriately. This also silents
the warning
WARNING: packagegroup-multimedia-risky-1.0-r0 do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Drop layer specific recipe and leverage the upstream
one which is more recent. This would also make the
maintenance feasible.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The intention with this post-installation script is to
run it on the target at first boot so handle it
accordingly otherwise it will only generate warnings
on build time.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The intention with this post-installation script is to
run it on the target at first boot so handle it
accordingly otherwise it will only generate warnings
on build time.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
gstreamer1.0-vaapi is now provided through oe-core so
we do not have to maintain an outdated version ourselves.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Between all the merges and reverts we mixed up a
few things and ended up with a wrong configuration
for MEL builds. This drops the unneccesary bits to
fix such things.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
oe_filter_out has been deprecated.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This is now an upstream requirement for compliance
and throws warnings on the console if not handled
appropriately.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The udev rule for hotplug was getting triggered multiple times
at system boot-up even when there was no occurance of a hotplug event.
This generates a huge stream of DRM events at startup, observable in
kernel logs, resulting in system boot-up delays.
This commit fixes the udev rule by making use of the HOTPLUG uevent
environment variable that is set by the uevent drm_sysfs_hotplug_event
generated by DRM sysfs class at the time of a hotplug:
kernel_source/drivers/gpu/drm/drm_sysfs.c
That way, the udev hotplug rule is only triggered at the time of a
DRM hotplug, as it should.
Fixes issue: INTAMDDET-2306
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
DPDK + Strongswan for Snowy Owl
|
|
This moves the upstream backports to the common layer
and uses an append to apply these so the same could
be used for other common changes.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The kernel 4.9 recipe is being used for v1000 as well
as snowyowl. Move the base recipe to common and then
use appends for BSP overrides.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This reverts commit e49d7b4d2e58ec381f059ca87539857abf16d389.
|
|
This drops some packages which were merged unintentionally
under
https://github.com/MentorEmbedded/meta-amd/commit/2b7369b74af7b8c533fb061a5856ddb029ec0ff8
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This reverts commit 2b7369b74af7b8c533fb061a5856ddb029ec0ff8.
|
|
This reverts commit 653568002d28efdc388d7ccc09b7c82310b7b3f2.
|
|
|
|
Install the strongswan package conditionally for
the snowyowl BSP only.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This installs various dpdk components on the target
RFS conditionally for snowyowl BSP only at the
moment.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This forces the build system to deploy build artifacts
such as examples and tests under /usr/share/dpdk/.
Earlier the output would populate directly under
/usr/share which is not very convenient for identifying
what the package actually provides.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This fixes shared library builds for CCP and
AXGBE drivers and provides a way of selecting
the sort of build user requires however there
are some caveats of using a shared mode build
and this has been documented with the change.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This enables support for the AXGBE driver found on the
snowyowl BSP. The patches have been backported from the
upstream dpdk project.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This enables the dpdk framework for the snowyowl
BSP and backports the patches for the crypto hardware
CCP from the main dpdk project.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This enables dri3 under Mesa for v1000.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This updates a few internal patches that we have for
initramfs installation scripts to align with the
upstream updates. Otherwise the do_patch phase for
the intended packages fails to go through cleanly.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Cleaned up indentation issues as the file was pretty
messed up. The OE guidelines suggest using 4 spaces
and no tabs.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This enables the Xorg TearFree option for the
AMDGPU to cope with various tearing issues.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Various Xorg configs are needed to be set in different scenarios
and can become painful when trying to configure one-by-one.
This now provides a way to simply populate an array and
use that to populate as many values as required.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Whenever scale value is increased when it is between 0.0 - 1.0
and is kept within 0.0 - 1.0 range, the display does not expand
to fullscreen. It rather becomes smaller and leaves blank spaces on
the right and bottom sides. And the following error message shows up:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 36
Current serial number in output stream: 38
Before xrandr attempts to apply the transformation matrix requested
by "scale", "transform" or "scale-from" options, it disables the
CRTCs for which the transformed image's dimensions are larger than the
target display's resolution/mode. But, when the image is smaller, it
does not disable the CRTCs, and proceeds with applying the
transformation (involves framebuffer dimension changes). This works well
for all the scale values and transitions except for the above mentioned
transitions.
This patch fixes such issues!
Issue: INTAMDDET-2189
Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
|
|
Fixed build with EXTRA_IMAGE_FEATURES "dbg-pkgs"
|
|
With dbg-pkgs added to EXTRA_IMAGE_FEATURES, build fails at do_bootimg with
an error that ROOTFS_SIZE exceeds 4GB.
Post install scripts and the package management system use disk space inside
an overhead area (which defaults to "1.3"). We will reduce it to 1.1 to
allow build with "dbg-pkgs". Otherwise ROOTFS_SIZE exceeds 4GB.
(Not possible for FAT fs used for HDDIMG)
where:
ROOTFS_SIZE = (actual-rootfs-dir-size * overhead-factor) + rootfs-extra-space
The following can be used to add extra available space in rootfs as required:
IMAGE_ROOTFS_EXTRA_SPACE_append = " + <size-in-kilobytes>"
Also, when using the above variable to add extra space, it may cause an error
similar to this:
The initramfs size 294088(K) overrides INITRAMFS_MAXSIZE: 131072(K)
You can set INITRAMFS_MAXSIZE a larger value. Usually, it should
be less than 1/2 of ram size, or you may fail to boot it.
You may need to adjust INITRAMFS_MAXSIZE variable to fix that, or as a
workaround, you could set it to an empty string, to avoid such error, as:
INITRAMFS_MAXSIZE = ""
Issue: INTAMDDET-2285
Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
|
|
This backports a fix for hosts using recent glibc,
the support is backported from
http://cgit.openembedded.org/openembedded-core/commit/?id=b1b7a46f0febe7ac17ec46ecdf88b4120a7d75c4
Upstream morty already has this fixed so we do a
conditional backport for MEL releases.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This is essentially a backport of
http://cgit.openembedded.org/openembedded-core/commit/?id=7687234ff0f36ae943ca17624da9cdd8da0da83b
for MEL releases so the patch is included
conditionally.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
linux-yocto: add 4.4 recipes
|
|
qtbase-native: use the bundled pcre
|
|
Backported from
https://patchwork.openembedded.org/patch/143844/
not yet available on morty and should be dropped
when it is merged back to master.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Few of the AMD BSPs currently only support kernel 4.4 and the
same version has been dropped by upstream yocto. In order to
address the Meltdown/Spectre changes that approach is actually
feasible but the AMD BSPs would fail to build in this scenario.
Add 4.4 kernel recipes for the time being to at least building
of images cleanly up until a decision is taken on which kernel
to support for the longer run.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
|
|
This upgrades libva to 1.7.3 to align with requirements.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This backports
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-support/boost?id=9f30160f8623aebe8459e5b155d01397ff0f13b3
The failure occurs due to a race condition so it is
hard to reproduce reliably but it is seen every now
and then.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Upstream has moved to so we need to follow suit.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The grub-install mechanism for grub-efi requires efibootmgr
at runtime so add a dependency accordingly.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
During update/upgrade/removal of packages/recipes
we missed out patch files here and there which are
not being used anywhere in the layer so delete
all such patch files.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Update according to upstream changes.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
autogen-native is not being used upstream so drop
the append as well.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Adjust according to upstream changes for mesa. The
version now used is 17.2
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Upstream now uses a git based recipe for llvm which
is currently providing llvm5.0 so drop v3.9 and
move to git based recipe for latest updates.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The grub-git changes are not required anymore as
upstream has moved on to grub 2.02 which is what
we were following through grub-git.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|