aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)Author
2017-04-21libdrm: Add vram memory info,Sanjay R Mehta
Add new seamaphore support, Add uvd instance info Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-04-21mesa: Fix for regression failureSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-03-31steppeeagle: disable DEBUG_PREEMPT and DEBUG_RODATAAwais Belal
These configurations conflict with KGDB debugging in some cases and generate stack dumps in various other situations. The stack dumps related to mwaitx are properly fixed through https://patchwork.kernel.org/patch/8549611/ but the mentioned patch is only available for Yocto kernel 4.8 and we don't use these so it is much better to avoid the problem with this for the time being rather than backporting the patch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-03-20Merge pull request #414 from rsanjaym/mortyWade Farnsworth
mesa: Adding bug fixes for tesselation and unigine heaven issues
2017-03-20linux-yocto: fix I2S audio hangAwais Belal
This fixes the kernel and amdgpu hang when I2S audio is enabled through the BIOS. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-03-13mesa: Adding bug fixes for tesselation and unigine heaven issuesSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-02-22amd-common-configurations: drop grub and partedAwais Belal
These are installed as needed through the initramfs bits where these are actually required. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-02-10Merge pull request #408 from mwpow3ll/intamddet-1788Drew Moseley
codexl: Output versioned libs
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-09codexl: Output versioned libsMichael Powell
to resolve shlib dependency warnings
2017-02-02Merge pull request #406 from abelal/gst-vaapiDrew Moseley
GStreamer VAAPI updates
2017-02-02gstreamer1.0-plugins-base: drop unneeded video conversion settingsAwais Belal
This is no longer required after the upgrade to the latest gstreamer-vaapi component. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-02-02gstreamer-vaapi: upgrade to 1.8.3Awais Belal
Upgrade gstreamer1.0-vaapi to 1.8.3 as all the other plugins are on the same version and this contains several new fixes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-02-02gstreamer-vaapi: rename recipe according to upstream conventionsAwais Belal
The recipe naming for different gstreamer components is pretty well defined upstream, where gstreamer1.0- is used as a prefix for all components. This is now corrected for our in house gstreamer vaapi recipe. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-31Merge pull request #403 from abelal/llvm_ninjaDrew Moseley
llvm3.9.1: move to Ninja based builds
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-30Merge pull request #404 from abelal/v4l-utilsDrew Moseley
v4l-utils: add dependency on libgl and libglu when opengl is enabled
2017-01-30Merge pull request #402 from drewmoseley/codexl-parallelismMichael Powell
codexl: Resolve race conditions with mkdir.
2017-01-27v4l-utils: add dependency on libgl and libglu when opengl is enabledAwais Belal
The utility v4l2gl requires gl.h and libgl + libglu libraries for building cleanly. We need to add an explicit dependency here to avoid any sort of races although the configure script checks for availability of the libraries by default but this can race on the header (gl.h) availability on the sysroot causing: | ../../../v4l-utils-1.10.1/contrib/test/v4l2gl.c:27:19: fatal error: GL/gl.h: No such file or directory | #include <GL/gl.h> | ^ | compilation terminated. during do_compile. 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-19codexl: Resolve race conditions with mkdir.Drew Moseley
There is an apparent race condition with the mechanism used for making directories. There are corner cases where the compile step is invoked before the output objdir is created. This forces all compile steps to be prepended with a mkdir command. This may be more than is needed but does seem to resolve the current races. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2017-01-19archive-release: do not deploy ISO to installerAwais Belal
This ensures that ISO images will not be included in the prebuilt binaries when they are deployes to the installer even when iso is present in IMAGE_FSTYPES. The earlier mechanism only handled IMAGE_EXTENSION variable. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-18amd-common-configurations.inc: fix toaster build artifactsAwais Belal
The Toaster build artifacts collection mechanism depends on the IMAGE_FSTYPES variable to identify if required build artifacts are present. The Toaster GUI only shows the build artifacts if they are detected properly. We now add the required image types explicitly for AMD BSPs so Toaster shows the build artifacts as intended. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-11Merge pull request #397 from abelal/mpv_luaDrew Moseley
mpv: disable lua support
2017-01-11mpv: disable lua supportAwais Belal
We support MEL builds on 32 bit hosts as well but luajit which is required when lua support is enabled in mpv cannot be built on a 32 bit host when the target is 64 bit so we disable the lua support. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-03kernel: Add support for vulkan semaphore and cache raster config valuesSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
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>
2017-01-03mesa: upgrade to 12.0.3Sanjay R Mehta
This upgrades mesa to 12.0.3 from 11.0.8. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-01-03libffi: fix deployment of dev headersAwais Belal
libffi headers are checked by packages which depend on it so we need to provide these on the sysroot. Signed-off-by: Awais Belal <awais_belal@mentor.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-12-20dosfstools: Remove the redundant patchAhsan Hussain
Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2016-12-16Merge pull request #386 from abelal/update_grubDrew Moseley
Update grub and grub-efi
2016-12-16Merge pull request #388 from drewmoseley/cleanupDrew Moseley
cml1-config: Remove unused bbclass file
2016-12-15codexl: enabling automated strip of debug symbolsAdeel Arshad
Enable automated strip of debug symbols from the binaries and shared objects. Couple of Workarounds applied; 1- shared objects(.so) mode is set to executable, so that these get strip as well, otherwise auto strip will leave these as it is. 2- example program binaries mode is set to non executable in do_install to skip the auto strip because these symbols will be required during the debugging of the examples, after do_package their mode is set back to executable. It reduces codexl remote agent footprint from 160MB to 40MB. Signed-off-by: Adeel Arshad <adeel_arshad@mentor.com>
2016-12-14cml1-config: Remove unused bbclass fileDrew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-12-13grub*: move to git based recipesAwais Belal
This enables git based grub recipes to be used for AMD BSPs. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-12-13grub-efi: integrate recipe for grub-efi_gitAwais Belal
This actually copies over the grub-efi_2.00 recipe and makes simple modifications so it can use git as source. This will give us the chance to use the latest and greatest grub/grub-efi on our platforms. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-12-08Merge pull request #385 from abelal/fix_se_grubDrew Moseley
grub2: fix some quirks and div by zero
2016-12-08grub2: fix some quirks and div by zeroAwais Belal
Rather than erroring out on a single attempt while terminating EFI services, make a few retries because such quirks are found in a few implementations. Also fix a div by zero issue in the same framework which causes an infinite reboot on the target. Both patches included here are backports. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-12-07Merge pull request #384 from abelal/fix_var_expansionDrew Moseley
Fix var expansion and override
2016-12-07amd-common-configurations: use sane defaults for settingsAwais Belal
If a variable is not defined at all bitbake tends to use the literal value which causes failures and unintended settings in various cases. This now uses a very weak default to cope with this problem. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-12-07Merge pull request #382 from MentorEmbedded/revert-374-bug-fixesAwais Belal
Revert "python3: fix for multilib environment"
2016-12-07core-image-sato: assign default valuesAdeel Arshad
VULKAN_COMPONENTS, CODEXL_COMPONENTS needs to be assign the default values for the machine other than amdfalconx86, otherwise it generates a parsing error. Also only populate CODEXL_COMPONENTS for amdfalconx86 machine, as we do not support it for other machines. Signed-off-by: Adeel Arshad <adeel_arshad@mentor.com>
2016-12-06Revert "python3: fix for multilib environment"Michael Powell
2016-12-06core-image-sato: replace bb.utils.to_boolean with bb.utils.containsAdeel Arshad
bb.utils.to_boolean generates the parsing error when the variable it is evaluating is not defined, so replace it with bb.utils.contains which handles this case correctly. Signed-off-by: Adeel Arshad <adeel_arshad@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-23Merge pull request #377 from mwpow3ll/codexl_fix_gcc5.xAwais Belal
codexl: fix build with gcc5.x
2016-11-23linux-yocto: pick up random optimizationsAwais Belal
This enables the chacha20 scheme of random number generator which is way more optimized and efficient from the legacy non-blocking pool. This helps providing a steady and more robust random mechanism which allows for better boot times and other positives. The included patch has been back ported from linux-yocto 4.8 tree and adjusted accordingly. Ref: https://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/drivers/char/random.c?h=standard/base&id=e192be9d9a30555aae2ca1dc3aad37cba484cd4a Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-18codexl: fix build with gcc5.xMichael
2016-11-17Merge pull request #376 from abelal/fix_codexl_gcc6Drew Moseley
codexl: fix build with gcc6