Commit Graph

3835 Commits

Author SHA1 Message Date
Javier Viguera 29124cd33f meta-digi: update revisions for dey-4.0-r1.alpha1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-21 15:49:22 +02:00
Javier Viguera 53b0e2d963 u-boot-dey: remove ccimx6ul from compatible list
The CC6UL is supported in version 2020.04

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-21 15:49:22 +02:00
Javier Viguera 705c3d4f70 meta-digi: update README.md file for DEY-4.0
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-20 16:55:31 +02:00
Arturo Buzarra d09896bb67 stm-st-stm32mp: update gstreamer recipes for STM32 paltforms
gstreamer recipes was updated to v1.20.3 in poky layer, so this commit updates
the recipe version for custom bbappends.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-19 14:52:45 +02:00
Arturo Buzarra 2ec23b4128 stm-st-stm32mp: update weston recipe for STM32 paltforms
weston recipe was updated to v10.0.1 in poky layer, so this commit updates the
recipe version and refresh a custom STM patch.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-19 14:49:08 +02:00
Isaac Hermida 4c2a524d6e kernel-module-qualcomm: fix sdio unload error
https://onedigi.atlassian.net/browse/DEL-7986

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-07-18 16:57:55 +02:00
David Escalona 4b8eec17c2 images: include 'connectcore-demo-example-webkit' in webkit images
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
David Escalona a84f588cd1 meta-digi-dey: webkit: add recipe to install webkit version of 'connectcore-demo'
The Webkit version of the ConnectCore demo implements some new functionality:
- The COG browser is automatically started when the device boots loading the demo in the
  primary display.
- A new Multimedia section is available to reproduce some demo videos and WebGL examples
  in the device's browser.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
