Age | Commit message (Collapse) | Author |
|
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>
|
|
This enables swupdate support for the AMD platforms by
providing swupdate as its machine features depending on
the available layers. Also, fixes a few variables required
by MEL's swupdate implementation.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This fixes/modifies things as per the SWUpdate support being
implemented for the MEL platforms. Covers the following
1. partitioning scheme as per dual-copy approach.
2. drop blacklist of the boot device in installed image
required by swupdate.
3. deploy kernels and rootfs as <image>A to conform with
dual copy approach.
4. implement grub.env approach to pick up kernel and rootfs
from the environment to support fallback mechanism.
5. implement fallback mechanism.
6. do not set rootfs as rw, the MEL scheme is to use ro when
supporting swupdate.
7. do not set a timeout for grub menu in installed image as
this will simply delay boot.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
When building an SWUpdate enabled image for a platform
the build system requires these files to identify and
generate update images.
These will mostly be identical for all the platforms
supported under meta-amd but for now the feature is
only being tested on v1000.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This enables GRUB under SWUpdate which is the bootloader
used by AMD platforms and deploys the bl-kernels files
in accordance with the support being enabled for AMD
platforms.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The sw-description is not available for initramfs images so
drop the post process commands as it fails otherwise.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
GIO modules and udev's hw_db requires postinstallation hooks
which fail due to current tools not supporting qemu execution on
AMD builds. So, such hooks are deferred to first-boot which in
case of swupdate is not possible as the rootfs is read-only.
Simply disable these postinstall hooks.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Minor fixes
|
|
Not using immediate expansion causes circular dependencies in
some cases so avoid such issues while depending on
EXTRA_IMAGE_FEATURES.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
We do not support legacy boots so using syslinux
does not make any sense at the moment and dropping
such metadata would allow easier maintenance.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
linux-yocto_4.14: enable configurations to support docker
|
|
Revert "common/conf: remove vmlinux from KERNEL_IMAGETYPES..."
|
|
This reverts commit 570b7302369a337111cb247cebe19e0ec0e47ccb as it is
fixed in meta-mentor->sumo: 922ef38be26e22b98a15388f66fa0d2770d50cc0
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
This enables kernel configurations to be able to support
the virtualization feature, the goal for now is to simply
support docker not the whole virtualization layer.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
fix eMMC patches
|
|
The earlier patchset is not as stable and we've seen
issues with it on different revisions of the v1000
target hardware.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|