Commit Graph

1370 Commits

Author SHA1 Message Date
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 544f152564 recipes-support: opencv: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
opencv: Add smaller version of download models script [YOCIMX-4899]

    Add a download models script that downloads a subset of the
    regular script, reducing the download size from 10 to 1 GB.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
opencv: Fix build break [YOCIMX-4806]

    The fix for installing face_landmark_model.dat failed
    if test was not in PACKAGECONFIG. In fact we should only
    install face_landmark_model.dat if test is configured.

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

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

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-04 12:59:14 +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 12dce0052f recipes-multimedia: imx-vpuwrap: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-vpuwrap: Switch branch to MM_04.05.06_2008_L5.4.47

    Signed-off-by: i.MX Yocto Project Build <imx.build@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:08:53 +01:00
Hector Bujanda 53ad14efd6 recipes-multimedia: imx-parser: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
recipes-multimedia: Upgrade from v4.5.5 to v4.5.6 [YOCIMX-4546]

    Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:08:37 +01:00
Hector Bujanda b878d81e61 recipes-multimedia: imx-codec: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
recipes-multimedia: Upgrade from v4.5.5 to v4.5.6 [YOCIMX-4546]

    Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:08:25 +01:00
Hector Bujanda acd74f7858 recipes-multimedia: gstreamer: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
gstreamer1.0: Switch branch to MM_04.05.06_2008_L5.4.47
imx-gst1.0-plugin: Switch branch to MM_04.05.06_2008_L5.4.47
gstreamer1.0-plugins-bad: Switch branch to MM_04.05.06_2008_L5.4.47
gstreamer1.0-plugins-base: Switch branch to MM_04.05.06_2008_L5.4.47
gstreamer1.0-plugins-good: Switch branch to MM_04.05.06_2008_L5.4.47

    Signed-off-by: i.MX Yocto Project Build <imx.build@nxp.com>
Added tinycompress by depencecies

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:08:06 +01:00
Hector Bujanda f776a19ac2 recipes-multimedia: alsa: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-alsa-plugins: Switch branch to MM_04.05.06_2008_L5.4.47

    Signed-off-by: i.MX Yocto Project Build <imx.build@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:07:51 +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
