Commit Graph

175 Commits

Author SHA1 Message Date
Gabriel Valcazar 830c9ff629 weston-init: add customization directly in weston.ini instead of do_install()
We already have a copy of NXP's weston.ini, so there's no need to manuallly
append to it in our do_install_append(). Simply add our changes for our custom
desktop background directly in the source file.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-11 13:22:38 +01:00
Gabriel Valcazar 3bdc32b9f4 weston-init: change target from "graphical" to "multi-user"
In older Yocto versions, weston was launched via a udev rule, but now it gets
launched as part of the "graphical" system target. Since this target isn't
reached automatically on boot, the weston desktop will only appear if you
manually launch said target (or the weston service itself).

To make the desktop launch automatically, change the target to "multi-user",
which is the default target laucnhed on boot.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-11 12:57:06 +01:00
Gabriel Valcazar 9862a504fd hardknott: tesseract-lang: fix SRC_URI
Otherwise, bitbake won't be able to fetch the sources and the build will fail

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 9ec62ed4cc hardknott: libgpuperfcnt: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add these recipes, which are needed by some eIQ packages

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 157db7a51d hardknott: vulkan: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Remove a handful of recipes, add a few new ones and update the remaining ones

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar e96e14238c hardknott: xorg-xserver: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Remove v1.20.8 recipe and associated files, update the .bbappend

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar d057886358 hardknott: xorg-driver: sync with meta-imx hardknott-5.10.72-2.2.0 branch
This folder only contained a leftover file, so remove it

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4a824690cf hardknott: weston: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Sync the .bbappend while keeping our ccimx6 patch and remove the 9.0.0.imx
recipe, since it's already available in meta-freescale.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 3819ee6672 hardknott: weston-init: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Sync .bbappend while keeping our customizations, update profile and add custom
NXP weston.ini

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 0a9c3b71b9 hardknott: wayland-protocols: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v1.22.imx

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 93caa1c982 hardknott: imx-g2d: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add recipe for imx-g2d-samples

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar dddcd4f1f6 hardknott: imx-gpu-g2d: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v6.4.3.p2.4

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 57d10799c6 hardknott: imx-dpu-g2d: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v1.9.4

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 7ecb29f5f5 hardknott: imx-gpu-viv: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v6.4.3.p2.4

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar b33205ef8d hardknott: libdrm: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v2.4.107.imx

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 02111d6f7a weston: make our .bbappend version-specific
Otherwise, the .bbappend applies to all existing weston recipes, and since our
patch is only available in our layer, bitbake will print warnings about the
patch not being found for those other recipes. This is harmless, since DEY
always uses NXP's version of weston, but it can be confusing, so avoid the
warnings altogether.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit d4464a8211bff6b315a8ed5d094b8c25099f4130)
2022-01-03 11:53:48 +01:00
Arturo Buzarra d4e0ebc2a3 packagegroup-core-x11: remove matchbox-terminal package
The matchbox-terminal provides a GTK+ terminal application on the sato desktop,
however it has a dependeency of the virtual terminal emulator GTK+ widget
library (vte) that recently introduced a dependency with the icu package that
increase the rootfs size in 20MB. Since this is a sample application, remove it
to save space on the rootfs.

