aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)Author
2018-04-24Merge remote-tracking branch 'morty' into 'master'Awais Belal
2018-04-19Merge pull request #517 from abelal/amd_spectre_kaiserWade Farnsworth
AMD Spectre/Meltdown Upstream backports
2018-04-18packagegroup-multimedia-risky: fix license usageAwais Belal
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>
2018-04-17mpv: align with upstreamAwais Belal
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>
2018-04-16systemd/udev-hwdb: fix postinst intentionAwais Belal
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>
2018-04-16libomxil: fix postinst intentionAwais Belal
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>
2018-04-13gstreamer1.0-vaapi: drop changes that are not necessaryAwais Belal
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>
2018-04-13grub-efi: drop changes not needed anymoreAwais Belal
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>
2018-04-13archive-release: use oe.utils.str_filter_outAwais Belal
oe_filter_out has been deprecated. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-13layer.conf: add LAYERSERIES_COMPATAwais Belal
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>
2018-04-12DRM/hotplug: fixed udev ruleArsalan H. Awan
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>
2018-04-09Merge pull request #513 from abelal/dpdk_snowyWade Farnsworth
DPDK + Strongswan for Snowy Owl
2018-04-04linux-yocto_4.9: move upstream backports to common layerAwais Belal
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>
2018-04-03linux-yocto: move 4.9 recipe to commonAwais Belal
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>
2018-03-30Revert "qemu: fix builds with recent glibc"Awais Belal
This reverts commit e49d7b4d2e58ec381f059ca87539857abf16d389.
2018-03-30common: drop packages merged mistakenlyAwais Belal
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>
2018-03-30Revert "fontconfig: Fix namespace conflicts with glibc"Awais Belal
This reverts commit 2b7369b74af7b8c533fb061a5856ddb029ec0ff8.
2018-03-30Revert "qtbase-native: use the bundled pcre"Awais Belal
This reverts commit 653568002d28efdc388d7ccc09b7c82310b7b3f2.
2018-03-30Merge remote-tracking branch 'morty' in 'master'Awais Belal
2018-03-29console-image: install strongswan for snowyowlAwais Belal
Install the strongswan package conditionally for the snowyowl BSP only. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29console-image: include dpdk components for snowyowlAwais Belal
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>
2018-03-29dpdk: fix deployment pathsAwais Belal
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>
2018-03-29dpdk/ccp/axgbe: fix shared libs buildAwais Belal
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>
2018-03-29dpdk: integrate support for AXGBE driverAwais Belal
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>
2018-03-29dpdk: enable support for snowyowl and CCP driversAwais Belal
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>
2018-03-28mesa: enable dri3 for v1000Awais Belal
This enables dri3 under Mesa for v1000. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-19initrdscripts: update patches to align with upstreamAwais Belal
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>
2018-03-07xserver-xf68-config: fix various indentation issuesAwais Belal
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>
2018-03-07xserver-xf86-config: enable TearFree for AMDGPUAwais Belal
This enables the Xorg TearFree option for the AMDGPU to cope with various tearing issues. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-07xserver-xf86-config: provide generic mechanism to set Xorg configsAwais Belal
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>
2018-03-05common/xrandr: fixed scale issueArsalan-Awan
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>
2018-02-28Merge pull request #507 from Arsalan-Awan/fixed-build-with-dbg-pkgsWade Farnsworth
Fixed build with EXTRA_IMAGE_FEATURES "dbg-pkgs"
2018-02-28amd-common-configurations.inc: set overhead to 1.1 to support dbg-pkgsArsalan-Awan
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>
2018-02-27qemu: fix builds with recent glibcAwais Belal
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>
2018-02-27fontconfig: Fix namespace conflicts with glibcAwais Belal
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>
2018-02-23Merge pull request #502 from abelal/4.4Wade Farnsworth
linux-yocto: add 4.4 recipes
2018-02-23Merge pull request #503 from abelal/qt-pcreWade Farnsworth
qtbase-native: use the bundled pcre
2018-02-23qtbase-native: use the bundled pcreAwais Belal
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>
2018-02-23linux-yocto: add 4.4 recipesAwais Belal
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>
2018-02-19Merge remote-tracking branch 'origin/morty' into masterAwais Belal
2018-01-18libva: upgrade to 1.7.3Awais Belal
This upgrades libva to 1.7.3 to align with requirements. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-01-16boost: fix build failure due to pchAwais Belal
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>
2018-01-11commoon/mesa: move to 17.3.xAwais Belal
Upstream has moved to so we need to follow suit. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-29grub-efi: add RDEPENDS on efibootmgrAwais Belal
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>
2017-12-18cleanup: drop all unnecessary patch filesAwais Belal
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>
2017-12-18gstreamer1.0-omx: update to 1.12Awais Belal
Update according to upstream changes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-18autogen-native: drop appendAwais Belal
autogen-native is not being used upstream so drop the append as well. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-15mesa: move to 17.2Awais Belal
Adjust according to upstream changes for mesa. The version now used is 17.2 Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-15llvm: drop v3.9 and move to git based recipe for 5.0Awais Belal
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>
2017-12-14grub: drop changes not needed anymoreAwais Belal
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>