Commit Graph

5320 Commits

Author SHA1 Message Date
Gabriel Valcazar 8393625473 swupdate: adapt patches for 2025.12
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-01-16 13:37:38 +01:00
Javier Viguera 2430122424 ccimx93-dvk: add missing NHD-3.5-640480EF-MSXP display overlay
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-15 11:55:31 +01:00
Gonzalo Ruiz 6d83bc1ab9 bluez5-init: ccmp2: load FCC file by default
New default file is 'CYW55500A1_FCC.hcd' for ccmp2, so load that file by
default in the script.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-13 09:56:30 +01:00
Gonzalo Ruiz 0c006332fa firmware-murata-infineon: use symlinks for regdomain files
For both wireless and Bluetooth regulatory domain files, install the
files as is and create symlinks for the different regulatory domains.

Then, the drivers are responsible of loading the default files (US for
wireless, FCC for Bluetooth) or other files when specified through the
'regdmn' module parameters.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-13 09:50:25 +01:00
Arturo Buzarra 0883522ffa firmware-murata: update firmware binaries to version imx-scarthgap-kraken_r1.0
This commit updates the firmware binaries for Bluetooth and Wireless interfaces,
aligned with the Cypress Linux WiFi Driver (FMAC) release v6.1.110-2025_0718.
The updated wireless firmware versions are as follows:
- 2FY Wireless chip: v28.10.522.8
- 2FY Bluetooth chip: v1.2.32.40.33 FCC and CE.JP

These updates are included as part of the imx-scarthgap-kraken_r1.0 Murata release.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-30 13:50:50 +01:00
Javier Viguera 24d1a9ec51 meta-digi-dey: bump distro version to 5.0-r4
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-19 14:09:30 +01:00
Javier Viguera 3ec533efb7 build-github.sh: bring back ccimx6 supported platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 81bfa24ca4)
2025-12-19 14:06:07 +01:00
Javier Viguera e2ed58b70b Merge tag 'dey-5.0-r3.1' into dey-5.0/master
Digi Embedded Yocto 5.0-r3.1

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-19 14:00:21 +01:00
Arturo Buzarra 19a2ad15a8 meta-digi: update revisions for dey-5.0-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-16 18:01:33 +01:00
Arturo Buzarra dde5a579cb README: dey-5.0-r3 release notes
https://onedigi.atlassian.net/browse/DEL-9895

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-16 13:00:21 +01:00
Gabriel Valcazar 18f823ebd1 cccs: don't change default client_cert_path for the ccimx6ul
Commit 619ca8b2a8 changed the ccimx6ul's default endpoint URL and client cert
path in order to prevent performance issues if the client cert is erased before
registering the device.

In reality, the client cert path doesn't really matter after this change since
the remotemanager.digi.com endpoint won't make use of it, and we now ensure
that /mnt/data is writable; so we might as well keep using that path.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 18:15:15 +01:00
Gonzalo Ruiz e8919d5fb4 libdigiapix: ccimx95: update default macros for dey-examples
https://onedigi.atlassian.net/browse/DEL-9832

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-15 17:44:16 +01:00
Gabriel Valcazar 55d58ea814 lvgl-demo: make HDMI the default display for ccimx6/ccimx6qp
In these platforms, /dev/fb0 corresponds to the LVDS display, so change the
demo's output framebuffer to /dev/fb3 to use the HDMI display instead.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 10:47:32 +01:00
Gabriel Valcazar 289a6e5e09 lvgl: move lvgl-demo-init modifications to their corresponding recipe
lv-conf.inc is a general configuration file, meant for any LVGL application,
while lvgl-demo_9.3.0.bb is the recipe for our example demo. Make sure any
modification made to the demo or its initscript is made in its corresponding
recipe.

This is cosmetic, no functional change.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 10:47:32 +01:00
Gabriel Valcazar 21d9c4f17b lvgl-demo: remove vestigial Wayland logic
In platforms that support wayland/xwayland, dey-image-lvgl images have most
weston/wayland packages removed from the filesystem, save for the main wayland
package (because DISTRO_FEATURES still contains "wayland"). Because of this,
the wait_for_wayland() function is called in lvgl-demo-init, but the wayland
display never gets created, causing the function to time out after 20 seconds.
Get rid of this check to have the lvgl-demo launch as soon as possible.

While at it, get rid of other wayland-related logic, since we only use LVGL's
drm or fbdev backends at the moment.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 10:47:32 +01:00
Gabriel Valcazar 619ca8b2a8 Revert "cccs: ccimx6ul: drop exception for `data` partition and client certificates"
If a target's DRM certificate is lost/erased before registering said target,
the CCCS server will reject all connection attempts from the target. This
can happen during development, as our installer scripts format the data
partition where the certificate is stored by default (see commit c17af3fd47).

Since the ccimx6ul uses sysvinit, we respawn the cccsd daemon via inittab if
process ends unexpectedly (see commit b154154a7e). When the server always
rejects connections due to a missing certificate, the cccsd daemon is
constantly respawning and terminating prematurely. Said daemon is very
CPU-intensive during initialization, so this causes the overall system's
performance to be hindered.

