Commit Graph

4768 Commits

Author SHA1 Message Date
David Escalona 7d4a490a44 dey-image-webkit: include st npu samples in the image for the ccmp25 platform
https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 14:02:41 +02:00
David Escalona 4bc892961d stm32mpu-ai: recipes-samples: customize st npu samples
Customize the NPU samples provided by ST so they can be executed in our DEY images:
- Add a generic launch script to pre-configure environment variables before launching demos.
- Remove 'weston' user check from demos launch scripts.
- Reduce font size for big screens.
- Set camera resolution to 640x480px and center the image.
- Adapt home folder to 'root' user instead of 'weston'.
- Adapt package group to include the new samples and remove the old ones.
- Fix a couple of errors with models download and include them manually.
- Add a runtime dependency with 'libdrm-tests' as the 'modetest' binary is required.

https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 14:02:34 +02:00
David Escalona 1f678d39a3 stm32mpu-ai: recipes-samples: verbatim copy of npu samples from st beta branch
Current samples were not working properly due to problems with libraries and
the runtime frameworks.

This commit brings the updated samples recipes with the new folder structure
that have been proved to work as they were in the st beta branch, using commit
with SHA256: 68686850c75061f1c7c4e756a313a41ca810f6ae

https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 13:47:47 +02:00
David Escalona 983df1b9cb stm32mpu-ai: tensorflow-lite: backport recipe from github st main
Current recipe build was failing due to dependencies with cpuinfo header files and
libraries. This commit backports the recipe that is currently being built in the
ST main branch in GitHub which clears these dependencies.

The recipe was backported as it was in commit with SHA256:
fc56201c67adf899080cff5b45ed33824e427609

https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 13:47:47 +02:00
David Escalona 5bf2f9b99c stm32mpu-ai: onnxruntime: backport recipe from github st main
Current recipe build was failing due to dependencies with cpuinfo header files and
libraries. This commit backports the recipe that is currently being built in the
ST main branch in GitHub which clears these dependencies.

The recipe was backported as it was in commit with SHA256:
fc56201c67adf899080cff5b45ed33824e427609

https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 13:47:47 +02:00
David Escalona b461dd18ce stm32mpu-ai: update cmake-native to version 3.25
Backport a new version of cmake-native from Poky's mickledore release. This
is required by the new version of the onnxruntime package (backported in
the following commit).

https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 13:47:47 +02:00
David Escalona c8d5dd29dd conf: allow one additional recipe nesting level to stm32mpu-ai layer
https://onedigi.atlassian.net/browse/CCS-12

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 13:47:47 +02:00
David Escalona f04581b9a6 eiq-examples: extend recipe to download and transform models in the host
Until now, the recipe only installed the binaries and some scripts in the target device. Then,
user had to execute an script in the running system to download and transform the models for
the demo, a process that could take up to 30 minutes. Also, a custom script was required to
acomodate the environment settings before executing any demo. All of this was preventing us from
creating out-of-the-box images including NPU demos for exhibitions and clients.

With the new changes, the recipe now downloads and transforms all the models in the host machine,
saving around 27 minutes and leaving the demos in the target ready to be executed. To ease the
process, a launch script is included for all the demos to configure the environment as well as an
auto-start service.

https://onedigi.atlassian.net/browse/CCS-10

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-25 13:47:36 +02:00
Javier Viguera bee97587cb orc: fix native build on ubuntu 18
Ubuntu 18 is still a supported distro for Kirkstone, but a recent update
of orc is failing the native build, because it requires a GCC version
newer than the default included in ubuntu 18.

This commit backports a fix which is part of upstream orc 0.4.40.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-24 12:34:14 +02:00
Mike Engel fe9e0d701a boot: change linux and recovery partition UUID for single mode
This commit changes the linux and recovery UUID when booting
the system in single mode.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-23 17:55:48 +02:00
Isaac Hermida 9f7a8e64ce conf: distro: remove Y2038 compilation flag from alsa-lib
Despite the recipe builds for arm, it crashes at runtime.
While on it, alphabetically sort the list of excluded packages.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-23 15:52:32 +02:00
Arturo Buzarra f08b22020c README: dey-4.0-r7 release notes
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-23 10:57:10 +02:00
Isaac Hermida 44f9fa0616 alsa-state: ccmp1: fix control settings
Fix the control settings as set by alsactl. There was a missmatch
and therefore the configuration applied was incorrect.

