Commit Graph

2355 Commits

Author SHA1 Message Date
Arturo Buzarra d6d8a03bd6 meta-digi-dey: bump distro version to 5.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-26 12:56:24 +01:00
Hector Palacios 293f0c5ab7 dey: remove support for dey-image-crank
We're dropping support for dey-image-crank images.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9508
https://onedigi.atlassian.net/browse/DEL-9509
2025-02-26 11:37:37 +01:00
Isaac Hermida 36ba80b3ea imx-machine-learning: use local ssd_mobilenet_v1 model
after commit 8ad093c37b we are detecting
if a model conversion fails.
Currently the mode ssd_mobilenet_v1 fails and cannot be converted by
vela.
This is reported to NXP and will be fixed in next releases.
Meanwhile, for the current version, use a local copy.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-25 16:34:14 +01:00
Hector Palacios 45d4f56ff1 dey-gstreamer: add 'autovideosink' for ccimx6ul
'gplay' tries to use playbin3 and autovideosink by default
which is provided by plugins-good package and missing on the
ccimx6ul.
Add this package so that video playback works with 'gplay'
command alone.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9525
2025-02-25 11:03:38 +01:00
Arturo Buzarra 440fd0e20f meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-24 13:52:13 +01:00
Arturo Buzarra ba0b696a75 meta-digi: update revisions for dey-5.0-r1.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-24 13:52:13 +01:00
Arturo Buzarra 3175ccdb53 switch to building from maintenance branches for dey-5.0
https://onedigi.atlassian.net/browse/DEL-9503

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-17 13:55:32 +01:00
Hector Palacios 549b28eb44 python3-srp: update to version 1.0.22
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-02-17 08:36:34 +01:00
Hector Palacios a751560122 batctl: update version to 2025.0
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9496
2025-02-17 08:36:34 +01:00
Hector Palacios 3a77d64bfb python3-bluezero: update to version 0.9.0
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9496
2025-02-17 08:36:34 +01:00
Hector Palacios b1cea4e81c python3-svgwrite: update to latest version 1.4.3
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9496
2025-02-17 08:36:34 +01:00
Hector Palacios 2fd481d672 python3-xbee: update recipe to 1.5.0
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9496
2025-02-17 08:36:34 +01:00
Francisco Gil 839e0d4ebb meta-digi: update home path to "/root" in our recipes
Due to a change in systemd the default home directory is now "/root".

Modify our recipes to match with this change.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-02-14 13:30:10 +01:00
Gabriel Valcazar 6a7e9fa9e4 webkit: downgrade wpewebkit to 2.44.4 for stability purposes
2.46.5 has an issue where the ConnectCore demo doesn't register mouse clicks
in its main window, making it unusable. Until we find the cause of this issue,
downgrade to the nearest available release 2.44.4, where mouse clicks are
working fine.

Backport a patch from 2.46.X to allow builds with the lbse PACKAGECONFIG
disabled and apply a custom patch to make sure the correct gstreamer sink is
used for the ccimx8x.

https://onedigi.atlassian.net/browse/DEL-9446
https://onedigi.atlassian.net/browse/DEL-9498

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-13 13:46:41 +01:00
Hector Palacios ebbf61e15c global: rework Digi DT overlays filename structure
Device tree overlays now have the extension 'dtso' that
distinguishes them from board 'dts' files, so there is
no need for a prefix '_ov_' to tell if a file contains
a DT overlay.

To make them shorter and easier to tell the platform they
are for, change the filename format to:

  <platform-name>_<functionality>.dtso

where <platform-name> can be the name of the SOM or the
name of the DVK, so there is no need either to specify
'som' or 'board' on the filename.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-02-10 18:04:06 +01:00
Gabriel Valcazar 8cb3bada3a freescale: imx-gpu-viv: don't install kernel-module-imx-gpu-viv
For i.MX platforms with a GPU, we already enable its driver as built-in in the
kernel, so there's no need to install the external version of the driver. This
removes one of the dependencies with the linux-imx repo, the other one being
linux-imx-headers.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-06 14:16:25 +01:00
Gonzalo Ruiz 654df8bd50 trustfence: repurpose TRUSTFENCE_GPIO_ENABLE to contain the GPIO name
Now all platforms support setting the GPIO name instead of an index
as the configuration for the GPIO-enabled secure console.