For now, to avoid this situation, use the CCCS endpoint that doesn't require
a certificate in order to ensure stable connections even if the data partition
gets formatted.

https://onedigi.atlassian.net/browse/DEL-9892
https://onedigi.atlassian.net/browse/DEL-9894

This reverts commit 4f8ed2d434.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-12 12:02:39 +01:00
Gonzalo Ruiz f82ea20153 installer: ccimx95: install dey-image-chromium by default
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-11 13:14:54 +01:00
Arturo Buzarra bd7e2f40ec swupdate: mmc uboot: improve MMC write flow
Add a check to avoid disabling read-only protection on partitions that don't
support it, and refine logging to print the specific bootloader partition being
flashed (instead of the generic "U-Boot" label).

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Arturo Buzarra 6b099b1c67 swupdate: mmc uboot: skip appending encryption key on CCMP2
Do not append the encryption key to the bootloader on STM platforms, it’s not
required and triggers an installation error.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Arturo Buzarra 13556606e0 swupdate: stm: fix TF-A/FIP artifact names in .swu when TrustFence is enabled
Correct the bootloader artifact names (TF-A and FIP) for CCMP1/CCMP2 during
.swu generation with TrustFence enabled.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Arturo Buzarra 39c24dcfb5 trustfence: fix SWUpdate private key selection for STM platforms
Commit b1800736af ("trustfence: update support to
STM platforms and integrate CCMP2") renamed several variables like FIP_SIGN_KEY
to SIGN_KEY, but missed updating the `SWUPDATE_PRIVATE_KEY_TEMPLATE` assignment.
This broke .swu signing on STM targets.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Arturo Buzarra 98c3e6427b trustfence: make co-processor secure firmware optional
Introduce a configurable variable to enable/disable secure co-processor
firmware when TrustFence is enabled.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Gonzalo Ruiz 08637debae meta-digi-arm: ccmp25: add USB recovery artifacts to the ZIP installer
Distribute all the required bootloader artifacts required for USB recovery
as part of the ZIP installer. That way, every pre-compiled set of images
is enough for starting development.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-09 17:51:54 +01:00
Isaac Hermida 8f7ece342d linux-dey: ccimx95: add temporary patch to support early prototypes
As the HWID support is not implemented yet, is needed to fill
the wireless information in the DT structure to have Wi-Fi and
Bluetooth working.
This is just a temporal patch for initial prototypes.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-12-05 16:42:06 +01:00
Isaac Hermida cf27d3e201 bluetooth-init: get the BT MAC address from the DT node
Retrieve the Bluetooth MAC address from the device tree (DT) node
rather than from the environment.
U-Boot will populate this address by default, but it can be
overridden with a custom MAC address specified directly in the DT,
which then takes priority.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-12-02 12:31:33 +01:00
Javier Viguera 052cd63529 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-28 17:58:45 +01:00
Javier Viguera bc1d97cd3b flutter-example: fix version dependendy
Last update of the flutter engine broke the example app. Fix the version
dependency.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-28 12:50:09 +01:00
Javier Viguera 0400223712 flutter-example: fix version dependendy
Last update of the flutter engine broke the example app. Fix the version
dependency.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-27 15:00:04 +01:00
Isaac Hermida 08732151b9 meta-digi-dey: cosmetic, remove trailing white spaces
No functional change.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-11-27 13:03:00 +01:00
Javier Viguera 8625756a2b dey: update libgpiod preferred version
Version 1.6.4 is no longer available, as meta-openembedded updated it
to version 1.6.5. Update our preferred version using a wildcard as our
libdigiapix depends on the 1.6.x series.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 06175c3c26)
2025-11-25 13:03:17 +01:00
Javier Viguera cc7a39ed8e meta-digi-dey: add recipe for dey-image-chromium-swu
Provide a recipe to generate a SWU package based on dey-image-chromium.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-24 18:33:43 +01:00
Javier Viguera 532939fa9f digi-defaults: add dey-image-chromium to graphical images
https://onedigi.atlassian.net/browse/DEL-9838

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-24 18:33:43 +01:00
Gabriel Valcazar 0eaf1038d3 ccmp15: add meta-clang to default bblayers
Other platforms that have flutter support use clang to build the flutter-engine
recipe, so do the same with the ccmp15. meta-flutter uses clang for a set of
its recipes (mainly flutter-engine) as long as meta-clang is in the bblayers,
so all we need to do is add said layer.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 18:28:48 +01:00
Francisco Gil 055378aee3 installer: replace setenv instructions with direct install_linux_fw_uuu.sh usage
Updated error guidance to use `./install_linux_fw_uuu.sh -u <uboot_file>`
instead of setting INSTALL_UBOOT_FILENAME manually.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-11-24 18:13:08 +01:00
Gabriel Valcazar a8108d7643 connectcore-demo-example: remove browser dependencies from browser-based pkgs
Commit 87b73f3f5d consolidated all connectcore-demo-example recipes into a
single recipe with multiple packages. Even though we choose which of these
packages to install depending on the image type, all packages (along with their
dependencies) get built regardless of which package ends up getting installed.
This means that the browsers (webkit/chromium) will get built as long as their
respective layer is in the bblayers, regardless of the image type.