https://jira.digi.com/browse/DEL-7524

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-21 18:26:59 +02:00
Arturo Buzarra b2754811cc weston-init: fix build by removing duplicate entry for ccimx6 platforms
In the free meta-scale layer, the same entry "use-g2d = 1" is uncommented for
mx6dl and mx6q, however our ccimx6 platform has both machines in its
definition, so the same entry is uncommented twice and throws an unexpected
error. This commit adds a append in the install process to uncomment this entry
for the ccimx6 platform.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 3aa345d410 gatesgarth migration: vulkan-demos: Sync with BSP release rel_imx_5.10.9_1.0.0
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 93445f8a0b gatesgarth migration: xf86-video-imx-vivante: remove custom recipe reusing the upstream version
Recipe was updated in meta-freescale layer

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 2359430856 gatesgarth migration: wayland: remove custom recipe reusing the upstream version
Recipe was updated in poky layer

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 2006018343 gatesgarth migration: libdrm: Sync with upstream and BSP release rel_imx_5.10.9_1.0.0
Sync with BSP release rel_imx_5.10.9_1.0.0 and remove unnecesary files
after most of them were updated in meta-freescale layer.

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 8478854a88 gatesgarth migration: vulkan: Sync assimp recipe with upstream
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 650bcce1e3 gatesgarth migration: weston: Sync with upstream and BSP release rel_imx_5.10.9_1.0.0
Sync with BSP release rel_imx_5.10.9_1.0.0 and remove unnecessary files
after most of them were updated in poky layer.

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra efba4e8953 gatesgarth migration: imx-dpu-g2d: Upgrade to v1.9.0
Sync with BSP release rel_imx_5.10.9_1.0.0

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra de0f7fdcd6 gatesgarth migration: imx-gpu-viv: Upgrade to v6.4.3.p1.2
Sync with BSP release rel_imx_5.10.9_1.0.0

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 4342546a01 gatesgarth migration: features_check class replaces distro_features_check
The 'distro_features_check' class has had its functionality expanded, as
a result the class has now been renamed to 'features_check'

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Gabriel Valcazar ae8927fb38 wayland: Update recipes to new NXP BSP release imx_5.4.70_2.3.1
Remove outdated wayland patch and remove NXP workaround for mx8mq platforms in
the weston-init recipe. These changes don't affect our platforms, but it's to
make sure that we're in sync with the latest version of NXP's recipes.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-17 12:01:00 +01:00
Mike Engel 6d4cb5ab7a recipes-graphics: wayland: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:36 +01:00
Mike Engel bad803d09e recipes-graphics: drm: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:36 +01:00
Mike Engel 288b6f012f recipes-graphics: xserver: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel b27527bf53 recipes-graphics: vulkan: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel 0e08ffa60a recipes-graphics: mesa: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel 2dcc48d224 recipes-graphics: imx-gpu-viv: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel def5967e26 recipes-graphics: imx-gpu-g2d: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Mike Engel 3ffabf658d recipes-graphics: imx-dpu-g2d: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:35 +01:00
Arturo Buzarra a82af28530 imx-gpu-viv: Simplify GLES3_HEADER_REMOVALS
Most 8M families have the same GLES3 support, with 8M Mini being the exception.
See NXP commit cbb1793f1 ("imx-gpu-viv: Simplify GLES3_HEADER_REMOVALS").

https://jira.digi.com/browse/DEL-7397

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Gabriel Valcazar 95be080ab2 weston: apply g2d backend workarounds to both the ccimx6 and ccimx6qp
These changes were originally applied to the ccimx6 to fix a trailing effect in
the desktop, but we've recently discovered an HDMI hotplug issue on the
ccimx6qp that is also solved when using the g2d backend. Apply the workarounds
to both platforms.

https://jira.digi.com/browse/DEL-7380

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-01-14 16:29:52 +01:00
Hector Bujanda 306f0c2d43 recipes-graphics: xserver-xorg: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
xserver-xorg: Upgrade to 1.20.8 version [YOCIMX-4697]

    Backport the recipes from poky master as the xserver is already upgraded to 1.20.8.

    Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
xserver-xorg: Remove comment that is no longer valid

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
xserver-xorg: Fix patch fuzz

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>

Added FILESEXTRAPATHS_prepend to reuse some recipes from poky layer.
Patches refreshed with devtool finish --force-patch-refresh

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-04 12:59:23 +01:00
Hector Bujanda 2b5dd7ec14 recipes-graphics: imx-gpu-viv: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-gpu-viv-6.inc: Update files in libopencl-imx package

    Fix issue:
    ERROR: imx-dpu-g2d-1.8.9-r0 do_package_qa: QA Issue: /usr/lib/libg2d-dpu.so
    contained in package imx-dpu-g2d requires libOpenCL.so.1()(64bit), but no
    providers found in RDEPENDS_imx-dpu-g2d? [file-rdeps]

    Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
imx-gpu-viv: Update library installation

    The packaging model has been reworked so now we can simply
    copy the libraries.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
imx-gpu-viv: Integrate recipe updates

    Integrate our local recipe updates into the
    copied include file.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
imx-gpu-viv: Copy include file from meta-freescale

    Changes are extensive enough now that it makes sense to
    simply copy what is upstream.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>