David Escalona d695a78524 images: include 'connectcore-demo-example' by default in all images
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
David Escalona 39e41c1d7f meta-digi-dey: dey-examples: add recipe to install 'connectcore-demo' example
The ConnectCore Demo is launched on startup and starts the web server. Demo can be accessed
by any computer in the LAN by just typing the IP address of the device in the web browser.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
David Escalona dc84be34bf meta-digi-dey: busybox: remove default landing web page for ccimx6ulsbc
The ConnectCore Demo web page will be the new default landing page for all products,
so remove the default landing page that was created for the ccimx6ulsbc platform.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
David Escalona cce6b23957 meta-digi-dey: webkit: remove 'digi-webkit-examples' recipe
The ConnectCore Demo will be installed by default in all the platforms, so this recipe
is no longer required.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
David Escalona f229fc7171 meta-digi-dey: webkit: move 'video-examples' and 'webglsamples' recipes to 'recipes-digi'
The video examples and WebGL samples will be part of the new ConnectCore Demo, so move these
recipes to a more appropriate folder. While on it, remove dependencies with 'digi-webkit-examples'
recipe as it will be obsoleted.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-18 16:32:25 +02:00
Arturo Buzarra 7c245cbd68 wpa_supplicant: update Murata wireless support to release v5.10.9-2022_0511
https://onedigi.atlassian.net/browse/DEL-8025

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-18 15:37:04 +02:00
Isaac Hermida d7f3991209 cloudconnector: add init service
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: David Escalona <david.escalona@digi.com>
(cherry picked from commit ccc9211d00dad7be6cb2c2d0cf179a62563e26c6)
2022-07-15 09:25:25 +02:00
Arturo Buzarra 91c9c06cd0 firmware-murata: update firmware binaries to version imx-hardknott-drogon_r1.0
This commit updates the required firmware binaries for bluetooth and wireless
interfaces, based on the release imx-hardknott-drogon_r1.0 (Wireless firmware
v13.10.246.265)

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-15 07:57:02 +02:00
Javier Viguera 17e12fe926 nativesdk-packagegroup-sdk-host: fix SDK build for ccmp15
Building a toolchain/SDK fails for ccmp15-dvk, because the NXP-based
trustfence tools (for example the cst) are not available. Fix the build
by filtering out those tools when the build platform is not NXP based.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-14 15:44:41 +02:00
Javier Viguera f9a4103459 stm-st-stm32mp: configure properly qtbase compilation
Otherwise it fails with: ERROR: The OpenGL functionality tests failed!

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-14 15:44:41 +02:00
Javier Viguera 0c7b49c3ab meta-digi-dey: add STM dynamic layer support
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-14 15:44:33 +02:00
Arturo Buzarra 64b965637c libdigiapix: ccmp15: fix user LED and buttons
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-13 12:47:12 +02:00
Javier Viguera 69e961b857 meta-digi-arm: use latest version of IMX firmware
Copied from meta-imx

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:53 +02:00
Javier Viguera 5c0a8c0040 meta-digi-arm: update/refresh fsl-eula classes from meta-imx
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:43 +02:00
Javier Viguera 83e845c10f meta-digi: use last version of NXP's EULA
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:33 +02:00
Javier Viguera efb2ec4b7b networkmanager: clean up bbappend
NetworkManager package moved from autotools to meson build system, so
some of the configs we added in the bbappend do not apply anymore.
Remove dead code and clean up the bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:23 +02:00
Isaac Hermida a2ed98ef58 greengrass: update packet dependencies
https://onedigi.atlassian.net/browse/DEL-8013

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-07-12 15:48:20 +02:00
Isaac Hermida 8071290c75 networkmanager: enable option for compiling with connectivity check
concheck is now activated as PACKAGECONFIG, so adapt the recipe.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-07-11 11:14:25 +02:00
Javier Viguera 6a364ab3d2 Revert "openssh: do not create an empty openssh-dev package"
An equivalent fix has been committed in Poky, so this is no longer
needed in our layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-08 18:41:25 +02:00
Javier Viguera 90b3c244da meta-digi: do not install kernel image in rootfs
It's just a waste of space as we already have the kernel image in the
'linux' partition and that gets mounted under /mnt/linux.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-08 13:23:58 +02:00
Isaac Hermida d0ec5c7aab lib/openssl: relax ciphers allowed with openssl-3.0
We need to relax what ciphers are allowed with openssl-3.0 so that we do
not break Digi/RM. See DAL commit ec586a621c24f840ac7cc4f91241c55581698ba3

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-07-07 12:08:42 +02:00
Javier Viguera f6d9a65d4a meta-digi: remove python2 layer from project templates
No recipe is using python2, so remove the layer from the project
configuration files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 14:49:36 +02:00
Javier Viguera d671fe15a0 meta-digi-dey: remove obsolete python2 based recipe
This is the only python2-based recipe in our layer, so remove it to be
able to remove the 'meta-python2' layer from DEY as well.

Apparently it was introduced for some Optee dependence and it was used
in previous versions of 'meta-imx', but 'meta-imx' removed it as well
for Kirkstone, so we do the same here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 14:49:01 +02:00
Javier Viguera 5970bcb29f ccmp15-dvk: cosmetic, delete dead code from config template
DEY_BUILD_PLATFORM (with correct spelling) is defined in the machine
config files, so there is no need to define it again here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 13:29:03 +02:00
Javier Viguera bbe014e058 mkproject: fix STM EULA path and enabling
Building some packages from the ccmp15 requires the acceptance of the
STM EULA. Add the acceptance lines to the config template and fix the
path to the EULA en the mkproject script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 13:29:03 +02:00
Javier Viguera 153048c2a7 trustfence-cst: restrict package to native/nativesdk
The recipe fails to build for the target, but that is expected, as this
is a tool you need to run in the host or from the toolchain/SDK, so
rework the recipes to restrict only for native and nativesdk.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 11:58:57 +02:00
Javier Viguera 47215862cf trustfence-cst: fix build in DEY 4.0
Yocto 4.0 only supports OpenSSL 3.0.x while NXP's CST (code signing
tool) is still using OpenSSL 1.1.x. So the build fails when using the
Yocto-build OpenSSL. Instead, build OpenSSL 1.1.1 as part of the build of
the CST and link statically against libcrypto, so the resulting binaries
(cst, srktool) do not depend on any specific OpenSSL version installed
on the development computer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 11:58:21 +02:00
Gonzalo Ruiz ba035acb22 trustfence: add Trustfence tools in default toolchain
In order to perform the standalone signature process, it was required
to rebuild the Toolchain with Trustfence support enabled.

