Commit Graph

4210 Commits

Author SHA1 Message Date
Isaac Hermida 43ea95739a tensorflow-lite: add support for version 2.10
Backport tensorflow-lite recipes from NXP's lf-6.1.1_1.0.0 release (Langdale based)

https://onedigi.atlassian.net/browse/DEL-8137
https://onedigi.atlassian.net/browse/DEL-8563

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-26 14:48:57 +02:00
Isaac Hermida 4f659d2094 eiq-examples: add eiq tools
Backport EIQ examples recipe from NXP's lf-6.1.1_1.0.0 release (Langdale based)

https://onedigi.atlassian.net/browse/DEL-8137
https://onedigi.atlassian.net/browse/DEL-8563

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-06-23 08:43:55 +02:00
Isaac Hermida 130a5c796c ccimx93: add support for NPU dtb overlay
Load the NPU overlay based on the CPU model.

https://onedigi.atlassian.net/browse/DEL-8565
https://onedigi.atlassian.net/browse/DEL-8563

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-06-22 16:03:16 +02:00
David Escalona a04af0cbc1 meta-digi-dey: swu-images: simplify sw-description file
The fact of including both storage types (mtd and mmc) in the same 'sw-description' file is not providing any kind
of benefit. Instead, it makes the file larger, complex and harder to maintain. Additionally, most of the images
entries share the same structure and contents, changing only names and mount points. This commit simplifies the
'sw-description' file by configuring the storage type and the images to include in the SWU package at build
time, using a generic 'sw-description' template and template files for 'mmc' and 'mtd' images.

While on it, use the new 'DEY_FIRMWARE_VERSION' variable for SWU package version and fix the recipe to not include
all 'SRC_URI' files in the SWU update image, but only the required files for the update. Also, make use of variable
substitution provided by SWU class in the 'sw-description' file.

Note: SWU U-Boot update will be broken after this change. Waiting for official support with a robust implementation.

https://onedigi.atlassian.net/browse/DEL-8537
https://onedigi.atlassian.net/browse/DEL-8538

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-06-21 18:23:50 +02:00
David Escalona 96af1bd3de meta-digi-dey: dey-image: add new 'sw-versions' file to track system firmware version
https://onedigi.atlassian.net/browse/DEL-8574
https://onedigi.atlassian.net/browse/DEL-8575

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-06-21 18:23:50 +02:00
David Escalona a3bbd8a56f meta-digi-dey: sysinfo: include the new firmware version variable in the 'sysinfo' report
While on it, rename the old "Firmware" variable to "DEY version", as it refers explicity to the DEY
distribution version.

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

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-06-21 18:23:50 +02:00
David Escalona ce14f12ac5 meta-digi-dey: fw_version: add new variable to store global system firmware version
https://onedigi.atlassian.net/browse/DEL-8539

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-06-21 18:23:50 +02:00
Tatiana Leon 6e30a8127e cloudconnector: set 'MACHINE' as the default device type
If 'CC_DEVICE_TYPE' is not defined or it is empty use 'MACHINE' as the device
type in the Cloud Connector configuration file.

This commit also limits its length to a maximum of 255 characters.

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

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-06-21 16:57:27 +02:00
Gonzalo Ruiz 82877e9840 firmware-murata: install the FCC.CE specific hcd patch
There are two different firmware files for Bluetooth on Murata's type2AE
module:

- JRL: It configures a Bluetooth TxPower of 7dB, to be used in Japan
only.
- FCC.CE: It configures a Bluetooth TxPower of 5dB, to be used in the
rest of the world.

To comply with the FCC requirement that it should not be possible to
configure different regulatory domains, or in this case configurations,
than FCC, only deploy the FCC.CE file by default:

- BCM4373A0_FCC.CE.hcd (md5sum: 1e287a3ab7f83e59352cb321315ea80f)

This file reports the following information during boot time:

 Bluetooth: hci0: 89373 UART 37.4 MHz wlbga_BU sLNA muRata Type 2EA 5dBm 20220608-0103
 Bluetooth: hci0: BCM4373A0 (001.001.025) build 0155

