Commit Graph

4995 Commits

Author SHA1 Message Date
Gabriel Valcazar c58b5a433f packagegroup-dey-examples: don't install connectcore demo multimedia files
connectcore-demo-example multimedia content is only meant for webkit images,
and all this package does in its regular non-webkit version is add a few static
resources. Remove said resources and install only the demo's server + basic
assets.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-07 16:10:36 +01:00
Gabriel Valcazar d595a2e3b5 connectcore-demo-example: restructure multimedia dependencies
At the moment, we provide four versions of the connectcore demo package:

    * webkit + multimedia: we include this one in webkit images
    * webkit (no multimedia): used in cases where the platform supports webkit,
      but video/webgl performance isn't optimal
    * regular: only contains the demo server and basic assets, we include it in
      non-webkit images
    * regular + multimedia: contains the regular package plus video/webgl web
      content

This last version doesn't make a lot of sense because video/webgl content is
meant to showcase the target's VPU/GPU capabilities, and that can only be done
when running the demo on the target via webkit. Besides, even though we don't
include this version of the package in our default non-webkit images, the
runtime dependencies in the .inc file make bitbake generate the video-examples
and webglsamples packages during the image builds, even if they don't end up
in the final image. This is true even for platforms that don't support webkit,
such as the ccimx6ul, ccimx91 and ccimx93.

