Commit Graph

3811 Commits

Author SHA1 Message Date
Mike Engel 798510ad64 alsa: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel fab1962b15 libgpuperfcnt: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 0acf9400eb qt5: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel e5d5520ab9 gstreamer: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel b9de1544d4 wayland: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel dfc2ce9024 imx-gpu-viv: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel d147b1ee36 imx-g2d: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 93d956032a linux-fslc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 86fb57103d imx-usb-loader: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel ed8cdd92d6 imx-vpu: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bcbf3edb22 imx-test: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel f8f03a6735 imx-lib: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel f6c3e519b6 isp-imx: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 7bdfbd3144 imx-vpu-hantro-vc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 01bb7fe355 mcore-demos: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8f63ae3764 udev: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8a72bbd3a6 imx-vpu-hantro: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 0b198431ee imx-mkimage: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 494c773286 imx-seco: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bf2a06e9b5 imx-atf: move recipes into dynamic-layer for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel cd9eb2d093 firmware-imx: move to dynamic-layer
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8c39628133 layer: add dynamic-layers for NXP platform
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 1546a79981 linux: add CCMP15 support to build kernel
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel d78d601841 linux: move Trustfence signing into include file to be used by different kernel versions
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 56d7133147 layer: add STM layer for CCMP15
This commit adds the STM layer to the DEY build
system and enables NXP platform layer.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Gabriel Valcazar 600c3d7790 mount_digiparts.sh: run single MTD layout code path only when appropriate
This code path was added in the context of single MTD layout support for
ccimx6ul boards, but it was being executed in the default storage layout use
case as well. This could trigger a race condition in which one code path
deletes the mount point while the other one is still setting it up, causing
partitions to not be mounted automatically (specifically, the "update"
partition).

Since both code paths are mutually exclusive in our implementation, reflect
this by making sure that the single MTD layout path is executed only when said
layout is enabled in the U-Boot environment.

https://onedigi.atlassian.net/browse/DEL-7827

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 9a7ea10a4dfb74651f865f125372604fe6840a10)
2022-04-06 10:51:30 +02:00
Gabriel Valcazar bdbcadb44e openssl: upgrade to v1.1.1n
Port the recipe from the dunfell poky branch. This version contains the latest
vulnerability fixes, including CVE-2022-0778.

https://onedigi.atlassian.net/browse/DEL-7868

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit be046db4faae911b2a858d748551c6c91fc54043)
2022-03-28 11:49:26 +02:00
Gabriel Valcazar 54ddb775c4 trustfence-sign-artifact.sh: remove CONFIG_SIGN_MODE as a mandatory parameter
The sign mode needed for each platform is invariable, and since the platform
is already a mandatory parameter for the script, we can store this information
implicitly. Reflect this change in every recipe where the script is used, but
keep the variable at the Yocto level since it's still needed in several places.

https://onedigi.atlassian.net/browse/DEL-7862

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-03-22 12:47:32 +01:00
Gabriel Valcazar 712907b1c3 trustfence: add artifact authentication to U-Boot in signed image builds
Signed image support in U-Boot has been split into two separate configurations:
one that adds artifact authentication support and another that signs the U-Boot
binary at the end of the build. Reflect this change in meta-digi.

https://onedigi.atlassian.net/browse/DEL-7862

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-03-22 12:47:32 +01:00
Gabriel Valcazar 73c5dc6662 swupdate: add explicit libgcc runtime dependency
In meta-openembedded commit 35d249bb9a575a5a48491052896e121266d515f0,
libconfig, one of swupdate's dependencies, was split into two packages: one for
the C library and another for the C++ one. swupdate depends only on the C
library, but the C++ library was implicitly pulling in other dependencies, such
as libgcc.

After the commit mentioned above, libgcc stopped being pulled into our recovery
image, causing the following error to appear when swupdate terminates:

libgcc_s.so.1 must be installed for pthread_cancel to work
Aborting

Even if the action carried out by swupdate is successful, our recovery script
detects this as an error and aborts the update operation. Avoid this by
explicitly adding libgcc as a runtime dependency for swupdate.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-02-23 13:37:10 +01:00
Javier Viguera faef4f90d9 linux-dey: rename branch for NXP supported platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-22 10:19:49 +01:00
Mike Engel d3b7fca933 busybox: add power safe and reboot safe scripts for the MCA
This commit adds power safe and reboot safe script for the MCA
and substitute default reboot and poweroff busybox commands.

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

