Commit Graph

1390 Commits

Author SHA1 Message Date
Arturo Buzarra de2e9e40ad meta-digi: revert revisions to AUTOREV
This reverts commit c22e8faf90.
2021-01-18 18:37:09 +01:00
Arturo Buzarra c22e8faf90 meta-digi: update revisions for dey-3.0-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-01-18 18:30:50 +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
Gonzalo Ruiz 39baff1e60 trustfence: add new TRUSTFENCE_SRK_REVOKE_MASK variable
In order to revoke SRKs in platforms with AHAB we need to set a mask
during the signing/encryption process.

Create new TRUSTFENCE_SRK_REVOKE_MASK variable to export the
SRK_REVOKE_MASK variable required by the imx-boot signing script.

The revoke mask is not necessary for signing/encryption of other artifacts,
so set it by default to 0x0.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2021-01-13 17:00:29 +01:00
Gabriel Valcazar e0055ce0cb Merge branch 'dey-3.0/master' into dey-3.0/maint
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-28 12:28:39 +01:00
Gabriel Valcazar cca44221b9 digi-webkit-examples: adapt to new landing page design
The landing page for the WebKit examples has gone through a visual overhaul to
improve the overall user experience, so adapt its recipe accordingly. Since the
page now contains resources that are relatively large (such as images and
extensive stylesheets), remove its elements from the recipe directory and
obtain them from Digi's FTP server instead.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-28 11:57:14 +01:00
Mike Engel 5a1f6a4167 meta-digi: add python recipes for Optee compilation
This commit adds python recipes from meta-imx required to build Optee support.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-12-28 11:03:19 +01:00
Gabriel Valcazar 142c1e2fcf wpewebkit: remove qtwpe from PACKAGECONFIG
The Qt WPE plugin has an implicit dependency with libgbm, which is only
available on i.MX8 platforms. Also, it pulls in several Qt dependencies,
increasing the total rootfs image size by about 50MiB. Remove said plugin to
completely separate Qt and WebKit functionality.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-17 09:33:42 +01:00
Gabriel Valcazar 0fd7e03fc8 digi-webkit-examples: add recipe for video examples
This recipe installs some videos that can be used to test the WebKit's hardware
acceleration during video decoding. Modify the landing page to be able to
access these videos.

https://jira.digi.com/browse/DEL-7314
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-17 09:33:42 +01:00
Gabriel Valcazar 1d58cb6c7f packagegroup-dey-webkit: include digi-webkit-examples by default
While at it, change cog's home page to the examples' landing page.

https://jira.digi.com/browse/DEL-7314
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-17 09:33:42 +01:00
Gabriel Valcazar 04cd7aafe7 digi-webkit-examples: add recipe for main landing page
This recipe installs the main page of the WebKit examples, from which all other
examples can be accessed. For now, only include the WebGL examples.

Since the landing page recipe needs to know which WebGL demos are being
installed and the webserver path where everything is installed, move some of
the variables used in the webglsamples recipe into an *.inc file to be able to
re-use said variables in different recipes.

Use the Digi embedded documentation CSS file for now, so the landing page looks
more on-brand.

https://jira.digi.com/browse/DEL-7314
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-17 09:33:42 +01:00
Gabriel Valcazar f7c86fb0a4 busybox: remove default http homepage elements
We're going to be using the busybox http server to house the WebKit examples,
so we need to get rid of any files that might interfere with it. Keep the files
for the ccimx6ul, since it doesn't support WebKit.

https://jira.digi.com/browse/DEL-7314
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-17 09:33:22 +01:00
Gabriel Valcazar 4b94979d98 digi-webkit-examples: create recipe for WebGL samples
This recipe installs a subset of the samples available at
https://webglsamples.org/ onto the target's web server, to be able to run said
examples locally without needing internet access. Make sure not to install any
source files to avoid making the package too large.

https://jira.digi.com/browse/DEL-7314
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:40 +01:00
Gabriel Valcazar cfa11005ee cog: add small usability improvements
Add two patches to improve user experience, such as making the browser
fullscreen and removing the otherwise necessary --platform parameter.

Also, make www.digi.com the default URI to avoid having to explicitly pass a
URI when launching cog.

https://jira.digi.com/browse/DEL-7311
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:40 +01:00
Gabriel Valcazar 590b824967 wpewebkit: make sure the webkit can only be built for graphical images
The WebKit is not supported on framebuffer images yet. While at it, set
wpebackend-fdo as the default WPE backend.

https://jira.digi.com/browse/DEL-7311
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:40 +01:00
Gabriel Valcazar 3a3ca20ec2 wpewebkit: add patch to fix video playback on the ccimx8x
The i.MX8X video decoder requires a specific NXP video converter, otherwise
videos will appear with several glitches. This patch adds said plugin in the
WPE webkit's internal gstreamer pipeline.

https://jira.digi.com/browse/DEL-7311
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:40 +01:00
Gabriel Valcazar b13339839e cog: fix crash due to EGL library errors
The EGL library provided by NXP in the v5.4.47 BSP has a bug where a NULL
pointer is returned by eglGetProcAddress() when trying to obtain the entrypoint
for a specific function used throughout the cog code. This caused cog to crash
immediately after launching it.

Recently, a fix was made available in the cog repo, so backport it to the
latest available revision of cog in meta-webkit and apply it.

https://jira.digi.com/browse/DEL-7311
https://jira.digi.com/browse/DEL-7312
https://jira.digi.com/browse/DEL-7339

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:40 +01:00
Gabriel Valcazar f91cb8d6bd Add support for the dey-image-webkit image
This image is very similar to dey-image-qt, but it includes the WebKit
packagegroup instead of the Qt one. Said packagegroup contains all of the
elements needed to run a WebKit-based browser environment in DEY.

This image requires the meta-webkit layer, so include it in our default
bblayers template. For now, include all WebKit related recipes in a dynamic
layer, because the ccimx6ul doesn't support WebKit and its projects don't need
meta-webkit at all.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:33 +01:00
Arturo Buzarra 8b3b8b5516 uboot: add script to update firmware from a USB stick
Create scripts to install DEY firmware using a USB stick.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-12-03 15:46:22 +01:00
Hector Bujanda 65d184cac3 busybox: standby: ccimx8x/mn: configure power LED for blinking in standby
configure power LED for blinking in standby
configure power LED solid on after resume

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

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-24 11:41:21 +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 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