JRL file will be added via the Worldwide DEY patch addon that customers
can request from Digi.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2023-06-21 12:51:07 +02:00
Mike Engel 1122980ab9 trustfence: add ccimx6qp platform to the sign tool
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-06-20 16:46:16 +02:00
Javier Viguera 5e3896d358 optee-os: configure build platform for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-20 13:58:46 +02:00
Javier Viguera 4e4151fdb3 linux-dey: add recipe for version 6.1
Also move ccimx93 compatibility to the new version.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-20 13:42:33 +02:00
Javier Viguera 63b7e03574 linux-dey: no functional change, abstract more code to include file
The only user of 'linux-dey-src.inc' was the linux recipe itself, so
instead rename that file to a more generic 'linux-dey.inc' and include
more common code in that renamed file.

This is in preparation for the new linux 6.1.1 recipe for the ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-20 13:42:33 +02:00
Javier Viguera 0cdde6679f firmware-sentinel: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera 2f94d466c3 firmware-imx: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera fd2f9ea2b2 imx-atf: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Remove patch file "0001-Makefile-Suppress-array-bounds-error.patch"
for ccimx93, as it is already included in the lf-6.1.1_1.0.0 revision.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera 88d7cc0a77 imx-boot, imx-mkimage: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Javier Viguera 1662950b57 optee: update to NXP's lf-6.1.1_1.0.0 release for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-06-16 16:19:28 +02:00
Francisco Gil 4bc8a8df96 weston: readonly: change default log path to /tmp/
Weston is not launched in read-only filesystem because /home/root
is not a writable path.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-15 10:48:25 +02:00
Gonzalo Ruiz ab0209f6f5 firmware-murata: add US-only CLM blob
Replace the CLM blob file from Github, which supports several countries
with a custom US-only CLM blob file. This way, default images will only
have support for US regulatory domain, therefore complying with FCC
requirements.

The Worldwide CLM blob file will be provided by Digi International on
request.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2023-06-08 17:36:11 +02:00
Francisco Gil 02f7753918 udev: dualboot: include linux_a/b to partitions to be mounted as ro
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-07 16:36:54 +02:00
Mike Engel 33bad0022e qtmultimedia: add QT environment variable for camera support
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-06-06 16:06:00 +02:00
Mike Engel d4c8c2ba31 qtbase: change profile script for QT6
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-06-06 16:06:00 +02:00
Francisco Gil 8fa29e7698 libubootenv: readonly: add hardcoded configuration for readonly systems
We can't run a post installation script in a readonly file system.

We need to provide a configuration file beforehand.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-06 13:07:37 +02:00
Francisco Gil cf5abf9c62 readonly: add default configuration for overlayfs_etc
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.

The user can modify them in their local.conf if needed.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-06 13:05:51 +02:00
Francisco Gil 3d3ba69b08 update-firmware: squashsf: modify the logic to include the ro systems
In a squashfs the mount points are different and the current logic
wasn't working.

It's more reliable to check the /proc/cmdline to determine if
the system is a nand or an emmc.

Added also logic to get the active partition in nand devices
when the rootfs is squashfs.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-06 13:04:21 +02:00
Francisco Gil 6a70b52356 sw-update: read-only: modify swu descriptor for squashfs rootfs
When a squashfs image is flashed we need to delete the compression
field in the swupdate descriptor.

Also the rootfstype u-boot variable needs to be set to squashfs.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-06 13:04:21 +02:00
Francisco Gil f32c53b639 read only: add rootfs_ext for read only filesystem
When the swu package is generated it needs the right
extension of the rootfs to be formed.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-06-06 13:04:21 +02:00
Gabriel Valcazar fbe44ac1c6 bblayers: replace meta-qt5 with meta-qt6 for ccimx6/6qp
https://onedigi.atlassian.net/browse/DEL-8542

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar 26798cfb93 imx-gpu-viv: avoid pulling in kernel-module-imx-gpu-viv
We used to use BAD_RECOMMENDATIONS to remove this package in ccimx6 builds,
we enable the imx-gpu-viv driver as built-in in our kernel, but this method
isn't working anymore. Instead, undo the specific RRECOMMENDS that pulls the
module in.