CST source code is now available for downloading in the Digi FTP, so add
Trustfence sign scripts and cst/srktool to the default toolchain for it
to be used for standalone signature without rebuilding.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit 2c9b721fb9ce38dcd0034e22d95db6e0ee068955)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-05 17:36:12 +02:00
Arturo Buzarra 3c47480f49 ccmp15-dvk: add graphical support with wayland/weston
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Arturo Buzarra 9248204aa6 dey.conf: fix graphical backend for images with wayland without x11
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Arturo Buzarra d261ba301b stm-st-stm32mp: add packagegroup-dey-gstreamer to support STM platforms
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Arturo Buzarra ee2a28f3cc stm-st-stm32mp: add support to gstreamer1.0 recipes for STM32 paltforms
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Arturo Buzarra bdb42db0f1 stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Arturo Buzarra 9a2eb7ea5f linux-dey: add ConnectCore MP15 support to kernel v5.15
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Arturo Buzarra 0aca74ab23 kirkstone migration: remove legacy clutter-1.0-examples package
Since Yocto 3.4 the package "clutter-1.0" was considered a legacy component,
and moved to meta-gnome.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-06-29 12:31:11 +02:00
Javier Viguera 34625f886f openssh: do not create an empty openssh-dev package
When building an SDK (with populate_sdk), all '-dev' packages are
installed. And empty 'openssh-dev' package would pull in 'openssh-sshd'
package even if our image is only depending on 'openssh-sftp'.

This causes a conflict with 'dropbear' server, which is only using
openssh-sftp.

Fix:

Problem: package dropbear-dev-2020.81-r0.4.cortexa7t2hf_neon requires dropbear = 2020.81-r0.4, but none of the providers can be installed
 - package dropbear-2020.81-r0.4.cortexa7t2hf_neon conflicts with openssh provided by openssh-8.9p1-r0.7.cortexa7t2hf_neon
 - package openssh-8.9p1-r0.7.cortexa7t2hf_neon conflicts with dropbear provided by dropbear-2020.81-r0.4.cortexa7t2hf_neon
 - package openssh-dev-8.9p1-r0.7.cortexa7t2hf_neon requires openssh = 8.9p1-r0.7, but none of the providers can be installed
 - conflicting requests

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-28 17:16:09 +02:00
Arturo Buzarra 814cc5043e wpa-supplicant: enable support for WPA3-Enterprise
This commit integrates by default support to WPA3-Enterprise modes
128-bits (WPA-EAP-SUITE-B) and 192-bits (WPA-EAP-SUITE-B-192)

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-06-28 15:04:06 +02:00
Javier Viguera 7dae6a5c4e wpa-supplicant: refresh build defconfig for version 2.10
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-28 14:58:35 +02:00
Isaac Hermida b54922a9b9 kernel-module-qualcomm: p2p and netdev patches
The enable p2p patch add support for enabling p2p as module parameter setting
it by default to false.
The cfg80211 netdevice fixes the registration of virtual interfaces for kernels
v5.12+.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-06-27 09:44:41 +02:00
Javier Viguera 91e6b56735 bluez: fix type of pcm_value and ibs_value variables
Those variables are used to hold integer data parsed from bluetooth
config file. The parsing function "get_value_from_config" returns an INT,
so the variables cannot be unsigned.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-23 11:12:54 +02:00
Javier Viguera c6b55f492f linux-libc-headers: use Poky's default version 5.16
Also, fix the sequence number of the GPIO_SET_DEBOUNCE_IOCTL ioctl. Same
fix has been done in Linux.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-22 15:44:49 +02:00
Javier Viguera 33f881806a uboot: install scripts: fix u-boot image for variants 0x09 and 0x0a
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 16eded4f0edcc603de83be7155f7c09718ba5ddd)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:56:27 +02:00