Commit Graph

4635 Commits

Author SHA1 Message Date
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
Javier Viguera e8a99542f3 imx-boot: add support for ccimx91
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 15:18:37 +02:00
Javier Viguera 2c9cc2c0ff firmware-ele-imx: add new version 0.1.2 recipe for ccimx91
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 15:18:37 +02:00
Javier Viguera 63c0702508 imx-atf: add new version 2.10 recipe for ccimx91
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 15:18:37 +02:00
Javier Viguera 07646c5c57 u-boot-dey: add new version v2024.04 recipe for ccimx91
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-22 15:18:37 +02:00
Hector Palacios b1adc08178 bootcount: fix segfault by checking the funcs are not NULL
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-08-22 08:29:37 +02:00
Hector Palacios aad224ef28 bootcount: add support to ccmp25 platform on external RTC on I2C1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-08-21 17:37:32 +02:00
Mike Engel 16525cca53 swupdate: enable SWU authentication when Trustfence is enabled
This commit enables SWU image authentication when TrustFence
is enabled instead of when signing of images is enabled.
This allows the system to authenticate SWU images on images that
have been externally signed.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-08-07 10:03:07 +02:00
Arturo Buzarra 6f15713cc4 dey-image-installer: add USB driver installation script for ccmp2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-30 22:22:09 +02:00
Arturo Buzarra 795d1afbee ccmp25-dvk: add boot artifacts to deploy into the zip installer
This commit adds the boot artifacts required to perform a full firmware deploy.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-30 22:15:10 +02:00
Francisco Gil d202de613c meta-digi: ccmp2-dvk: update libdigiapix.conf
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-07-30 10:42:02 +02:00
Francisco Gil 06b37d8c9c libdigiapix: ccimx9: add missing spi entry in libdigiapix.conf
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-07-30 10:41:58 +02:00
Javier Viguera 2a9e657e0f ccmp25: implement firmware deployment scripts
https://onedigi.atlassian.net/browse/DEL-9120

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-07-25 19:18:47 +02:00
Javier Viguera 5ba3466c08 ccmp25: generate symlinks to final boot artifacts
DEY generates the ccmp25 boot artifacts on subdirectories of the main
deploy folder. The firmware installation script expects to have them on
the deploy directory, so create the proper symlinks.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-07-25 19:18:27 +02:00
Gonzalo Ruiz 0b6b220804 libubootenv: ccmp2: define same 'fw_env.config' as in ccimx9
Both CC93 and CCMP2 store the environment at the end of BOOT1 partition
and the redundant environment at the end of BOOT2 partition. Reuse the
'fw_env.config' file defined for CC93 for both platforms, and also include
CC91 in the process.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-07-24 11:58:41 +02:00
Arturo Buzarra c7cfefc6fe u-boot-dey: ccmp25: fix boot script to correctly parse HWID
In CCMP2 the HWID is stored in 3 consecutive fuse words, now the third word has
the following scheme:

  | 31..18 | 17 |   16  |15..12|  11..7  |6..3| 2..0 |
  +--------+----+-------+------+---------+----+------+
  |   --   | BT | Wi-Fi |  RAM | Variant | HV | Cert |
  +--------+----+-------+------+---------+----+------+

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-23 14:10:39 +02:00
Arturo Buzarra bf183f4093 build.sh: add support for ConnectCore 91 DVK platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-23 10:17:30 +02:00
Hector Palacios c7b3d672b2 alsa-state: add default ALSA files for ccmp25-dvk
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9020
2024-07-22 17:12:33 +02:00
Hector Palacios b4be514857 alsa-state: remove SRC_URI appends for existing asound.state
The main recipe already contains this file on the SRC_URI.
No need to append for every platform.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 1d29e40d23 meta-digi: integrate ConnectCore MP25 DVK platform on common recipes
Add initial support on common DEY recipes for ConnectCore MP25 DVK platform.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra cbc949447d linux-dey-6.1: add support to ConnectCore MP25 DVK platform
Add support based on v6.1.28 kernel version from STM release
openstlinux-6.1-yocto-mickledore-mp2-v23.12.06.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 380bbf3b47 stm-st-stm32mp: weston: fix check-gpu support to ConnectCore MP25 DVK platform
Add support based on STM release openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra b6f877ba10 stm-st-stm32mp: mesa: add support to ConnectCore MP25 DVK platform
Add open-source implementation of the OpenGL API support based on v23.0.3
version from STM release openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 90f103a916 stm-st-stm32mp: gcnano: add support to ConnectCore MP25 DVK platform
Add GPU support based on v6.4.15 version from STM release
openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 0ad2b42f93 stm-st-stm32mp: tf-a: add support to ConnectCore MP25 DVK platform
Add support based on v2.8 version from STM release
openstlinux-6.1-yocto-mickledore-mp2-v23.12.06.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 7d660349e8 stm-st-stm32mp: optee: add support to ConnectCore MP25 DVK platform
Add support based on v3.19.0 version from STM release
openstlinux-6.1-yocto-mickledore-mp2-v23.12.06.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 28bcfecfaf uboot: add support to ConnectCore MP25 DVK platform
Add initial support cloned from ccmp15, based on v2022.10 from STM release
openstlinux-6.1-yocto-mickledore-mp2-v23.12.06.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Arturo Buzarra 9d5ce6c707 meta-digi-arm: add support for ConnectCore MP25 DVK platform
https://onedigi.atlassian.net/browse/DEL-8995

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Hector Palacios 9af1e6c322 bump version to dey-4.0-r7
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-07-19 13:35:30 +02:00
Hector Palacios 22238772ee Merge tag 'dey-4.0-r6.1' into dey-4.0/master
Digi Embedded Yocto 4.0-r6.1

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-07-19 13:35:27 +02:00
Mike Engel d11b291f9a meta-digi: add new CCMX91 platform into DEY
This commits adds the CCMX91 platform to the DEY
build system. Furthermore, it creates generic ccimx9
support to be used for the CCiMX91 and CCiMX93
platform.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-07-19 07:32:00 +02:00
Hector Palacios 9ef54b7b8e optee-os-stm32mp: use OTP HUK when TrustFence enabled
When TrustFence is enabled, use the HUK programmed on the OTP
bits for the ccmp15 platform.

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

https://onedigi.atlassian.net/browse/DEL-9121
2024-07-16 08:09:56 +02:00