Apply the change for the aarch32 version of the package only, since this change
is only needed for the ccimx6 platforms.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar 9c4bf2e744 ccimx6: define values for BOOTABLE_FILENAME and SDIMG_BOOTLOADER
These variables are used to generate .sdcard images, and without them, said
generation will fail.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar d2ec905166 dtc: backport patch to fix gcc11 compilation error
We still need to use this downgraded version of dtc to be able to build
U-Boot v2017.03, so backport this patch to be able to build dtc with the latest
version of gcc

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar c0ef35cd95 linux-dey: add support for ccimx6/ccimx6qp
Like in the ccimx6ul, don't add the flag to build device tree overlays.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Gabriel Valcazar 1df42d39b9 sdk: mkproject.sh: remove ccimx6sbc and ccimx6qpsbc from blacklist
This allows to create projects for these platforms

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Arturo Buzarra bb8cd7e954 meta-digi-dey: bump distro version to 4.0-r4
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-06-02 12:31:18 +02:00
Gabriel Valcazar dbbceeae4b Add meta-st-stm32mpu-ai layer to ST platforms
This layer provides machine learning functionality, so include it in our
default layers so customers can use it out of the box if wanted.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-01 15:58:32 +02:00
Gabriel Valcazar 4368cfb107 Add meta-multimedia layer for ccimx8/ccimx9 platforms
NXP's machine learning packagegroup now has a dependency for gst-shark, a GPU
profiling tool which is provided by this layer. Since it's a part of a repo
that already exists in our manifest, simply add it to the default layers of all
i.MX platforms that support the machine learning feature to be able to include
its packages out of the box.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-01 15:58:25 +02:00
Arturo Buzarra a44aa6e521 ccmp15: add MCA DT overlay support
This commit modifies the boot script condition to apply the overlay for MCA
based on HWID MCA field.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-05-30 11:00:30 +02:00
Javier Viguera eecc3cf6c1 systemd-conf: configure KEY_POWER events on ccimx93
To support suspend/resume and software controlled poweroff.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-26 14:04:02 +02:00
Javier Viguera 0ef9174760 Merge branch 'dey-4.0/maint' into dey-4.0/master
This merges back tag 'dey-4.0-r3.2' + some other fixes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-26 11:27:34 +02:00
Javier Viguera 7374cd0685 build.sh: add ccimx93-dvk new platform
This allows building the new platform from GitHub.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-26 10:40:57 +02:00
Javier Viguera bc3636fd88 build-github.sh: code review, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-26 10:40:57 +02:00
Arturo Buzarra cecf694073 swupdate: refresh Digi custom patch to support swupdate v2023.05
https://onedigi.atlassian.net/browse/DEL-8554

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-05-25 13:48:22 +02:00
Mike Engel 5d263c77ec machine: swap ccmp15/13 console GPIO enable pins
This commit swaps the GPIO pin used to enable
serial console when secure console is activated.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-05-23 11:21:41 +02:00
David Escalona 88c2357dbb meta-digi-dey: python3-xbee: update recipe to compile Github code
Instead of depending on library releases in Pypi, update the recipe to compile latest
Github code. This allows to use minor fixes in DEY before a new release of the library
is available. While on it, set the 'SRCREV' to point to the last commit of the repository
for traceability.

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-05-19 17:58:00 +02:00
David Escalona bd8fbbbc2c meta-digi-dey: python3-connectcore-ble: update recipe to always compile Github code
Main development of the library will be done in Github. The Stash repository will be
used as a "security backup mirror", so update the recipe to always compile from Github.

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-05-19 17:58:00 +02:00
Arturo Buzarra e679d3821d meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-05-17 15:34:53 +02:00
Arturo Buzarra 04f8e54400 meta-digi: update revisions for dey-4.0-r3.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-05-17 15:30:24 +02:00
Mike Engel 999f4c87b5 trustfence: change CONFIG_CONSOLE_ENABLE_GPIO_NAME variable to be a string
This commits changes the CONFIG_CONSOLE_ENABLE_GPIO_NAME to be a string
and not an integer.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-05-17 09:40:52 +02:00
Hector Palacios 437dd8a331 tf-a-stm32mp: add 'w' permission to signed TF-A
By default, the signing script generates a file without 'w'
permission so DEY cannot remove it from the deploy dir on
a clean operation.
Add the 'w' permission so that DEY can remove it on clean
operations and generate a new signed file when required.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-05-15 17:09:23 +02:00