Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
This also sets the *_LLVM_RELEASE vars in amd-common-configurations.inc
accordingly.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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 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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
We've moved on to LLVM 3.9.1 so this is no
longer needed.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This fixes the patch application in accordance with the
upstream updates to the same script.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
|
|
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>
|
|
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>
|
|
Fixed upstream
http://cgit.openembedded.org/openembedded-core/commit?id=fa541362e2d2cc0494a86a413b7b52dfe3eee908
This reverts commit c5f7d77fc6fec871e7aa0c1756d8a662f775b16f.
|
|
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>
|
|
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>
|
|
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>
|
|
The changes have been incorporated into mainstream so
drop the unnecessary append.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
- 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)
|
|
amdfalconx86: provide mechanism for enabling gaming components
|
|
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>
|
|
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>
|
|
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
|
|
This has been removed from poky so we no longer reference it.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
|
|
|
|
|
|
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
|
|
|
|
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
|
|
|
|
This reverts commit 35ca7c8a7ca4d0d75837011964c1871cbf2e17d8.
|
|
|
|
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)
|
|
The changes have been made upstream so drop patches
whose application will now fail.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|