Repurpose the TRUSTFENCE_GPIO_ENABLE macro to directly set the GPIO
name.

Also take the opportunity to remove TRUSTFENCE_GPIO_ENABLE and
TRUSTFENCE_CONSOLE_PASSPHRASE_ENABLE commented definitions from bbclass
and conf files, and remove a duplicated TRUSTFENCE_CONSOLE_DISABLE
definition from ccmp1.inc.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-06 13:45:14 +01:00
Hector Bujanda ff12547408 bootcount: skip resetting bootcount if bootlimit is not set
bootcount utility started by bootcount-init script was inconditionally setting
bootcount to 0 even if the functionality is disabled.

According to documentation, bootcount functionality is only enabled if bootlimit
variable is defined to a value greater than 0 in U-Boot environment.

In platforms like cc6ul, that use MCA NVRAM to store bootcount, this was corrupting
user NVRAM.

Version increased to 1.1.

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2025-02-05 17:42:52 +01:00
Hector Bujanda 7357dabd61 bootcount: uboot_getenv() always return 0
This was crashing if bootcount variable was not set in U-Boot

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2025-02-05 17:42:52 +01:00
Isaac Hermida 8f7164b6cd connectcore-demo: unify service script
Unify the service script with the bluetooth service requirement.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-05 12:10:20 +01:00
Isaac Hermida b5465a7390 bluez5-init: unify all bluetooth-init services
Unify all the different bluetooth init scripts.
The service can be started as oneshot instead of forking, as in all cases
the attach command is started daemonized in background.
Regarding the service requirements, just rely on udev so the HW itself
should be detected and ready.
Make it running before the bluetooth service, so the HW Bluetooth device
is fully ready when bluetooth service starts.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-05 12:10:20 +01:00
Isaac Hermida 2514406b4c bluez5-init: unify CCMP2 bluetooth init script
bluez5-init is a Digi custom recipe to collect the init script
needed to bring up the specific platform bluetooth hardware.
CCMP1s do not require any bluetooth init extra action.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-05 12:10:20 +01:00
Gabriel Valcazar 371b7ae210 systemd: adapt patches to v255.17
The systemd recipe was recently upgraded from v255.13 to v255.17 in poky and
our patches no longer applied correctly. Adapt them to prevent do_patch()
errors.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-05 10:39:57 +01:00
Gabriel Valcazar dd9843e31c Remove fbtest and microwindows recipe
We haven't included fbtest in our default images for a long time. Also, its
lone dependency, microwindows, is broken due to an outdated SRC_URI that no
longer exists. Remove both recipes

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Gabriel Valcazar 89d0ea1d42 Remove outdated mbedtls recipe
This recipe was added 8 years ago in the context of supporting awsiotsdk, back
when there were no community recipes for a v2.X.X version. meta-openembedded
now has recipes for both v3.6.2 and v2.28.9, and our recipe has been outdated
for a while now, so remove it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Gabriel Valcazar 24fec7be70 qt5: NXP: remove outdated recipes
Both gstreamer1.0-plugins-good-qt and imx-qtapplications haven't been
officially supported by NXP ever since they migrated to qt6 on i.MX platforms,
and both of them apply only to imxgpu3d platforms. In our case, we only use qt5
in the ccimx6ul, so we don't need these packages at all.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Gabriel Valcazar 34ddbdd07e freescale: nxp-afe: sync recipes with latest rel_imx_6.6.52_2.2.0 changes
Port the latest versions of the recipes from meta-imx

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Gabriel Valcazar 14ca75b8a5 freescale: imx-gpu-viv: sync recipes with latest rel_imx_6.6.52_2.2.0 changes
Like in commit 782b20958a, port these recipes from meta-imx even though they
are already available in meta-freescale, just so we can include the
modifications from meta-imx's imx-gpu-viv-6-overrides.inc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Gabriel Valcazar b6bc25701a freescale: libgpuperfcnt: sync recipes with latest rel_imx_6.6.52_2.2.0 changes
Port the latest versions of the recipes from meta-imx

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Gabriel Valcazar f94950f2eb vulkan: sync recipes with latest rel_imx_6.6.52_2.2.0 changes
Port the latest versions of the recipes from meta-imx

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00
Arturo Buzarra 521041ad93 connectcore-demo-server: add delay after start demo server service
Since the ConnectCore demo server forks execution to start the demo server
Python script, it may not be fully initialized when the ConnectCore demo
example initializes the UI and attempts to retrieve information from the server
daemon. This commit introduces a delay to ensure the server is ready before
another service, such as the ConnectCore demo example, interacts with it.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-04 08:53:52 +01:00
Arturo Buzarra 8c33785987 x-linux-ai: recipes-samples: add recipe to manage the DCMIPP ISP
This recipe installs the dcmipp-isp-ctrl tool, an application that demonstrates
some of the features of the DCMIPP ISP blocks. It allows configuring
illuminance and auto-exposure to achieve a targeted level by adjusting both the
DCMIPP exposure block and the sensor gain.