https://onedigi.atlassian.net/browse/DEL-8703
https://onedigi.atlassian.net/browse/DEL-9246

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-20 16:52:55 +02:00
Isaac Hermida 23ff040fc1 alsa-state: ccmp25: configure settings
Some settings were incorrectly set. Align the card settings with the
same values used in our other platforms.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-20 16:52:55 +02:00
Arturo Buzarra 909427ed4a init-ifupdown: virtwlans: add support to ConnectCore MP2 platform
https://onedigi.atlassian.net/browse/DEL-9237

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-19 13:37:01 +02:00
Arturo Buzarra 19be4782ee wpa_supplicant/hostapd: update support to include ConnectCore MP2 platform
This commit updates the wpa-supplicant and hostapd recipes to apply the Murata
release patch series for ConnectCore MP2 platform.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-19 13:37:01 +02:00
Arturo Buzarra 0d685efc41 ccmp25-dvk: add flag to support virtual wireless interfaces
CYW55512 Wireless chip supports concurrent modes and virtual wireless
interfaces like SotfAP and P2P.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-19 13:37:01 +02:00
Gabriel Valcazar 6a6e2577f1 ccmp2: don't execute task that generates flashlayout files
These are files for programming images with STM32CubeProgrammer tool. We don't
use the tool or the files. Disable the task to avoid build warnings, just like
we do for the ccmp1 platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-09-19 09:56:05 +02:00
Gabriel Valcazar a481d7225d ccmp1: change the way we disable the generation of flashlayout files
Instead of manually disabling the task, use the ENABLE_FLASHLAYOUT_CONFIG
variable which is meant for that exact purpose.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-09-18 18:15:35 +02:00
Hector Palacios 52eda79fb7 trustfence-stm-signtools: update recipe and package to latest versions
Updated package with latest versions from ST Ecosystem 5.1:
 - STM32MP_KeyGen_CLI		v2.17.0
 - STM32MP_SigningTool_CLI	v2.17.0

Changed dependency libraries in the package:
 - libcrypto.so.1.0.0 -> libcrypto.so.1.1
 - libQt5Core.so.6    -> libQt6Core.so.6

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-09-18 18:12:52 +02:00
Hector Palacios fa4d07713e psplash: use a PNG logo for psplash instead of *.h file
A preprocessed *.h Digi logo file was used for the psplash.
The psplash recipe from Poky admits a PNG file as input and
does the conversion automatically.

Use a Digi PNG logo and set it using SPLASH_IMAGES variable.
This way, it is easier for users to substitute with their own
logos.

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

https://onedigi.atlassian.net/browse/DEL-9239
2024-09-18 17:43:32 +02:00
Isaac Hermida 97dc7ddd36 pulseaudio: ccmp25: avoid speaker mute
based on commit 951f20d36b, this fix
avoids muting the speaker control.
Despite the original commit is for Headphone, it also applies, for the
ccmp25, to the Speaker control.
While on it, reword the files so the change applies to all stm platforms
by using the common machine.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-18 16:44:07 +02:00
Gabriel Valcazar ef26e935d0 sdk: bblayers.conf.sample: remove GUI-related layers from headless devices
Qt5/Qt6 and Webkit layers are specifically for functionality related with GUIs,
which aren't available for these platforms. For the moment, leave meta-webkit
in the ccimx91's bblayers, since our dynamic selinux layer has a spurious
dependency with our dey-image-webkit recipe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-09-18 12:44:27 +02:00
Javier Viguera 5adb109b62 ccimx91: configure platform as headless
This removes the psplash package from "core-image" images, which
prevents this failure onn boot:

[FAILED] Failed to start Start psplash boot splash screen.
psplash[454]: Error opening /dev/fb0

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-17 18:24:36 +02:00
Hector Palacios d545fe0a14 ccmp25-dvk: default to use dey-image-webkit on installers
This image is the one that contains the Get Started demo.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-09-17 16:27:29 +02:00
Francisco Gil e183f47816 ccimx9: bootscript: add logic to emulate a ccimx91 on a ccimx93
Based on the environment variable emulate-cc91:

* Limit the ram memory to 512MB
* Enable the overlay _ov_som_emulate-ccimx91_ccimx93.dtbo
* Disable the npu node

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-17 08:29:41 +02:00
Arturo Buzarra a5df257864 connectcore-demo-server: ccmp25: start service after bluetooth init script
ConnectCore MP25 initializes the Bluetooth interface with a init script, so
this commit adds a runtime dependency between the connectcore-demo-server and
the cyw55512-bluetooth service.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-16 22:30:01 +02:00
Javier Viguera 6107312f03 bluetooth-init: fix systemd service syntax
According to systemd manual, "After" setting expects a space-separated
list. Fix the wrong comma-separated list to prevent the following boot
failure:

  bluetooth-init.service:4: Failed to add dependency on systemd-udev-settle.service,bluetooth.service, ignoring: Invalid argument

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-16 18:58:15 +02:00
Mike Engel 6a2737136d conf: distro: add compilation flag to fix Y2038 issue
This commit adds compilation flag for ARM 32Bit architecture
to use 64Bit structure for time_t to fix the Y2038 issue
instead of 32Bit structure.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-16 12:32:56 +02:00
Francisco Gil 40c6f76859 swupdate: ccmp25: update variables to match the ccmp25 partition table
https://onedigi.atlassian.net/browse/DEL-9228

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-13 15:59:36 +02:00
Arturo Buzarra 8f0d1cc65e base-files: fix conflict with procps about sysctl.conf
This commit fixes a build issue by including the procps recipe which also
installs the sysctl.conf file. Since adding this config file in base-file
recipe is something custom from DEY, we include this file only for "dey"
distribution to avoid conflicts.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-12 13:55:26 +02:00
Francisco Gil 87f26ec0bc ccmp25-dvk: fix mount point for OVERLAYFS in read-only systems
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-12 08:52:59 +02:00
Francisco Gil ff5f7ddad4 meta-digi: ccmp2-dvk: update libdigiapix.conf
The i2c-1 has the index 0 in the linux user space.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-12 08:49:37 +02:00
Javier Viguera b6d7853fec meta-digi-dey: fix wifi-related functionality overrides for ccimx91
Some wifi-related functionality was enabled on ccimx93 overrides. The
ccimx91 also needs this functionality but it was not being applied as
the overrides were only for ccimx93.

