Age | Commit message (Collapse) | Author |
|
This disables the wayland PACKAGECONFIG of gstreamer1.0-plugins-bad as
we do not support wayland.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
SWUpdate Failsafe Implementation
|
|
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>
|
|
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>
|
|
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 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 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>
|
|
m4: drop patches already incorporated upstream
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
Most of our BSPs require these drivers and they have been
part of earlier releases so enabling them for the new
kernel makes the most sense.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This is essentially a backport of
http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/eject?id=00eb88d1ce5c53d02b5a9a70af09f2e714e5234e
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This is a backport from oe-core master and is required for mel-lite
as it uses gcc8.2 based on glibc 2.28
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
MEL adds vmlinux to KERNEL_IMAGETYPES which ends up in the rootfs of
the image being built where it is not needed by us, and as a
side-effect, it results in increasing the size of the image by a
considerable amount. Therefore we do this change, and we'll remove
it from here once fixed in MEL.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
This was earlier fixed in fcfe5490920de9c9b62c7ec106fe1a731d0b2061
but we lost the change while cleaning up our repositories thinking
that it was already submitted upstream. efibootmgr is an actual
runtime dependency for grub-efi.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Move 4.14 patches to common
|
|
Just like we've bisected for the XGBE fragment, this
now allows the eMMC patches to be overriden from other
BSPs which want to modify/drop the fragment.
We're dropping the fragment name from the snowyowl layer
SRC_URI because the common append now provides it already.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Separate out XGBE patches from the GPU patches fragment. We
apply this on all the BSPs and any BSP that wants to override
the fragment can simply provide the same named fragment from
its own layer.
We're dropping the fragment name from the snowyowl layer
SRC_URI because the common append now provides it already.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
These patches apply to other BSPs as well which utilize the
amdgpu driver so move these to common. There are patches
against XGBE and other peripherals in the same list which
will be split in the upcoming commits so BSPs not requiring
the subsets can modify or drop the fragments as needed.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
We're not supporting the MEL add-on anymore.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Wic Optimizations
|
|
This cuts down the unnecessary free space in the image by setting the
--overhead-factor to 1.0, therefore reduces the image size of
amd-usbimage.wks & makes it easier to handle while transferring or
flashing to a USB etc.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
This changes the partition label of amd-usbimage.wks wic image from
"mel-live" to the default "boot", therefore makes it suitable to be
used for MEL as well as open yocto (or other) DISTROs.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
The mini-x-session forces a display size of 1024x768
which is way too low where our platforms support 4k
displays. Simply remove the forcing of the display size
from the session manager so the maximum is picked up
automatically.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Although the patches were removed from SRC_URI during the
upgrade process the actual patch files were left behind.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
None of the BSPs are currently based on the 4.9 kernel
so drop the common metadata as well.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
MPV updates
|
|
This upgrades mpv to 0.28.2 which is the stable version
of the first release that works with libva 2.x which is
what we're supporting now.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
We need to upgrade ffmpeg to satisfy the upgrade of
mpv which in turn is required for the libva upgrade.
This is backported from the oe-core master branch.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
MPV also needs to depend on our libva-x11 stub package
in order to pick up all the configurations correctly.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
libva-utils requires x11 components explicitly which
we have split out for taking care of a circular dependency
between mesa and libva.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This upgrades the libva integration to 2.1.0 while updating
mesa and gstreamer1.0-vaapi to use the new created mechanism
for circular dependency resolution between mesa and libva.
These changes cannot be split for the same reason. The new
dependency chain is libva-x11 -> mesa -> libva.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This upgrades the amdgpu component of the xf86-video-amd
to 18.0.1.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This drops hddimg support as the functionality offered by this is
also available through the wic image "amd-usbimage.wks" which is
enabled as a default wic image.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
This adds support for wic images for AMD BSPs by adding "wic" to
IMAGE_FSTYPES.
This commit also creates a "amd-usbimage.wks" file as a default wic
image for AMD BSPs, which uses the bootimg-partition wic source plugin
to create a bootable image.
The contents of this image can be set via IMAGE_BOOT_FILES variable.
This commit populates the image with the files same as in hddimg,
therefore supports both grub EFI boot and syslinux legacy boot.
The IMAGE_BOOT_FILES variable can be overridden to support any
bootloader such as: systemd, or any other files that are required
to be deployed into the wic image can be added here.
This resulting image can be flashed on a USB, and supports both
"boot" and "install" options in the bootloader menu.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|