This recipes is original from meta-st-openstlinux layer based on
openstlinux-6.6-yocto-scarthgap-mpu-v24.12.05 release.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-03 12:55:24 +01:00
Arturo Buzarra c79780f8b4 x-linux-ai: recipes-samples: fix CSI DCMIPP camera support
This commit fixes several issues related to the initialization of AI demos when
using CSI cameras (OV5640 and IMX335) with the DCMIPP peripheral.
All configurations have been moved to an additional setup_camera.sh script and
removed from the main demo launcher.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-03 12:55:24 +01:00
Francisco Gil 2b71f2ce2b modemmanager: allow optional spaces after commas in ^SXRAT
https://onedigi.atlassian.net/browse/DEL-9445

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-02-03 08:01:01 +01:00
Gabriel Valcazar 637bb9dbbe x-linux-ai: stai-mpu: don't pull in dependencies for unused packages
stai-mpu provides a common ML API for stm32mpu platforms, allowing applications
to use different inference frameworks without changing any code. Its packages
consist of pre-built libraries that are in charge of interfacing with the
three supported frameworks (tflite, onnx and openvx).

While it's possible to install only a subset of these libraries to limit the
supported frameworks on the target device, all libraries are packaged
unconditionally at build-time, pulling in the dependencies of all three
frameworks. In our case, this pulls in onnxruntime dependencies even though we
only install the tflite and openvx packages in our ccmp25 images. This tends to
cause out-of-memory errors when onnxruntime is built at the same time as other
large packages, such as opencv and wpewebkit.

Since most of these dependencies are already present at a higher level in the
x-linux-ai packagegroup recipes, remove them from the stai-mpu recipe and skip
the runtime dependency QA checks to be able to build the packages without their
respective frameworks. In the case of the ccmp25-dvk, this has no effect on the
final image contents, but it prevents onnxruntime from being built for no
reason.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-31 13:41:02 +01:00
Gabriel Valcazar 216cfd53e3 ccmp25: x-linux-ai: create custom ML packagegroup for webkit images
The default ML packagegroup provided by the x-linux-ai layer isn't very
flexible when it comes to including a subset of the packagegroups it provides:
even if you include just one of them, the others will get built anyway, pulling
in several dependencies that aren't even used for the final image's contents.
Also, a lot of the runtime dependencies are duplicated in several of the
packages in the dependency chain, making it confusing to manage dependencies
efficiently.

Create a new packagegroup specifically tailored for our ccmp25 webkit images,
using packagegroup-x-linux-ai as reference, removing any duplicated
dependencies and applying the same changes as the ones we apply in the
reference's .bbappend. At the moment, this packagegroup and the old one are
equivalent, but we can now modify ours while leaving the old one intact in case
anyone wants to use it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-31 13:41:01 +01:00
Javier Viguera 5209d57dc3 meta-digi: Remove True option to getVar calls
getVar() defaults to expanding by default.