For example:
    * wpewebkit will get built for all platforms with webkit support,
      regardless of the image (qt, flutter, core-image-base...)
    * chromium-ozone-wayland will get built for the ccimx95-dvk, even for qt
      and flutter images

Since we already include the main webkit and chromium packages in their
respective image's packagegroup, simply remove the dependencies from the
connectcore-demo-example recipe to avoid build overhead and unexpected errors.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 14:04:36 +01:00
Gabriel Valcazar af3ebf910c ccimx91: remove webkit and selinux layers
We originally removed GUI-related layers from headless platforms in commit
ef26e935d0, but we left meta-webkit in the ccimx91's bblayers due to a
spurious selinux dependency. Since we recently removed both the webkit and
selinux layers from the ccimx95's bblayers in commit 2aaa76c963, do the same
for the ccimx91.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 14:04:36 +01:00
Hector Palacios db74634234 imx-atf: enable access to GPIO1 port on i.MX95
GPIO1 port access was not enabled on ATF because NXP
reserved it to have exclusive access from the secure
world on their EVK.

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

https://onedigi.atlassian.net/browse/DEL-9839
2025-11-24 09:33:39 +01:00
Javier Viguera 3b6796e233 build.sh: enable dey-image-chromium for ccimx95-dvk
https://onedigi.atlassian.net/browse/DEL-9838

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 59377e5748 meta-digi-dey: add dey-image-chromium for ConnectCore 95
The new image runs the local ConnectCore demo application using chromium
on the ccimx95.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 2441ddb589 meta-digi-dey: add chromium support
This comes from NXP's 'walnascar-6.12.34.2.1.0' release.

It depends on "meta-chromium" layer (which is part of meta-browser
repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 2aaa76c963 ccimx95: remove webkit and selinux layers
At the moment, webkit does not work well on the ccimx95. Running cog on
wayland crashes with:

  eglCreateWaylandBufferFromImageWL not found
  cog-platform-wl.c:1731:on_export_wl_egl_image: assertion failed: (wpe_view_data.buffer)

So just delete the layer from the project's config file. Selinux layer
depends on meta-webkit, so we need to remove it as well.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 87b73f3f5d meta-digi-dey: refactor connectcore demo recipes
Replace the standalone connectcore-demo-example-webkit recipe with
a bbappend extending the main demo recipe. This is in preparation for
adding support for chromium-based connectcore demo.

While on it, merge the .inc file into the main recipe as there is only a
consumer of that inc file. Also minor cosmetic fixes to make the recipe
more Yoct-ish.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 06175c3c26 dey: update libgpiod preferred version
Version 1.6.4 is no longer available, as meta-openembedded updated it
to version 1.6.5. Update our preferred version using a wildcard as our
libdigiapix depends on the 1.6.x series.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 12:03:31 +01:00
Arturo Buzarra 03c7c9ca43 stm-st-stm32mp: libcamera-stm32mp: guard configureAwbAlgo() under EVISION_ALGO_ENABLED
Fix runtime undefined symbol by wrapping Awb::queueRequest() call to
configureAwbAlgo() with EVISION_ALGO_ENABLED.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-11-20 15:45:49 +01:00
Arturo Buzarra 3e8042f8d8 stm-st-stm32mp: add libcamera-stm32mp recipe
Integrate ST libcamera recipe from meta-st-openstlinux layer at
openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 tag. This recipe is required by
the NPU demos in meta-st-x-linux-ai.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-11-18 21:50:23 +01:00
Francisco Gil 1674f6462c linux-dey-6.6: update RT patches to v6.6-stm32mp-r2 Linux release
Sync STM32MP-specific RT kernel patches, aligned with the latest
ST release openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 from
meta-st-x-linux-rt layer.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-11-18 08:23:58 +01:00
Gabriel Valcazar 5b0c835076 build.sh: add "--ignore-missing" flag to "repo forall" commands
If a previously existing workspace is missing some repos due to "repo sync"
errors, any builds re-using that workspace will fail silently when attempting
to run "git clean -fdx" on all repos via "repo forall".

Ignore missing repos to prevent these situations.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-17 11:38:02 +01:00
Hector Palacios e2fb5c3dd7 ccimx95-dvk: add MikroE gyro/accel device tree overlays
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-11-14 12:20:49 +01:00
Hector Palacios b6b6419067 ccimx95-dvk: add Pcam 5C camera overlay
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9810
2025-11-14 11:59:11 +01:00
Javier Viguera d2861994c9 libdigiapix: use ccimx95 specific configuration
The ccimx95 does not share most of the configuration with the ccimx91/93,
so use a specific configuration file.

At the moment only the GPIO's configuration is updated for the ccimx95
(user LEDs and BUTTONs).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-11 18:17:09 +01:00