Commit Graph

5226 Commits

Author SHA1 Message Date
Arturo Buzarra 88fe8cb394 ccmp2: fix wks file to generate a bootable sdcard
This commit makes the following changes over the original wks file:
- Fixes binary names to match the OP-TEE sdcard flavor
- Fixes the fip-a/b partition UUIDs
- Set a valid rootfs size that allows flash default images

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-19 09:27:43 +01:00
Arturo Buzarra a38f9ecf89 ccmp25-dvk: set device tree file for sdcard generation
This commit defines the device tree file variable used to generate the SD card
image, fixing the build of the bootloader flavor intended for booting from an
SD card.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-19 08:50:52 +01:00
Javier Viguera d9668c0ba4 mkproject: add not supported platforms
These platforms are not officially supported in the first DEY-5.0 release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-02-18 12:11:34 +01:00
Arturo Buzarra d5028e781d trustfence-sign-tools: unify recipes based on the latest u-boot v2024.04
The sign script has been updated to support AHAB-based modules like the CCIMX8X.
As a result, there is no longer a need to maintain two separate recipes for the
signing scripts. This commit unifies them into a single recipe.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-17 13:55:56 +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 7496beb1a4 fip-stm32mp: move function to create symlinks from tf-a recipe
We had a SYSROOT_PREPROCESS_FUNCS on the tf-a-stm32mp recipe to
create symlinks to both TF-A and FIP binaries, but the FIP binaries
are now produced by fip-stm32mp recipe.
This had the effect that the files might not be ready.
Duplicate the function in the fip-stm32mp recipe and create the
symlinks for the FIP images there.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-02-12 18:45:58 +01:00
Gonzalo Ruiz bb04e6be85 meta-digi: remove unused nxp-wlan-sdk_git.inc file
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:35 +01:00
Gonzalo Ruiz a917657868 imx-secure-enclave: update to 'lf-6.6.52_2.2.0' NXP release
https://onedigi.atlassian.net/browse/DEL-9417

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:35 +01:00
Gonzalo Ruiz e357cc066a iw61x wireless: update to 'lf-6.6.52-2.2.0' release
Also, add the wifi driver patch and binaries included in
NXP's incremental release to fix the issues on release
'lf-6.6.52-2.2.0'.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:35 +01:00
Gonzalo Ruiz e6dc064126 imx-seco: update to 5.9.4.1 version
Update to 5.9.4.1 version following 'lf-6.6.52_2.2.0' NXP release.
This has not been released in meta-freescale yet, so reuse the 5.9.4
recipe and apply the changes from meta-imx.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:35 +01:00
Gonzalo Ruiz b53810551e optee: upgrade to version 4.4.0.imx
Update to 4.4.0 version following 'lf-6.6.52_2.2.0' NXP release.
This has not been released in meta-freescale yet, so reuse 4.2.0
recipes and apply the changes from meta-imx commit
900356ea1bf71854053266eec4b92adf4552624c.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:34 +01:00
Gonzalo Ruiz 18295f6df0 imx-atf: update to 'lf-6.6.52_2.2.0' NXP release
https://onedigi.atlassian.net/browse/DEL-9417

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:34 +01:00
Gonzalo Ruiz a3b40d958d imx-boot: update to 'lf-6.6.52_2.2.0' NXP release
imx-boot includes the 'imx-mkimage_git.inc' from meta-freescale, so
redefine the SRCBRANCH and SRCREV for every platform in the bbappend.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:34 +01:00
Gonzalo Ruiz 63df813395 imx-boot: ccimx8x: add patch to generate mkimage log file
https://onedigi.atlassian.net/browse/DEL-9417

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-02-11 17:15:34 +01:00
Hector Palacios 6f173e7720 digi: [costmetic] order KERNEL_DEVICETREE quasi-alphabetically
List first the overlays belonging to the SOM, then the
ones belonging to the DVK/SBC.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-02-11 08:45:48 +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 dbdaf63bfc freescale: linux-imx-headers: replace linux-imx repo with linux-dey
This recipe extracts a small set of UAPI header files form the linux-imx tree.
However, the revision these headers are extracted from is already present in
our linux fork, so bitbake is currently fetching the linux-imx repo to obtain
some files that it can also obtain from our fork. This is impractical because
the repo in question is quite large (~2.80 GiB) and only getting larger with
time.

By modifying the recipe to use our linux fork instead of NXP's, we avoid having
to fetch NXP's repo.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-06 16:42:27 +01:00
Gabriel Valcazar be5466cc51 linux-dey: move LINUX_GIT_URI definition to digi-defaults.inc
This doesn't change the behavior of the linux-dey recipe, all it does is make
the LINUX_GIT_URI variable accessible to any meta-digi recipe.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-06 16:07:52 +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 Palacios 7355aeaa96 ccmp2: reduce optee-os log level
When ST_OPTEE_DEBUG_TRACE=0, the source code default to a LOG_LEVEL=2
which prints a lot of messages on the boot log.
Reduce it to LOG_LEVEL=1.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-02-06 09:00:52 +01:00
Hector Palacios 25cdb8d2d9 ccmp2: use files in deployimgdir for the installer files
After the rework in 61eb1bfbe6 the metadata
file inside the fip/ subfolder has the default filename 'metadata.bin'.
Use the new symlinks that now live on the deployimgdir.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-02-06 09:00:52 +01:00
Hector Palacios d8599ea1ff tf-a-stm32mp: add 'uart' and 'usb' TF-A configs without programmer
These are clones of 'optee-programmer-uart' and
'optee-programmer-usb' defined in tf-a-stm32mp-config.inc but
do not require to have the STM32MP_DEVICETREE_PROGRAMMER_ENABLE=1
which causes build problems in U-Boot.

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

https://onedigi.atlassian.net/browse/DEL-9483
2025-02-06 09:00:52 +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 f95a707edc firmware-murata-infineon: make clear what files are needed by platform
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-05 12:10:20 +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 f720f68e9e imx-digi-base: reflect recent meta-freescale xwayland update to 23.2.5.imx
This removes some warnings when launching bitbake on imx platforms

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 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
Isaac Hermida 6ac00bf590 firmware-murata-infineon: add a retry to init script
The BT interface initialization is occasionally failing with the hci0
interface not being fully up.
Adding the retry solves all those initialization failures.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-03 11:39:47 +01:00
Isaac Hermida 2f5ccac0c6 firmware-murata-infineon: add service support for start/stop
https://onedigi.atlassian.net/browse/DEL-9287

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-03 11:39:47 +01:00