See poky's commit: 2631c375b8a025ee2e4329f6d93900bb7b5dadf7

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-01-30 11:09:28 +01:00
Javier Viguera e64002650d modemmanager: remove old not used patch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-01-29 18:00:50 +01:00
Gabriel Valcazar 1e89975669 wpewebkit: avoid pulling in qtbase-native dependency if not necessary
By default, we don't enable wpewebkit's qtwpe config, so the qtbase-native
dependency pulled in automatically via the qt6-cmake bbclass isn't necessary.
Make sure the dependency only gets pulled in when needed.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-29 17:57:36 +01:00
Arturo Buzarra cb57707e86 wpa_supplicant/hostapd: sync nl80211 definitions with Linux kernel v6.6.48
This commit synchronizes the nl80211 definitions with Linux kernel v6.6.48 to
prevent a mismatch between the extended features recognized by wpa_supplicant
and to correctly parse the information provided by the Linux driver.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-01-29 12:14:36 +01:00
Isaac Hermida 23b18a30f8 weston: revert Solid Color Support
Currently, this feature prevents the CPU from properly entering the
standby state on the i.MX93.
With the current implementation, the PXP module generates
"pxp-dmaengine-std" interrupts, which prevents the CPU from asserting
the PMIC_STBY_REQ signal.
An ongoing ticket with NXP is addressing this issue.
In the meantime, use the following workaround to resolve the situation.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-01-28 11:56:54 +01:00
Arturo Buzarra 4adb7ae271 x-linux-ai: recipes-samples: fix USB camera support
This commit fixes several issues related to the initialization of AI demos when
using a USB camera.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-01-22 21:44:03 +01:00
Gabriel Valcazar be67a1e4e7 qt6: add qt6 support for the ccmp25-dvk
Using the qt5 STM customizations as reference, adapt them to qt6 by changing
filenames and paths when needed and porting the qtbase configuration options
from the v2.1.0 branch of meta-st-x-linux-qt. Make sure that the
cinematicexperience is included in packagegroup-qt6-dey.

For now, leave the STM qt5 support as-is for backwards compatibility.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-22 18:00:27 +01:00
Gabriel Valcazar 7fe1900e32 systemd-conf: apply KEY_POWER handling customizations to the ccmp25
Otherwise, the target will immediately power off as soon as the power button is
pressed, even before letting go of it. This customization is already being made
for ccmp1 platforms, so make it common for all stm32mp platforms.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-14 11:11:52 +01:00
Gabriel Valcazar a3cea506c6 qt6: remove nativesdk-packagegroup-qt6-toolchain-host-addons from our SDKs
Similar to what we did for the target's version of this packagegorup in commit
58cfee7ac7, keep the "essentials" packagegroup and remove the addons. In this
case, the troublesome qt6 package is qtinterfaceframework, which pulls in
several python3 packages including python3-cryptography, which depends on the
rust compiler.

This reduces overall SDK size and rust compiler overhead during the SDK build.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-10 14:24:17 +01:00
Gabriel Valcazar 7e51909ef5 adwaita-icon-theme: remove outdated dependency with librsvg-native
The dependency was added in the recipe for adwaita-icon-theme v3.30.1, back in
poky commit 2ad84e129652, because that version of the package required librsvg
to convert SVG files to PNG. In recent versions, this is no longer the case,
and removing the dependency has no effect on the package's contents (they are
identical with or without the dependency).

Since librsvg-native is the only package in our ccimx6ul/x11 images that
depends on rust, remove this dependency to prevent bitbake from generating
the rust compiler, reducing build overhead.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-09 11:38:48 +01:00
Gabriel Valcazar 3cca11034d dey.conf: remove rsvg gstreamer plugin to prevent rust compiler overhead
This plugin is optional and, in platforms where rust isn't used anywhere else,
it adds a lot of overhead during the build process. Remove the plugin to
prevent said overhead when possible.

Alter gstreamer1.0-plugin-bad's PACKAGECONFIG from a single place so the
change applies globally (imx and stm platforms use different gstreamer recipes
and versions).

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-09 09:58:20 +01:00
Gabriel Valcazar 007c84d684 imx-machine-learning: onnxruntime: fix compilation error
This mirrors the change done for the STM version of the recipe in meta-digi
commit b7c15294a2, re-using the same patch that was used to fix the
compilation error introduced by poky commit 19fce77a5f13.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-08 15:32:20 +01:00
Arturo Buzarra b7c15294a2 x-linux-ai: recipes-frameworks: fix build issue with onnxruntime recipe
This commit adds a patch to address a build issue with the onnxruntime recipe
when warnings are treated as errors. The issue happens due to changes in commit
19fce77a5f132c569c555e8b6a4dda1379537653 ("gcc: Fix c++: tweak for
Wrange-loop-construct") in the poky layer.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-01-08 12:11:31 +01:00
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