Hector Bujanda adebdabac9 recipes-core: systemd-gpuconfig: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
gpuconfig/rc_gpu.S: Update the lib names of libOpenVG [YOCIMX-4888]

    In imx-gpu-viv 6.4.3, the 2D/3D OpenVG lib names are changed:

      libOpenVG.2d.so – > libOpenVG.2d.so.1.1.0
      libOpenVG.3d.so – > libOpenVG.3d.so.1.1.0

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:06:27 +01:00
Hector Palacios b8a6fe6ea0 dey.conf: bump DEY version to -r3
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-29 12:29:48 +01:00
Hector Palacios 7eaa7670a7 change recipes to build from 'master' branches
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-29 12:29:48 +01:00
Hector Palacios 51319426f8 meta-digi: revert revisions to AUTOREV
This reverts commit 4dfdf2d435.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-23 13:09:52 +02:00
Hector Palacios 4dfdf2d435 meta-digi: update revisions for dey-3.0-r2.4
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-23 13:09:44 +02:00
Hector Palacios a64005482b meta-digi: revert revisions to AUTOREV
This reverts commit 3a299682aa.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-22 16:14:30 +02:00
Hector Palacios 3a299682aa meta-digi: update revisions for dey-3.0-r2.3
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-22 16:14:30 +02:00
Arturo Buzarra 496d8f8eda dey-image-installer: add release version to readme file in ZIP installer
This commit replaces the hardcoded text from the readme file by the environment
variables adding from this way the release version to the file content.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-22 13:33:45 +02:00
Hector Palacios 5a8b929694 meta-digi: revert revisions to AUTOREV
This reverts commit e1129bc8e4.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-20 17:15:59 +02:00
Hector Palacios e1129bc8e4 meta-digi: update revisions for dey-3.0-r2.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-20 17:15:59 +02:00
Gabriel Valcazar e79e57d154 qtbase: set QT_QPA_EGLFS_INTEGRATION="eglfs_viv" on fb images
Otherwise, qt5 applications will fail to launch on the 8X and 6/6QP.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-20 12:38:58 +02:00
Gabriel Valcazar 441459b6d2 libdigiapix: change default PWM for the ccimx8x-sbc-pro
The indexes of the MCA PWM controllers are different in Linux v5.4, so the
default value used by libdigiapix results in an error. Reflect this change and,
while at it, replace the default PWM with an IO connected to a user LED to make
the example more visual.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-20 10:16:18 +02:00
Arturo Buzarra f6c2cec797 sysinfo: add 0x prefix to SEC_CONFIG_WORD to fix conditional expression
Commit c24d1d96 ("sysinfo: adapt script after removal of deprecated fsl_otp
driver") introduced a mistake masking the SEC_CONFIG[1] bit read from the OTP.
This commit fix the read command to force it in hex format and finally match
with the mask in the script.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-15 11:10:09 +02:00
Hector Palacios fb3c7d5e3f meta-digi: revert revisions to AUTOREV
This reverts commit 76ec96632760fd3ee6113a74b8363a688edf99c3.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-08 16:37:51 +02:00
Hector Palacios 519b924f12 meta-digi: update revisions for dey-3.0-r2.1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-08 16:37:51 +02:00
Gabriel Valcazar 54643df677 packagegroup-dey-wireless: make ccimx6/6qp platforms use wireless-regdb-static
Back when the ccimx6/6qp used Linux v4.9, we needed to use crda because
wireless-regdb-static wasn't supported until v4.15. Now that we use v5.4 on all
platforms, this workaround isn't needed anymore.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-07 11:06:06 +02:00
Mike Engel 2397f700cf meta-digi-dey: qtbase: fix build path error of qt5.sh script
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-10-07 09:32:42 +02:00
Arturo Buzarra 77e30407fd sysinfo: fix security status section for ConnectCore 8M platforms
Commit c24d1d96 ("sysinfo: adapt script after removal of deprecated fsl_otp
driver") introduced support to determine if a device is closed by checking
a new boolean property on the DT for the CC8X platforms, however the CC8M
platforms use the same mechanism. This commit modifies the sysinfo script to
check also the DT for the CC8M platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-07 09:32:42 +02:00
Arturo Buzarra 06189293f4 sysinfo: fix error on devices without SOC revision in their device tree
Commit cbb38440 ("meta-digi-dey: sysinfo: Add chip revision sysinfo output")
introduced a new script variable to determine the SOC revision of the module.
However this entry only is available on the CC8X platforms. This commit checks
if the entry exist and then tries to read it to avoid unexpected issues with
devices without this entry.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-07 09:32:42 +02:00
Gabriel Valcazar a872c5f4cd trustfence-tool: update to v2.4
This version includes changes needed to reflect the OTP driver update in the
kernel.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-05 13:06:36 +02:00
Mike Engel 58707b40ba meta-digi-dey: qtbase: update ccimx6 qt5.sh script to reflect xwayland migration
This commit adds new environment variables to support QT with wayland and
to fix the following error message when executing QT5 applications on the
target.

qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialized.
Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, vnc, wayland-egl, wayland, xcb.

Aborted.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-10-05 11:43:18 +02:00
Mike Engel 23b7815c17 meta-digi-dey: libdigiapix: Update GPIO rules for digiapix group.
This commit updates the GPIO udev rules to change the group owner
and permission of the new gpio char driver. This will allow users
that belong to the digiapix group to access the char driver.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-7255
2020-10-01 09:28:34 +02:00
Gabriel Valcazar 7938ddef8f dey-image-recovery-initramfs: remove openssl-bin from initramfs
This package was being included as a RRECOMMENDS from libcrypto, but we don't
need it in the initramfs at all. Since our recovery image is already pretty big
compared with the recovery partition size on ccimx6ul platforms with 256 MB of
storage, remove it to make sure the image can fit.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-29 09:48:16 +02:00
Gonzalo Ruiz f1c1bbdffb auto-serial-console: add systemd support
Add systemd auto-getty.service to run agetty on the console defined in the
kernel command line on platforms with systemd support.

This service replaces serial-getty@.service as the one responsible for
opening a tty port and prompting for a login name when
TRUSTFENCE_CONSOLE_DISABLE is configured.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-09-28 17:39:44 +02:00
Gabriel Valcazar 3b0cf4eb76 qtbase: use platform-specific qt5.sh scripts instead of backend-specific ones
We have specific scripts per platform to export the qt5 environment variables,
because using the default backend-specific scripts ported from the meta-imx
layer results in mismatches in specific cases (for example, 6UL framebuffer
images only support linuxfb, but the qt5-fb.sh script exports eglfs instead).

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-28 17:13:48 +02:00
Gabriel Valcazar c9d4bbbd94 layer.conf: remove weston-init from the BBMASK
We originally ignored the weston-init.bbappend in meta-freescale back in thud
because we were basing our recipe off of NXP's sumo BSP, and NXP's weston-init
customizations were incompatible with the ones in meta-freescale. Remove it
from the BBMASK to be able to incorporate the customizations in meta-freescale.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-24 10:48:53 +02: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
Mike Engel c38d8ed84e meta-digi-dey: gstreamer: Remove unneeded patch for CCIMX6
https://jira.digi.com/browse/DEL-7221

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-09-16 16:09:03 +02:00
Gabriel Valcazar 47ae15ee54 imx-alsa-plugins: remove workaround for ccimx6 platforms
This workaround is no longer needed since ccimx6/6qp now use Linux v5.4

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-16 16:09:03 +02:00
Hector Palacios 27be059de4 digi: switch recipes to maint branches
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-09-16 10:48:08 +02:00
Hector Palacios 8e23fbfd13 Merge branch 'dey-3.0/master' into hpalacio/dey-3.0-merge
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-09-15 08:53:28 +02:00
Mike Engel cbb38440b6 meta-digi-dey: sysinfo: Add chip revision sysinfo output.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-7203
2020-09-14 07:15:48 +02:00
Arturo Buzarra bbb3267bd7 byacc: add nativesdk support to the recipe
Recipe from poky layer only provides the native support
but to generate the sdk we need also the nativesdk.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-09-09 09:03:58 +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
Gabriel Valcazar 5ea641fc14 meta-digi: revert revisions to AUTOREV 2020-08-25 11:34:18 +02:00
Gabriel Valcazar 84d3506432 meta-digi: update revisions for dey-3.0-r1.5
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-08-25 11:34:06 +02:00
Mattias Lindblad 89c2e830d8 busybox: standby: update busybox timeout syntax
Signed-off-by: Mattias Lindblad <mattias.lindblad@niradynamics.se>
Reviewed-by: Hector Palacios <hector.palacios@digi.com>
2020-08-25 07:54:57 +02:00