kernel-module-imx-gpu-viv: Switch branch to imx_5.4.47_2.2.0

    Signed-off-by: i.MX Yocto Project Build <imx.build@nxp.com>
imx-gpu-viv: remove wayland as a requirement for i.MX8 platforms

    Based on commit ed2c4974 ("imx-gpu-viv: remove wayland as a requirement for
    i.MX8 platforms"), this commit removes the requeriment of wayland as a backend
    for the i.MX8 platforms to build framebuffer images.

    https://jira.digi.com/browse/DEL-7013

    Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>

imx-gpu-viv-v6: remove kernel-module-imx-gpu-viv dependency

    This dependency was originally removed in commit
    eafa8684a3, but it was erroneously put back in
    commit 793e901678 when updating the recipe using
    the one in meta-fsl-bsp-release as reference.

    Instead of removing the line containing the dependency, in order to avoid the
    same situation from happening in the future,  comment it out and add an
    explanation about why we're removing it.

    Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-03 09:23:03 +01:00
Hector Bujanda 7f120705a0 recipes-graphics: wayland: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
Revert "weston-init: Fix being underrun with superTile format and video playing on i.mx8dxmek [YOCIMX-4227]"

    The setting has been merged into driver [MGS-5713]

    This reverts commit bfaf99da16df2b7fd56ec6454406d5a71e90aa9f.

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:07:16 +01:00
Hector Bujanda 8487909875 recipes-graphics: imx-gpu-g2d: Update recipes to new BSP release imx_5.4.47_2.2.0
Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:06:59 +01:00
Hector Bujanda 508b859472 recipes-graphics: imx-dpu-g2d: Update recipes to new BSP release imx_5.4.47_2.2.0
Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:06:46 +01:00
Arturo Buzarra c40a92b3bb recipes-graphics: xorg-server: refresh patch to fix warning build
This patch was updated to match with xorg-xserver v 1.20.5

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-09-22 08:28:02 +02:00
Gabriel Valcazar eda2f4177e weston: add a patch to fix issues on the ccimx6
The ccimx6 uses the g2d weston renderer to avoid graphical glitches, but the
default renderer code doesn't handle suspend/resume cycles properly, causing
other issues (notably in the framerate and the desktop not showing 66% of the
time when resuming from suspend). Add a patch to mitigate these issues.

https://jira.digi.com/browse/DEL-7236

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-18 13:42:33 +02:00
Gabriel Valcazar 1fe0af568f weston-init: uncomment "use-g2d=1" from weston.ini on the ccimx6sbc
Without this option, moving any element on the desktop (cursor or windows) will
cause an undesired "trailing" effect, where parts of the moved elements remain
on the desktop.

https://jira.digi.com/browse/DEL-7221

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-16 16:09:03 +02:00
Gabriel Valcazar 3b5cb026ae vulkan-demos: add vulkan-validationlayers as a runtime dependency
This package needs to be installed in the rootfs for the demos to work.

While at it, mark this change as Digi-specific to avoid removing it in future
recipe updates.

Reported-by: Alfonso Martin Rey <alfonso.martinrey@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 07f1fa88f2)
2020-08-26 11:44:57 +02:00
Mike Engel b452a7f728 vulkan-loader: Put libvulkan.so in main package
The loader library libvulkan.so is loaded dynamically and so
must be included in the main package.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 26623ba00d recipes-graphics: imx-gpu-viv: Update to new NXP BSP release imx-5.4.24-2.1.0.
This commit updates the imx-gpu-viv to the next version.

It includes the following improvments and fixes

* The work-around that moves .so for OpenCL, OpenVX, and Vulkan
  to the main packages triggers the QA Issue for dev-so:

    ERROR: imx-gpu-viv-1_6.4.0.p2.4-aarch64-r0 do_package_qa:
    QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so:
    libvulkan-imx path '/work/aarch64-mx8m-poky-linux/imx-gpu-viv/1_6.4.0.p2.4-aarch64-r0/packages-split/libvulkan-imx/usr/lib/libvulkan_VSI.so' [dev-so]

    Suppress the QA check.

* Add versions for OpenCL, OpenVX, and Vulkan.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 55c4048675 recipes-graphics: imx-dpu-g2d: Update to new NXP BSP release imx-5.4.24-2.1.0.
This commit updates the imx-dpu-g2d to the new version 1.8.7.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00