aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-core
AgeCommit message (Collapse)Author
2019-08-28common: rename to meta-amd-bspArsalan H. Awan
This renames common layers to meta-amd-bsp as it is going to hold all the bsps in it in the following commits. This also changes the layer title in layer.conf from "amd" to "amd-bsp" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-08-27common/packagegroup-multimedia-risky.bb: refactor dependency nameArsalan H. Awan
This renames the packagegroup-multimedia-risky RDEPENDS libfaad to faad2 as per the changes in the faad2 recipe upstream. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-08-14common/llvm: upgrade llvm to v9.0.0Arsalan H. Awan
This also sets the *_LLVM_RELEASE vars in amd-common-configurations.inc accordingly. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-07-19common/core/systemd: remove backported patch which exists in sourceArsalan H. Awan
This removes a patch that was backported from upstream which is already a part of the source code of systemd v241 that we are using in warrior branch. Associated commit in systemd git repo (branch: v241-stable): cde942f61bf231ea4a0d50780cdb4e744458daeb Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-07-19common/core/llvm: upgrade to v8.0.0 according to warrior branchArsalan H. Awan
This upgrades llvm from v7 to v8.0.0 according to yocto warrior branch recipes. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-07-18common: remove mentor mel specific tools-testapps configsArsalan H. Awan
This removes the mentor mel specific tools-testapps configs in preparation for yocto based warrior branch Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-07-18common: remove mentor mel specific tools-profile configsArsalan H. Awan
This removes the mentor mel specific tools-profile configs in preparation for yocto based warrior branch Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-07-18common: remove mentor mel-lite gcc8 support bitsArsalan H. Awan
This removes the mentor mel-lite distro specific codebench gcc8 support bits in preparation for yocto based warrior branch Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-18mesa/llvm: move to common layer from r1000Awais Belal
All targets are being aligned on the same mesa and llvm versions so move configurations to the common layer. This upgrades llvm to v7 and mesa to 19.0.0 for all platforms. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-25systemd: fix mmc device dissectionAwais Belal
The systemd gpt autogenerator dissects each device for partition information. MMC devices having special partition layout containing fixed boot0/1 and rpmb partitions cause a failure during dissection and during boot we get: systemd-gpt-auto-generator[102]: Failed to dissect: Input/output error The fix is an upstream backport. https://github.com/endlessm/systemd/pull/81 Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16coreutils: fix build with glibc 2.28+Awais Belal
This backports a patch from coreutils 8.30 which fixes the build with glibc 2.28+ tools. Needed for mel lite. Signed-off-by: Awais Belal <awais_belal@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-04-24Merge remote-tracking branch 'morty' into 'master'Awais Belal
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-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-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-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>
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-12Merge morty into masterAwais Belal
2017-12-06Fixed display hotplug for single and multiple displays.Arsalan-Awan
Added MULTI_DISPLAY_MODE option to set display mode across multiple displays when hotplug events occur. Allowed options for MULTI_DISPLAY_MODE are: * auto * mirrored * extended-h * extended-v Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2017-06-15Merge morty into masterAwais Belal
2017-06-14common: improve llvm versioningAwais Belal
This is mainly targeted against master branch builds. Doing it now has the advantage that the change makes it in for any releases prior to moving to the master branch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-02-10Merge branch 'morty'Drew Moseley
2017-02-10llvm3.9.1: fix flags reporting through host llvm-configAwais Belal
Now that we're on a recipe specific sysroot mechanism reporting the sysroot from any of the compiler/linker flags through llvm-config would result in breakage of the package depending on LLVM as its sysroot would point to LLVM's sysroot at the end of the day. We strip out the --sysroot enteries from the BuildVariables.inc to avoid the above mentioned scenario and additionally adjust our CXX and LDFLAGS to avoid duplicating the sysroot variable across the build. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-02-10llvm3.7: drop supportAwais Belal
We've moved on to LLVM 3.9.1 so this is no longer needed. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-02-08initramfs-live-install-efi: fix patch according to upstream changesAwais Belal
This fixes the patch application in accordance with the upstream updates to the same script. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-31Merge branch 'morty'Drew Moseley
2017-01-31llvm3.9.1: fix RPM building and multiple package availabilityAwais Belal
We'll have to delete the libLLVM.so here because poky/meta-oe allows multiple versions of LLVM available at the same moment so it will clash. Also, in rpm packaging -<version> is appended to every package. This creates a clashing target between libllvm3.9.1-llvm and libllvm3.9.1-llvm-3.9.1 when manual package splitting is done through the recipe. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-27llvm3.9.1: move to Ninja based buildsAwais Belal
LLVM wikis cite Ninja based builds more widely than CMake based builds and there have been instances where CMake builds were thought of being broken and not working as expected. e.g. https://llvm.org/bugs/show_bug.cgi?format=multiple&id=23328 The move to Ninja should help us to resolve all sorts of intermittent build failures we're seeing with LLVM builds. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-12Revert "core-image-minimal-*: allow using extrausers functionality"Awais Belal
Fixed upstream http://cgit.openembedded.org/openembedded-core/commit?id=fa541362e2d2cc0494a86a413b7b52dfe3eee908 This reverts commit c5f7d77fc6fec871e7aa0c1756d8a662f775b16f.
2017-01-03llvm: create recipe for 3.9.1Sanjay R Mehta
Upgraded llvm from 3.7.1 to 3.9.1 for AMD BSPs. The recipe has been created from scratch taking and merging changes from meta-oe because there are things that cannot be overriden through appends or any other cleaner mechanism. mesa has been adjusted accordingly as well. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-12-28core-image-minimal-*: allow using extrausers functionalityAwais Belal
This fixes the do_rootfs issues that come up while using the extrausers functionality. The extrausers class requires shadow as well as base-passwd to leverage the functionality of the class. In case of initramfs images the PACKAGE_INSTALL variable is overriden in a way that the additions done through extrausers bbclass are rendered useless. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-30amdfalconx86/conf: split INCLUDE_GAMING_COMPONENTSAdeel Arshad
We have analyzed that the configuration variable INCLUDE_GAMING_COMPONENTS, is no longer valid as the components it include are not particularly specific to gaming. So we have splitted it into two configuration variables INCLUDE_VULKAN and INCLUDE_CODEXL. Signed-off-by: Adeel Arshad <adeel_arshad@mentor.com>
2016-11-08psplash: drop unneeded appendAwais Belal
The changes have been incorporated into mainstream so drop the unnecessary append. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-04Support CodeXL Remote Agent and dependent componentsMichael
- AMDTRemoteDebuggingServer - VulkanEnv - VulkanServer - CapturePlayer - GPUPerfServer - AMDTPowerProfilingDrivers - CodeXLGpuProfiler - CodeXLPwrProf kernel module - Build Teapot and ClassicMatMul examples - Build using bitbake environment for tinyxml, libGLEW, and Boost Signed-off-by: Adeel Arshad (adeel_arshad@mentor.com) Signed-off-by: Michael Powell (michael_powell@mentor.com)
2016-09-20Merge pull request #348 from abelal/gaming_compsMichael Powell
amdfalconx86: provide mechanism for enabling gaming components
2016-09-20packagegroup-multimedia-risky: fix license checksumAwais Belal
The license text for MIT in the common licenses has been updated. This generates a QA error regarding md5sum which is now fixed. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-09-20amdfalconx86: provide mechanism for enabling gaming componentsAwais Belal
The newly added LunarG SDK components require a mechanism to be pushed to target RootFS as well as to the ADE that is being generated. The same inclusion handling should be made available for any other gaming components such as CodeXL that are integrated. We now define a packagegroup (packagegroup-gaming) to implement this mechanism and provide a variable in local.conf for amdfalconx86 to enable these components. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-08-02init-install: Adapt patch for upstream changesDrew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-07-26libmad: Remove references to libmadDrew Moseley
This has been removed from poky so we no longer reference it. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-07-12Merge branch 'jethro'Drew Moseley
2016-07-08Merge branch 'cedar' into jethroDrew Moseley
2016-07-08core-image-base: Do not install mesa-demos in console based image.Drew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-06-23amd-multimedia: change to amd-commonMichael
2016-05-16meta-amd/common: llvm updatesArindam Nath
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com> Signed-off-by: Arindam Nath <arindam.nath@amd.com>
2016-04-14Merge branch 'jethro'Drew Moseley
2016-04-13Revert "systemd-serialgetty: force baud rate on SERIAL_CONSOLES"Drew Moseley
This reverts commit 35ca7c8a7ca4d0d75837011964c1871cbf2e17d8.
2016-04-08Merge branch 'cedar' into jethroDrew Moseley
2016-04-01Revert "systemd-serialgetty: force baud rate on SERIAL_CONSOLES"Awais Belal
This reverts commit 35ca7c8a7ca4d0d75837011964c1871cbf2e17d8. The patch has been accpeted upstream. http://cgit.openembedded.org/openembedded-core/commit/?id=b54b73834e73d55de1038b55d0a4d7f49cda52d0 Signed-off-by: Awais Belal (awais_belal@mentor.com)
2016-03-31initrdscripts: drop changes merged upstreamAwais Belal
The changes have been made upstream so drop patches whose application will now fail. Signed-off-by: Awais Belal <awais_belal@mentor.com>