aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)Author
2018-07-17Merge remote-tracking branch 'morty' into sumoAwais Belal
2018-07-06amd-common-configs: add x11 to MACHINE_FEATURES for GPU targetsAwais Belal
The new MEL structure requires x11 in machine configurations for targets that require X11/GUI based images otherwise x11 is dropped from the distro. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-07-05Merge pull request #533 from ArsalanHAwan/amd-features-elm-imgsWade Farnsworth
Created IMAGE_FEATURES to be used by AMD BSPs removing all img.bbappends
2018-07-04linux-yocto-4.9: backport speculation updates till 4.9.111Awais Belal
This backports the speculation related patches up till the 4.9.111 version from the linux-stable tree. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-22AMD-Features/graphics: added dependency on IMAGE_FEATURES x11-baseArsalan H. Awan
Graphics components to depend on "IMAGE_FEATURES" > "x11-base" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22AMD-Features/multimedia: added IMAGE_FEATURE dependencies on GSTREAMER_PKGSArsalan H. Awan
"gstreamer1.0-meta-x11-base" to depend on "IMAGE_FEATURES" > "x11-base" "gstreamer1.0-meta-audio" to depend on "IMAGE_FEATURES" > "tools-audio" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22AMD-Features/networking: added configurable var DPDK_PKGSArsalan H. Awan
defaults to no package included snowyowl adds its own pkgs Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22AMD-Features: GSTREAMER_PKGS should be configurable by other machinesArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22AMD-Features: feature component var names to follow _PKGS conventionArsalan H. Awan
This makes configurable feature component variables to use a standardized naming convention i.e. should end with _PKGS instead of _COMPONENTS or _PACKAGES Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22Created IMAGE_FEATURES to be used by AMD BSPs removing all img.bbappendsArsalan H. Awan
This defines AMD Features that can be added as EXTRA_IMAGE_FEATURES to different machines based on what is supported on a machine. This adds a broad flexibility and control over packages being installed on a machine for any image without needing to create bbappends for all the images that are to be supported. > Each feature can contain packages and packagegroups as its components. > Feature components can be dependent on DISTRO, IMAGE_FEATURE, or any variable in general. e.g.: Components of "amd-feature-graphics" may be dependent on "x11-base" as an IMAGE_FEATURE. Some packages may only be included for a specific DISTRO. Some packages may only be installed if user allows them in local.conf etc. > Each machine must add the required features to EXTRA_IMAGE_FEATURES in its own machine config file. > All required features must be added to a machine regardless of the image being built, but make sure that feature components are included based on dependency conditions. e.g. say "amd-feature-graphics" was added to a machine that supported graphics, but components of this feature must not be installed on an image that is only console based such as "core-image-base", therefore such components must depend on an IMAGE_FEATURE that is based on graphics such as "x11-base". > Each machine can also override feature components in its own machine config when adding the feature to EXTRA_IMAGE_FEATURES. e.g.: a feature may be added to a specific machine with minimal (or extended) packages based on requirement. Features are classified as: * amd-common-pkgs : Common pkgs to be added to all machines * amd-feature-multimedia : Multimedia packages (it does not depend on graphics because a machine may not have a GUI but could play videos and sounds from console) * amd-feature-graphics : Graphics packages * amd-feature-networking : Networking packages * amd-feature-debug-profile : Debugging and Profiling tools * More features may be added later as needed Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-06-22matchbox-keyboard: fix warning for scriptlet failureAwais Belal
The GTK module scriptlet fails to run as it utilizes qemu which is currently not working for our BSPs due to lack of a few instructions emulation on the qemu platform and warnings are generated although the scriptlet is deffered till first boot. The following warning is seen: WARNING: Intentionally failing postinstall scriptlets of ['matchbox-keyboard-im', 'eudev-hwdb'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} (). We now defer the scriptlet forcefully till the first boot to cover up for the warning. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-14linux-yocto-4.9: backport speculation updates till 4.9.107Awais Belal
This backports the speculation related patches up till the 4.9.107 version from the linux-stable tree which includes mitigation for Spectre v4 as well. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-14linux-yocto-4.9: KVM backports for Spectre/Meltdown up till 4.9.88Awais Belal
The upcoming mitigations for Spectre/Meltdown are addressed in a way that a patch contains fixes on a topic for both normal/KVM running modes. If we do not backport the earlier KVM patches the conflicts will be very hard to resolve. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-01Merge remote-tracking branch 'origin/morty' into masterAwais Belal
2018-05-22linux-yocto/rt: adjust spectre/meltdown backportsAwais Belal
This includes spectre/meltdown backports for the RT kernel as well by moving the patches fragment to the common include. A patch that conflicts with RT changes has been taken out of the backport set and added separately for both type of kernels after adjusting accordingly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-18snowyowl/linux-yocto-rt: make use of the common fragmentsAwais Belal
This moves the parts that can be utilized through the common layer for the RT kernel and generalizes the support. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-16linux-yocto-rt_4.9: move base recipe to common layerAwais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-16linux-yocto_4.9: further unify the support using the common layerAwais Belal
This will allow for an easier maintenance procedure such that the common fragments can be handled more seamlessly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-10linux-yocto/4.9: fix bpf backports for spectre/meltdownAwais Belal
A commit was missed during backports which generates failure during build. This now picks that commit up as well and updates the series appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-09Merge pull request #521 from abelal/add_amdvlkWade Farnsworth
Add amdvlk for v1000
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-18core-image-sato: deploy amdvlk conditionally for v1000Awais Belal
The AMD Vulkan ICD for v1000 is now integrated in the layer so deploy it whenever INCLUDE_VULKAN is set. Signed-off-by: Awais Belal <awais_belal@mentor.com>
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>