https://onedigi.atlassian.net/browse/DEL-7828
2022-02-18 18:17:07 +01:00
Isaac Hermida c29c47e3a0 modemmanager: add udev rules for ConnectCard 8M Plus
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-08 12:29:57 +01:00
Isaac Hermida f86b3629a8 libdigiapix: add config file for ConnectCore 8M Plus
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-03 12:00:26 +01:00
Javier Viguera 9cf07d25aa imx-boot: add SOC target for ConnectCore 8M Plus
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-03 12:00:26 +01:00
Isaac Hermida 3166345250 u-boot: add boot script for ConnectCore 8M Plus
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-03 12:00:26 +01:00
Javier Viguera 682fc8c169 u-boot: add recipe for v2021.04 (at the moment only for ccimx8mp)
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-03 12:00:26 +01:00
Javier Viguera 946c2fe6cf linux-dey: add recipe for kernel 5.10 (at the moment only for ccimx8mp)
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-03 12:00:26 +01:00
Isaac Hermida 148b1b443b meta-digi-arm: add support for ConnectCore 8M Plus platform
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-02-03 11:45:31 +01:00
Javier Viguera b6137c5d5e linux-dey: move the version specific info to the proper bitbake recipes
The license checksum and the source branch should be on the properly
versioned bitbake recipes. Otherwise, when we include this common file
in a different version linux recipe (for example, the upcoming 5.10) it
will inherit incorrect values.

While on it, fix the incorrect license checksum values for the linux 5.4
recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-02-02 10:34:33 +01:00
Gabriel Valcazar 42e4d177fe dnsmasq: remove v2.83 recipe to use the latest available version
We originally included this recipe to fix some vulnerabilities in the dnsmasq
version used in zeus (v2.80), but the recipe has been updated since then. The
current version used by default in hardknott is v2.85.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-31 11:16:40 +01:00
Gabriel Valcazar 668b4e8138 cog: adapt patches to v0.12.0
Now that the "--platform" parameter is optional, we don't need to hardcode the
platform anymore, so remove the first patch.

In this version, the FDO platform has been renamed to WL, and since the default
PACKAGECONFIG is meant to work with older cog versions, we need to manually
append the "wl" PACKAGECONFIG to build the wayland platform.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-25 12:58:22 +01:00
Gabriel Valcazar 3a62855de4 weston-init: restore profile script to previous implementation
This is a partial revert of commit 3819ee6672.
NXP simplified the profile script when updating to hardknott-5.10.72-2.2.0, but
since the /run/user/0 directory isn't automatically created in sysvinit
environments, the weston desktop fails to start in these cases. The previous
version of the script automatically creates said directory if it's missing, so
use that version instead.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-24 16:47:22 +01:00
Arturo Buzarra 771d5af74c firmware-qualcomm: update proprietary firmware to release r00006.3.470144.2a
Latest release r00006.3.470144.2a - CS3 0.0.006.3.470144.2a updates the
following files from qca6574au-le-2-2-2_qca_oem repository to fix
CVE-2021-30310:

qca65X4_pcie:   qwlan30.bin ->  b4a3730e9084871ef89faa5a34aae790
                utf.bin     ->  fd5c746e80dcb45f76e739f766055f5a
qca65X4_sdio:   qwlan30.bin ->  550701e51751928458a83d7dafadc017
                utf30.bin   ->  273bd31372afa2d7736a8e7639e44830

https://onedigi.atlassian.net/browse/DEL-7729

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-01-18 12:03:37 +01:00
Arturo Buzarra 7fbcde38bf firmware-qualcomm: Update BDF to pass EN 300 328 V2.2.2 blocking test.
This commit updates the US Board Data File (BDF) to include the changes
required to pass the EN 300 328 V2.2.2 blocking test.

The new BDF files are:

- ccimx6/bdwlan30_US.bin (eb3d3cdafd30b30e837974177a281648)
- ccimx8m/bdwlan30_US.bin (72531e6e0870673e4ba2b02bd551925b)
- ccimx8x/bdwlan30_US.bin (1cf667271da33f6eb207360eeb3d4d63)

https://onedigi.atlassian.net/browse/DEL-7773

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-01-17 13:00:31 +01:00
Gabriel Valcazar b0ff9ec03a linux-firmware: remove SDMA packages
This makes it so bitbake obtains the SDMA firmware from the firmware-imx recipe
instead.

This also avoids including all of the linux-firmware packages in i.MX6 SDK
builds, preventing errors when building the ccimx6sbc SDK (linux-firmware
provides the community versions of the ath6k and ar3k firmwares, which clash
with our versions).

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-12 17:09:33 +01:00
Gabriel Valcazar d58c6d30da freerdp: remove cups PACKAGECONFIG in sysvinit builds
Otherwise, cups pulls in procps as a dependency, causing SDK build failures.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-12 13:04:46 +01:00
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