Generalize the overrides for ccimx9.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-11 12:12:14 +02:00
Isaac Hermida b5ccc9f841 ccimx93: uboot bootscript: fix NPU overlay
When consolidating the bootscript, the variable soc_type was misspelled.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-10 12:02:59 +02:00
Arturo Buzarra f28dd88ab0 firmware-murata-infineon: add support to CYW55512 Wifi-BT single-chip combo
This commit adds support for pre-release firmware that is not ready for
production devices.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-06 10:18:07 +02:00
Mike Engel c5c0c7c966 systemd-boot: meson: Fix build with --optimization=plain
This commit fixes build issues with optimization=plain.

commit: ec35091c8a358aacbf787afb2bfab6a0996031ed

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-04 12:54:43 +02:00
Mike Engel 1699adc373 sdcard: add support to create sdcard image for CCMP2
This commit adds the necessary wks file to create an SDcard
image for the CCMP2.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-04 11:38:34 +02:00
Mike Engel 269d80105d recovery-utils: add preprocessor flag to change recovery tool usage help
This commit adds a compiler flag to remove certain options from the
recovery-utils, because some features rely on functionality that is
not supported by the CCMP1 platforms.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-04 11:34:40 +02:00
Mike Engel 11426fcb5b recovery: add initramfs into FIT recovery image
This commit adds the initramfs into the FIT recovery
image. If the RAM disk image is included in the FIT
image we need to create a initramfs file that doesn't
include the u-boot header, because the FIT descriptor
contains all the necessary information to use the
initramfs file.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-04 11:34:40 +02:00
Javier Viguera 4c33a85d6b bluetooth-init: start driver load service after bluetooth daemon
The bluetooth daemon does not need the interface to exist before being
executed. We configure the daemon with AutoEnable=true, which will enable
adapters present on start or that appear later on.

On shutdown, systemd stops services in the opposite order to the boot,
so configuring the driver load service after the bluetooth service,
ensures that on shutdown the driver is unloaded before the bluetooth
daemon is stopped.

The btnxpuart driver needs this order, to prevent a module unload failure
on system reboot/poweroff.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-30 18:22:37 +02:00
Javier Viguera 542a9aa83e iw61x wifi: use NXP's lf-6.6.23-2.0.0 on ccimx91
Both for the driver code and the firmware files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-30 16:51:40 +02:00
Javier Viguera 9c6ac2e7b8 linux-dey: add recipe for version 6.6 restricted to ccimx91
While on it, restrict recipe version 6.1 to ccimx93 so it does not get
used by ccimx91.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-30 16:47:33 +02:00
Francisco Gil 6399d0ef32 ccimx93-dvk: add overlay to simulate ccimx91
https://onedigi.atlassian.net/browse/DEL-9175

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-08-28 11:04:04 +02:00
Javier Viguera 9ec3740d51 connectcore-demo: configure board image file for ccimx91
The ccimx91 shares the board image file with the ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-26 11:29:12 +02:00
Mike Engel 1348d80e87 wic: add support to create sign SDcard image
This commit adds support to create signed SDcard
image for the CCMP1 platform.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-08-26 10:10:49 +02:00
Francisco Gil faca2439ed ccmp25-dvk: add OVERLAYFS configs for read-only
When EXTRA_IMAGE_FEATURES += "overlayfs-etc" is added these
configurations are needed to compile. They are provided with
the default configuration to work with our software.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-08-23 10:56:58 +02:00
Javier Viguera b162eac234 wayland-protocols, weston: fix compatible machine
Adjust the COMPATIBLE_MACHINE to prevent some warnings when building for
the ccimx91.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 17:11:42 +02:00
Javier Viguera 315fcbddac install_linux_fw_uuu: update script to support ccimx91
Skip the SOC revision part, as for the ccimx91, only one imx-boot is
generated.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 17:11:42 +02:00
Javier Viguera 2dd84640ac optee: add new version 4.2.0 for ccimx91
This includes optee-os, optee-client and optee-test recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 17:11:42 +02:00