Initially, I tried making the -multimedia package exclusive to the webkit
recipe, but this causes its contents to be bundled with the base (regular)
package. To avoid this, define the -multimedia package in the .inc file, and
move its dependency with video-examples and webglsamples to the webkit recipe.
This way, the regular + multimedia version of the package still exists, but
it no longer causes bitbake to generate video/webgl packages when not needed.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-07 16:10:33 +01:00
Gabriel Valcazar 99134ca87c imx-digi-base.inc: Set generic tuning for i.MX8/i.MX9
This replicates meta-imx commit addc08b02f9a, which was added to be able to
re-use packages in i.MX8/i.MX9 builds. Without this change, there are
compilation errors when building recent versions of the onnxruntime package
because some .S files are built with specific -march switches that conflict
with our current tunings. For example, when building for the ccimx8x-sbc-pro:

    cc1: error: switch '-mcpu=cortex-a35+crc+crypto' conflicts with '-march=armv8.2-a+fp16' switch [-Werror]
    [...]HalfGemmKernelNeon.S:151: Error: selected processor does not support `fmla v20.8h,v16.8h,v0.h[0]'

Using the generic tuning solves this issue, and according to the log in the
original meta-imx commit, this has minimal to no impact on binaries, so use
said tuning in all relevant platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-07 13:09:28 +01:00
Gonzalo Ruiz 02be8225ca digi-sc-firmware: update to v1.17.0.2
This update fixes a wrong DDR bus configuration on variants -04 and -05.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-12-20 12:36:04 +01:00
Isaac Hermida 8ad093c37b imx-machine-learning: check vela return code
Return an error in case any of the models could not be converted.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-12-20 11:54:27 +01:00
Gabriel Valcazar 25f4fa7641 qt6-layer: NXP: sync with meta-imx scarthgap-6.6.52-2.2.0
Part of these changes are related to the update to Qt 6.8. Slightly modify
qtquick3d_git.bbappend to mirror NXP's configuration (i.MX GPU drivers don't
support OpenXR)

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-19 16:19:59 +01:00
Arturo Buzarra 929886eeea meta-digi-arm: ccmp25-dvk: fix boot artifact names
Based on the boot schemes and sources supported for each platform, the boot
artifacts now include this information in their filenames. This commit updates
the filenames accordingly in several recipes.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-19 09:47:07 +01:00
Arturo Buzarra d48a96aa24 firmware-murata: update firmware binaries to version imx-scarthgap-jaculus_r1.0
This commit updates the required firmware binaries for Bluetooth and Wireless
interfaces and the Murata firmware repositories to match with the latest Murata
release imx-scarthgap-jaculus_r1.0, which is based in the Cypress Linux Wifi
Driver (FMAC) release v6.1.97-2024_1115 (Wireless firmware v28.10.387.10).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-18 17:35:39 +01:00
Gabriel Valcazar 8d2e3c7ef3 dey-toolchain: add missing gstreamer packages
In the previous commit, removing the qt6 addons packagegroup has the unintended
side effect of removing all gtsreamer packages from the SDK, presumably because
they were being implicitly pulled in by one of the many qt6 packages. Add our
dey-gstreamer packagegroup to dey-toolchain to recover said packages.

Note that the set of packages we include with our packagegroup is much bigger
than the set that was being pulled in by the qt6 addons, but the size increase
is small compared to the increase caused by the qt6 addons. In the
ccimx8x-sbc-pro toolchain, this increases the installer script's size by around
84 MiB.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-18 13:17:14 +01:00
Gabriel Valcazar 58cfee7ac7 qt6: remove packagegroup-qt6-addons from dey-toolchain builds
packagegroup-qt6-modules is the base packagegroup added to SDKs that inherit
the populate_sdk_qt6 bbclass. By default, this packagegroup pulls in two other
packagegroups: packagegroup-qt6-essentials and packagegroup-qt6-addons.

The addons packagegroup pulls in a big number of qt packages that we don't even
install in our images. This would be fine if it weren't for the fact that the
bitbake server tends to crash when building several of these packages at once,
even on powerful development PCs. The current workaround is to reduce the
number of bitbake jobs at a project level, but this hinders the overall SDK
build time. Remove the addons and use our own qt6 packagegroup instead.

This way, we prevent errors in our daily builds and the qt6 contents in our
SDKs are more similar to what we provide in our images. In the ccimx8x-sbc-pro
toolchain, this reduces the installer script's size by around 492 MiB.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-18 13:03:56 +01:00
Gabriel Valcazar 4301465674 Revert "packagegroup-qt6-addons: only add qtpdf when "webengine" is a DISTRO_FEATURE"
After commit 732975b722, which synced our qt6 recipes with meta-imx, there
are no longer any compilation error when building qtpdf. Undo our removal of
this package to minimize the amount of changes done to the qt6 packagegroups.

Don't undo the change in the copyright years

This reverts commit 3bf06c2c6f.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-18 11:02:38 +01:00
Gabriel Valcazar db67bb7b82 classes: remove redundant populate_sdk_qt6 bbclass
This bbclass is already available as-is in the meta-qt6 layer, so remove it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-18 11:02:38 +01:00
Javier Viguera 16c281ba74 ccimx93: update/fix ethos-u-firmware for NXP release 6.6.36-2.1.0
This imports ethos-u firmware from NXP's MCUXpresso SDK (version
SDK_2_16_000_MIMX9352xxxxM) + some patches provided by NXP to fix the
communication with the TFlite delegate (support case 00663302).

Repo: emp/ethos_u_firmware.git
Revision: 2a98a3899f56830c45fadc708229824e9fee3a01

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-12-17 17:42:36 +01:00
Arturo Buzarra f4ca0d02fb stm-st-stm32mp: weston-init: fix conflict with the tim-vx-tools recipe
This commit integrates the necessary changes from the weston-init.bb recipe in
the Poky layer to resolve a rootfs installation issue with the tim-vx-tools
recipe caused by a mismatch in the permissions of the /home/weston folder.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 23:19:22 +01:00
Arturo Buzarra d894df580d x-linux-ai: packagegroup-x-linux-ai: remove x-linux-ai tool manager dependency
This commit removes all references to packages dependent on the X-Linux-AI tool
manager, as it has an internal dependency on the apt-openstlinux package.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 23:19:22 +01:00
Gabriel Valcazar 42c8510423 linux-dey: update imx branch for release lf-6.6.52-2.2.0
https://onedigi.atlassian.net/browse/DEL-9415

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-16 11:02:39 +01:00
Arturo Buzarra 9ee4609346 x-linux-ai: packagegroup-x-linux-ai: remove outdated recipes
This commit removes all outdated recipes after the integration of the latest
X-LINUX-AI v6.0.0 release from the meta-st-x-linux-ai layer for Yocto 5.0
(Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 09:36:49 +01:00
Arturo Buzarra d80a13250a x-linux-ai: recipes-samples: update launch_npu_demo.sh script
This commit updates the camera configuration and default paths to align with
the new X-LINUX-AI v6.0.0 release from the meta-st-x-linux-ai layer.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 09:36:49 +01:00
Arturo Buzarra bb19ff5d29 x-linux-ai: recipes-samples: Add STM32MP255 support to the application-resources recipe
This commit adds a .bbappend to the application-resources recipe, enabling
support for the STM32MP255 variant in the configuration board script.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 09:36:49 +01:00
Arturo Buzarra 8c0d24248f x-linux-ai: recipes-samples: adapt npu samples customizations
NPU samples were reworked in the new X-LINUX-AI v6.0.0 release from the
meta-st-x-linux-ai layer. This commit updates the Digi customizations to align
with the new NPU sample files.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 09:36:49 +01:00
Arturo Buzarra 78d02c2996 x-linux-ai: remove outdated recipes and unnecessary files
This commit removes all unnecessary files after the integration of the latest
X-LINUX-AI v6.0.0 release from the meta-st-x-linux-ai layer for Yocto 5.0
(Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 09:36:49 +01:00
Arturo Buzarra 1c534c97b5 Revert "meta-digi-dey: layer.conf: make "outdated" layers compatible with Yocto 5.0"
This reverts commit 3231654757, as a new
scarthgap branch for the meta-st-x-linux-ai layer is now available.

https://onedigi.atlassian.net/browse/DEL-9419
2024-12-16 09:36:49 +01:00
Gonzalo Ruiz b9fb425472 u-boot-dey: ccimx6ul: upgrade to v2024.04
https://onedigi.atlassian.net/browse/DEL-9399

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-12-12 16:03:41 +01:00
Gabriel Valcazar 5c20361d5c wpewebkit: reduce maximum number of PARALLEL_MAKE threads to 8
Even though we're already limiting this number of threads to 16, the wpewebkit
compilation process often crashes, even on powerful development PCs with 32
logical cores and 32 GiB of RAM. Reducing the number of threads to 8 avoids
this, at the expense of a slightly longer compilation time.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-11 17:51:37 +01:00
Gabriel Valcazar abc92f2d77 wpewebkit: clean up unwanted PACKAGECONFIGs
The main culprit is "accessibility", which adds a dependency with at-spi2-atk.
This service fails to launch if glib-2.0's gschemas.compiled file is missing,
which is the case in our default images. In turn, this failure causes webkit
to stall for 30 seconds before launching. Remove this PACKAGECONFIG to avoid
this issue.

While at it, remove other PACKAGECONFIGs:

    * "lbse" and "service-worker" are not configurable anymore and are now
      hardcoded features. Removing these PACKAGECONFIGs has no effect on the
      build, but their inclusion gives the false impression that they're
      configurable, so remove them. "webcrypto" is also not configurable
      anymore, but its PACKAGECONFIG pulls in necessary dependencies, so leave
      it enabled for now.
    * "openjpeg" is not only not configurable, but it's no longer supported.
      This PACKAGECONFIG pulls in an openjpeg dependency, making bitbake build
      the package even though it never gets included in the final image. Remove
      the config to prevent bitbake from building the openjpeg package at all.
    * "speech-synthesis" pulls in a dependency with flite, a 15 MiB speech
      synthesis tool. We aren't using this feature in our demos, so remove it
      from our default configuration to save some space.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-11 13:19:43 +01:00
Gabriel Valcazar c7b2c5e94c Generalize WAYLAND_DISPLAY variable at a platform level and set a default value
The value of this variable is always the same within a platform, so it doesn't
make sense to have different variables for it in each recipe that requires it.
While at it, it seems like all currently supported platforms in DEY 5.0 use the
same value of "wayland-1", presumably because they all use similar versions of
wayland/weston. Set this as the default value for all platforms for now. As we
support more platforms, we can adjust this value if needed, but if it ends up
being the same for all platforms, we can just hardcode it.

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

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-11 13:18:03 +01:00
Arturo Buzarra 576c0283f0 stm-st-stm32mp: fip-stm32mp: add a custom .bbappend to fix the deployment of the final FIP artifact
This commit integrates a custom .bbappend to fix a deployment issue of the
final FIP artifact, where the SoC name does not match with the FIP device tree
name.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra ebadb27d60 ccmp2: don't include custom kernel headers in the toolchain
This commit removes kernel headers from the SDK package list to prevent
overwriting the default ones, as there are currently no ST-specific headers
required.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 2db49f3a4a ccmp25-dvk: sync default FIP generation variables
This commit updates the default FIP generation variables to align with the
common stm32mp2 configuration files from the latest meta-st-stm32mp layer,
based on the openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0
(Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 661d1dc620 stm-st-stm32mp: weston: sync weston recipes with v13.0.1
This commit removes all outdated weston recipes and synchronizes it with the
latest v13.0.1 from the meta-st-openstlinux layer, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra d29d7149a7 stm-st-stm32mp: remove outdated recipes and unnecessary files
This commit removes all unnecessary files after the integration of the latest
ST BSP, based on the openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for
Yocto 5.0 (Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 1c26e84dd1 u-boot-dey: use version v2023.10 for ccmp2
Update ccmp2 platform to use the latest U-Boot v2023.10 based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 52cbd8eb17 linux-dey: use kernel version v6.6 for ccmp2
Update ccmp2 platform to use the latest Linux kernel v6.6.48 based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra af95fadd97 stm-st-stm32mp: wayland-protocols: sync recipe to v1.33
This commit removes the outdated wayland-protocols recipe and synchronizes it
with the latest v1.33 from the meta-st-openstlinux layer, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 0b12b51044 stm-st-stm32mp: gstreamer: sync gstreamer recipes with v1.22.12
This commit removes all outdated gstreamer recipes and synchronizes it with the
latest v1.22.12 from the meta-st-openstlinux layer, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 9c502ca5b8 stm-st-stm32mp: gcnano: remove gcnano recipes from meta-digi
This commit removes the gcnano recipes integrated into meta-digi, as a new
version (v6.4.19) has been released in the latest ST BSP, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra da6311bb3b stm-st-stm32mp: scp-firmware: remove recipe integrated in optee-os v4.0.0
This commit removes the scp-firmware recipe, as it has been integrated into the
optee-os recipe with the latest v4.0.0 from the ST BSP release. This update is
based on the openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0
(Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 13a12520fe stm-st-stm32mp: optee-os: sync optee-os-stm32mp2 recipe with v4.0.0
This commit removes all outdated OPTEE-OS recipes and synchronizes the Digi custom
.bbappend with the latest v4.0.0 from the ST BSP release, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 8b0aada42d stm-st-stm32mp: tf-a: sync arm-trusted-firmware recipe with v2.10
This commit removes all outdated TF-A recipes and synchronizes the Digi custom
.bbappend with the latest v2.10 from the ST BSP release, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Gabriel Valcazar 51655b11dd swupdate: fix build errors in ubivol rdiff handler patch
This patch includes code that only gets compiled for platforms that use a NAND
as the internal storage. Recent changes in swupdate's "copyfile" API caused
this code to stop building.

Using the normal rdiff handler code as reference, update our custom handler to
fix the build errors. While at it, include another change to prevent a warning.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-04 11:23:05 +01:00
Gabriel Valcazar 655ab0cc36 swupdate: adapt patches to v2024.12
In this version, Config.in files have been renamed to Kconfig, which prevented
one of our patches from applying correctly. Rework the patch to account for
this name change and while at it, update its context.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-03 12:55:29 +01:00
Isaac Hermida ca9d8162df bluetooth-init: cc9: do not unload the btnxpuart on reboot
Do not take any action such as removing the btnxpuart module When
the system is being restarted (poweroff or reboot), as the driver
tries to restore the UART baudrate when removing the module, and if
the system is being off, some of the entries might be dissapeared in the
middle of the process, leading to a NULL pointer and preventing the
system of being rebooted.
The btnxpuart can be removed on suspend/resume safely, so add the logic
to detect if the system is being rebooted.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-11-28 15:41:41 +01:00
Gabriel Valcazar 17cbe3dda3 dey-toolchain: add a few IMAGE_FEATURES to include missing dev packages
This slightly increases the SDK's size, but it adds packages that are required
for common use cases such as integration with weston/x11.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-28 11:40:17 +01:00
Gabriel Valcazar 5315d84350 dey-toolchain: avoid installing kernel binaries in the toolchain
This saves a few megabytes

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-27 14:20:25 +01:00
Gabriel Valcazar 74b2a65a19 Move common SDK modifications to a new bbclass, dey-image-sdk
Our new dey-toolchain recipe was missing the logic needed to create the
"dey-version" file in the SDK's installation path. Move this logic from the
dey-image bbclass to a new bbclass meant exclusively for SDK logic, and inherit
it where needed. While at it, move other common SDK modifications to this
class.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-27 13:49:27 +01:00
Gabriel Valcazar db613ceff9 classes/images: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables
This is a cosmetic commit that mirrors poky commit 6fd8af0d30e5.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-27 12:41:39 +01:00
Gabriel Valcazar 2070d83e0b toolchains: don't overwrite default SDKIMAGE_FEATURES contents
This variable is used to determine the types of complementary packages included
in the SDK: dbg-pkgs, dev-pkgs, doc-pkgs, src-pkgs...

We added staticdev-pkgs to this variable back in Yocto 2.0 (45de4d6943), but
instead of appending it to the original list, we redefined it with its original
value ("dev-pkgs dbg-pkgs") plus "staticdev-pkgs".

However, the default value of SDKIMAGE_FEATURES in poky has changed over time:

    * Starting in Yocto 2.3 (eb345ca720e5), doc-pkgs is included if
      "api-documentation" is in DISTRO_FEATURES. We don't include this feature
      by default, but if a customer were to include it manually, the doc
      packages wouldn't get included in their custom SDKs.
    * Starting in Yocto 2.7 (ba3aa5311291), bitbake changed the default
      PACKAGE_DEBUG_SPLIT_STYLE value so debug packages get split in two: one
      for binaries with debug symbols and another for the source code. In turn,
      src-pkgs was added to the default SDKIMAGE_FEATURES so that SDKs wouldn't
      change behavior, but since we overwrite the default value, we aren't
      including src-pkgs in our SDKs, only dbg-pkgs.
    * Any future changes would be ignored as well, which could potentially lead
      to unexpected behavior.

Make sure we don't overwrite the default SDKIMAGE_FEATURES value to include
src-pkgs in our SDKs, as well as the optional doc-pkgs logic. Also, include
staticdev-pkgs in our recently created dey-toolchain recipe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-26 18:36:34 +01:00
Gabriel Valcazar 248c3c7f4f sdk: build.sh: only build dey-toolchain when building SDKs
Instead of having one toolchain per image, we now provide one per platform.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-26 18:36:34 +01:00
Gabriel Valcazar 7f6898e1c6 recipes-core: add new recipe for dey-toolchain, a general DEY toolchain
For many DEY releases, we've been providing one SDK per image type, per
platform. In the case of graphical images, this was redundant for a few
reasons:

    * Most of the SDK's contents were identical, save for the specific packages
      in each image (qt, webkit, lvgl...) and their dependencies. With each SDK
      occupying over 1.5 GiB, this results in a lot of storage space overhead
      in our servers.
    * For some images, namely webkit and lvgl images, their respective SDK
      packages aren't necessary for the expected development use cases, so it's
      perfectly possible to use the qt SDK instead.

Create a separate recipe for a general-use SDK. Said toolchain includes qt5/qt6
packages by default, except for headless platforms. The advantages of this are:

    * We only provide one prebuilt SDK per platform, all with the same base
      name. The SDK should cover most if not all of the expected development
      use cases, and customers are still able to create their own custom SDKs
      if needed.
    * Having a separate recipe for the toolchain, not tied to a specific image
      type, allows us to fine tune its contents without affecting images and
      their recipes. With time, we can incorporate new packages as needed.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-26 18:36:34 +01:00
Isaac Hermida 43451b06a8 cc9: standby: do not disable bluetooth on suspend if power is on
If the power domain is kept on in suspend, do not disable the Bluetooth as
no new initialization is needed.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-11-25 17:29:29 +01:00