Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
SWUpdate Failsafe Implementation
|
|
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>
|
|
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>
|
|
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
|
|
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
|
|
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
|
|
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
|
|
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Sumo
|
|
snowyowl/spirom-test: fix BIOS flashing from userspace functionality
|
|
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>
|
|
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>
|
|
systemd: fix mmc device dissection
|
|
r1000/llvm: fix QA warning
|
|
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>
|
|
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
|
|
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
|
|
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
|
|
MEL IoT Integration
|
|
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>
|
|
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>
|
|
r1000 : amd-xgbe and mmc fix
|
|
Signed-off-by: Chaudhary Amit Kumar <chaudharyamit.kumar@amd.com>
|
|
libdrm: use a more aligned value for PV
|
|
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>
|
|
r1000/mesa: fix for radeonsi dri driver crash
|
|
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>
|
|
m4: drop patches already incorporated upstream
|
|
systemd: fix udev-hwdb postinst disablement
|
|
Initial R1000 integration
|
|
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>
|
|
This was done in 165f830fda9fbde5feef4c336ceb7c95532a635d but
used a different override than what was required.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
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>
|
|
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>
|
|
This upgrades llvm to v7 and mesa to 19.0.0.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This adds the initial meta-r1000 layer.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
SWUpdate compound update support for V1000
|
|
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>
|