Commit Graph

2384 Commits

Author SHA1 Message Date
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
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
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 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 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 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
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 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
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
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
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 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
Isaac Hermida 0c642ed7ec Update Digi Copyright header
Standarize the Copyright header according to company policy.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-07-15 09:28:58 +02:00
Francisco Gil 35cf4d61bc meta-digi: update revisions for dey-4.0-r6.1
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-07-02 10:19:59 +02:00
Javier Viguera 17658bdffa Merge branch 'dey-4.0/master' into dey-4.0/maint
Merges Trustfence file-based encryption support.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-06-28 12:14:26 +02:00
Gabriel Valcazar 8fad761961 ccimx6ul: install_linux_fw_uuu.sh: increase timeouts to account for large NANDs
When running the installation script on variants with larger NANDs, two of the
script's commands take longer than our intended timeouts under specific
circumstances:

    * When the variant has a NAND with 512 MiB or more and singlemtdsys is set
      to "yes", running ubivolscipt takes longer than our 10 second timeout.
      The larger the NAND storage size, the longer this command takes.
    * When the variant has a 1 GiB NAND, singlemtdsys is set to "yes" and
      dualboot is set to "no", the update of the recovery UBI volume takes
      longer than our 15 second timeout.

In both of these cases, the script fails and the installation process cannot
continue. Apply the following changes to prevent this:

    * Increase the ubivolscript timeout from 10 seconds to 30
    * Increase the recovery update timeout from 15 seconds to 20

Also, remove the command immediately before ubivolscript is run, since said
command is already being run at the beginning of ubivolscript.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-06-27 17:48:10 +02:00
Javier Viguera ac23714967 optee-client: change secure storage path when TF is enabled
By default, the secure storage path in the REE is "/var/lib/tee". It is
part of the rootfs, and thus, it gets lost on a firmware update.

This commit changes that path to a different partition "/mnt/data/tee"
when Trustfence file-based encryption is enabled.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-06-27 15:41:00 +02:00
Javier Viguera 3c1f32f09a optee-os: add SDK environment script to build trusted applications
Building Optee trusted applications (TA) depends on optee_client and the TA
devkit provided by optee_os. Our toolchain provides those dependencies, but
the SDK script which configures the environment for standalone building,
is not configuring some variables needed to build trusted applications.

This commit extends the SDK environment script to allow building TAs.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-06-27 15:41:00 +02:00
Isaac Hermida fbe6481cd3 kernel-module-qualcomm: add lock file to avoid endless call to script in failure
Add a lock file to avoid to call the file continuously if the initial probe
failed.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-06-27 11:18:11 +02:00
Isaac Hermida b4f48a6361 kernel-module-nxp-wlan: rebind mmc node if wlan load failed
Occassionally, the loading the WiFi driver might fail, because of the
MMC node was not correctly initialized.
Fix that by rebinding the MMC node. This fix implements a similar workaround
as in c30b947408.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-06-27 11:18:11 +02:00
Gabriel Valcazar e0be8c3a1f ccimx6qpsbc: add missing "if" condition terminator in UUU install script
One of the conditions used to determine the U-Boot file was missing its
terminator, breaking the script.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 26dc437a25)
2024-06-26 12:16:22 +02:00
Hector Palacios f55c084064 libubootenv: flush changes to fw_env.config on post inst script
On devices with NAND as storage media, a post install script
modifies the fw_env.config file basing on the NAND geometry.
This only happens once after deployment, typically on production
environments. If the power is removed soon after the post install
script runs (which is a normal procedure on manufacturing
environments), there are chances that pending file system
operations have not been flushed, which may occasionally lead
to the fw_env.config file end up empty on the next reboot.

This commit adds a sync at the end of the post-install script
to guarantee the changes are written to the file system.

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

https://onedigi.atlassian.net/browse/DEL-9059
2024-06-26 11:25:23 +02:00
Gonzalo Ruiz 731bee3498 ccimx93-dvk: rename overlay for DLC0200CCP04DF-2 MIPI display
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-06-24 12:29:19 +02:00
Gonzalo Ruiz dead98301b ccimx93-dvk: add overlay for NHD-3.5-640480EF-MSXP MIPI display
https://onedigi.atlassian.net/browse/DEL-9036

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-06-24 12:25:15 +02:00
Javier Viguera 18c0c69314 Merge branch 'dey-4.0/master' into dey-4.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-06-21 14:44:59 +02:00