aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-03-18xserver-nodm-init: switch X to VT7 for all amdgpu platformsAwais Belal
Rather than applying the setting specifically to some BSPs we do this for all the amdgpu enabled targets. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-03-18ffmpeg: enable vaapi for amdgpu targetsAwais Belal
This simply enables the vaapi config of ffmpeg through the common layer depending conditionally on the amdgpu override so we don't have to specify the setting for separate BSPs. Signed-off-by: Awais Belal <awais_belal@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-03-18mpv: fix QA warningAwais Belal
This fixes WARNING: mpv-0.28.2-r0 do_populate_lic: Could not copy license file Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-03-15Merge pull request #604 from ArsalanHAwan/swu-failsafeAwais Belal
SWUpdate Failsafe Implementation
2019-03-15gstreamer1.0-vaapi: fix mesa driver whitelistAwais Belal
The gstreamer-vaapi plugins detect the driver by matching driver info with a whitelist. As Mesa updated its vaapi driver info the whitelist failed to work for the Mesa drivers. This fixes the whitelist by back porting an upstream patch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-03-14libdrm: move from r1000 to common (v2.4.96)Awais Belal
All platforms are being aligned on the same version of libdrm so moving it to common makes sense. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-03-13V1000 : RTQA1 update for amdvlkChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
2019-03-13libdrm : updated amdgpu ids fileChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
2019-03-13V1000 : enable CONFIG_HSA_AMD configChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
2019-03-13V1000 : amd firmware updateChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
2019-03-13amdgpu : RTQA1 2019 kernel patch backportedChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
2019-03-12v1000,r1000,amdfalconx86/local.conf: organize INCLUDE_<components>Arsalan H. Awan
To use a single description for all INCLUDE_<components> alongwith the supported <component> summary in each BSP's local.conf. This also helps to have a single place for all the configurable <components> in the local.conf instead of having huge paragraph for each <component> and having to scroll to find each <component>. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-11v1000/opencv: install only if INCLUDE_OPENCV is set to "yes"Arsalan H. Awan
This introduces var INCLUDE_OPENCV into local.conf to control the inclusion of OpenCV into the image. If user needs OpenCV, they can add it by setting INCLUDE_OPENCV = "yes" in the local.conf. This helps in keeping the image size smaller if user doesn't need it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-11v1000,r1000/opencl: install only if INCLUDE_OPENCL is set to "yes"Arsalan H. Awan
This introduces var INCLUDE_OPENCL into local.conf to control the inclusion of OpenCL into the image. If user needs OpenCL, they can add it by setting INCLUDE_OPENCL = "yes" in the local.conf. This helps in keeping the image size smaller as OpenCL consumes a lot of disk space. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-11v1000/opencv: add opencv library support and samplesArsalan H. Awan
This integrates the OpenCV library and samples based on C++ and Python APIs. The integrated samples contain various apps for image and video processing demonstration using OpenCV, including using image/video files as well as camera as input. The demos work best with the "graphics" and "multimedia" features enabled. Also, this removes v4l bits from OpenCV as we do not support Video4Linux. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-08swupdate/amd-wdt: do not stop wdt as swupdate implementation needs itArsalan H. Awan
Mentor SWUpdate as a part of its Failsafe Update mechanism implementation requires the WDT to keep running. So lets not disable it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-08swupdate/initrdscripts: integrate amd-wdt in GRUB cfg for SWU failsafeArsalan H. Awan
This alters the init-install-efi.sh script by integrating the AMD-WDT in GRUB cfg of MEL installation to implement SWUpdate Failsafe Update mechanism. The AMD Watchdog is started as soon as a menuentry is selected by calling the setup_wdt function. It sets the WDT timeout of 60s by default which can be changed as needed. We also introduce a variable "mel_wdt" which allows user to disable the WDT in case the user is doing kernel debugging or so and wants the system to keep running. If WDT is detected to be fired & SWU was performed, then we fallback to last working state, else we do a normal boot. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-06Merge pull request #611 from smavila/sumoWade Farnsworth
Sumo
2019-03-06Merge pull request #613 from ArsalanHAwan/fix-so-bios-flashWade Farnsworth
snowyowl/spirom-test: fix BIOS flashing from userspace functionality
2019-03-06swupdate/grub: AMD Watchdog Driver & API support for GRUB cfg/consoleArsalan H. Awan
SWUpdate Failsafe Update mechanism requires watchdog timer support to detect a failed update, and to get the WDT triggered in case of a system hang for that matter. This adds AMD Watchdog Driver & Watchdog API support for GRUB allowing us to access and configure the WDT from GRUB configuration and console. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-06snowyowl/spirom-test: fix BIOS flashing from userspace functionalityArsalan H. Awan
When spirom-test app is used to flash the BIOS to a version other than the one that is already flashed on the board, the output says that it all went successfully, but the BIOS/system doesn't boot up after that at all. The problem is with the chiperase function as it usually takes time on other machines, but on snowyowl, it finishes the execution instantly. This fixes the issue allowing us to flash the BIOS on snowyowl using the spirom-test app. AMDDET-502 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-02-25Merge pull request #612 from abelal/systemd-gptWade Farnsworth
systemd: fix mmc device dissection
2019-02-25Merge pull request #609 from abelal/intamddet-2678Wade Farnsworth
r1000/llvm: fix QA warning
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>
2019-02-25snowyowl: amd-sev and amd-ccp backports from stable kernel Q4 2018Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2019-02-25snowyowl: amd-xgbe backports from stable kernel Q4 2018Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2019-02-25Snowyowl: amd-emmc backports from stable kernel Q4 2018Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2019-02-21Merge pull request #610 from ArsalanHAwan/iot-integrationWade Farnsworth
MEL IoT Integration
2019-02-20amd-common-conf: specify MEL supported IoT packagegroupsArsalan H. Awan
This specifies the supported MEL IOT_PACKAGES for AMD BSPs as required by mel-iot layer. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-02-20r1000/llvm: fix QA warningAwais Belal
This fixes ... Now at patch 0002-llvm-allow-env-override-of-exe-path.patch WARNING: llvm-7-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. ... We don't need to update the SRC_URI because the patch file is already added through the main recipe and we simply force our patch file as our layer has a higher prio. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-19Merge pull request #607 from chaudharyak/sumoWade Farnsworth
r1000 : amd-xgbe and mmc fix
2019-02-18r1000 : amd-xgbe and mmc fixChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <chaudharyamit.kumar@amd.com>
2019-02-15Merge pull request #605 from abelal/drm_versWade Farnsworth
libdrm: use a more aligned value for PV
2019-02-15libdrm: use a more aligned value for PVAwais Belal
This is more of a good practise and lets the user know the exact version more easily rather than digging through the source. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-14Merge pull request #602 from abelal/intamddet-2674Wade Farnsworth
r1000/mesa: fix for radeonsi dri driver crash
2019-02-14r1000/mesa: fix for radeonsi dri driver crashAwais Belal
This fixes the radeonsi dri driver loading crash seen with X server. Essentially this is a backport of an upstream commit which is required in this cases. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08Merge pull request #601 from abelal/update_manifestWade Farnsworth
m4: drop patches already incorporated upstream
2019-02-08Merge pull request #600 from abelal/swupdate_v1kWade Farnsworth
systemd: fix udev-hwdb postinst disablement
2019-02-08Merge pull request #599 from abelal/r1k-reworkAwais Belal
Initial R1000 integration
2019-02-08m4: drop patches already incorporated upstreamAwais Belal
These patches are now present in oe-core so we do not need to keep a copy here. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08systemd: fix udev-hwdb postinst disablementAwais Belal
This was done in 165f830fda9fbde5feef4c336ceb7c95532a635d but used a different override than what was required. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/mesa: fix QA issuesAwais Belal
This fixes WARNING: mesa-2_19.0.0+gitAUTOINC+0144bbdb98-r0 do_configure: QA Issue: mesa: configure was passed unrecognised options: --enable-texture-float [unknown-configure-option] WARNING: mesa-2_19.0.0+gitAUTOINC+0144bbdb98-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share /usr/share/drirc.d /usr/share/drirc.d/00-mesa-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 3 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/llvm: fix QA issueAwais Belal
This fixes WARNING: llvm-7-r0 do_package: QA Issue: llvm: Files/directories were installed but not shipped in any package: /usr/lib64/llvm7/TestPlugin.so /usr/lib64/llvm7/.debug/TestPlugin.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. llvm: 2 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000: upgrade mesa and llvm packagesAwais Belal
This upgrades llvm to v7 and mesa to 19.0.0. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/libdrm: upgrade to 2.4.96Awais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/linux-yocto: RTQA4 updated amdgpu kernel patchAwais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000: add the initial meta layerAwais Belal
This adds the initial meta-r1000 layer. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-04Merge pull request #597 from abelal/swupdate_v1kWade Farnsworth
SWUpdate compound update support for V1000
2019-01-29amd-common-configurations: disable SWDESC_INCLUDE_BOOT_FILESAwais Belal
While creating the .swu through MEL's swupdate classes the contents of IMAGE_BOOT_FILES are processed in order to collect all the artifacts. While our BSPs produce a live image containing the rootfs as a loop device in the boot partition. This creates a circular dependency where the do_image_ext4 starts depending on itself. Fix this by forcing swupdate classes to not include these boot files. Signed-off-by: Awais Belal <awais_belal@mentor.com>