Commit Graph

3903 Commits

Author SHA1 Message Date
Isaac Hermida 548efe4f6f kernel-module-qualcomm: use siocdevprivate for privates ioctls
Fix the way to register custom ioctls for kernel 5.15+.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-08-18 11:43:42 +02:00
Javier Viguera d4f4b40abd kernel-module-qualcomm: remove wlan kernel module load script
The qualcomm.sh script has been losing functionality over time, to the
point that now is just loading the kernel module using 'modprobe'.

Instead, run modprobe directly from the udev rule and get rid of the
qualcomm script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-12 11:45:02 +02:00
Javier Viguera fecc12fa0b meta-digi: get rid of LOG git mirror
As that's an old VM with limited specs, there is no much gain on using
it over the canonical Stash repositories that justifies the code
overhead and the possible errors due to synchronization problems.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-11 12:23:17 +02:00
Javier Viguera cea7ab0501 linux-dey: move SRCREV to actual versioned recipes
The SRCREV may change depending on the version of the kernel, so it
cannot be a common variable for all kernel versions.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 18:04:52 +02:00
Javier Viguera 34e90d6d72 linux-dey: remove 5.10 recipe
No platform is using this version of the kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 18:04:22 +02:00
Javier Viguera b00450d8dd linux-dey: get rid of LOG kernel mirror
Use the canonical Stash repository to avoid synchronization problems
between the repo and the mirror.

Moreover the LOG mirror is hosted in an old VM machine with limited
specs, and although the transfer of the objects is faster, the counting
of the objects to transfer (which is done in the server) takes ages to
complete, so at the end, there is no time gain using the mirror.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 18:03:52 +02:00
Javier Viguera 1c0e62ab92 mkproject: add not supported platforms
These platforms are not officially supported in the first DEY-4.0
release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 13:43:48 +02:00
Javier Viguera bb82f40238 imx-alsa-plugins: convert to bbappend
The base recipe is in meta-freescale

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 13:43:48 +02:00
Javier Viguera 90a664b4ad meta-digi-dey: delete obsolete wayland-protocols recipe
Version 1.25 is available in meta-freescale

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 13:42:36 +02:00
Javier Viguera e21c78dd88 Revert "kirkstone migration: fix mesa build on ccmp15-dvk"
Not needed anymore in our layer, as this has been fixed in meta-st-stm32mp.

This reverts commit 786e5c9e56.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 11:15:49 +02:00
Javier Viguera 9e06877cc6 ccmp15-dvk: update kernel defconfig file
It has been renamed in the kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 09:53:39 +02:00
Javier Viguera 29e2f56cc5 meta-digi: remove NXP's EULA v35 configuration
This has been recently added to meta-freescale, so it's duplicated here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-09 18:11:39 +02:00
Javier Viguera 482339617b linux-dey: fix kernel build configuration
Commit 8cba3aaefb in 'meta-freescale' changed the kernel_localversion
function we are using in our kernel recipe. This leads to a not-properly
configured kernel build, where CONFIG_MODULES is disabled. That
config option is needed to build external kernel modules in other
recipes, so those recipes (kernel-module-qualcomm, cryptodev-module,
etc) fail to build.

The commit makes sure the kernel is properly configured for building by
extending the do_configure function in a "prepend".

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-08 15:36:25 +02:00
Arturo Buzarra a8d7b3c623 wpewebkit: limit number of parallel threads to fix a build issue
Building the wpewebkit recipe with more than 16 threads throws an unexpected
error "ninja: build stopped: subcommand failed.", so this commit limits it
to a safe value.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-26 12:08:04 +02:00
Arturo Buzarra 5fa91adcd6 webkit: add support for dey-image-webkit for ccmp15 platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-26 12:08:04 +02:00
Arturo Buzarra e6ab5ffd70 stm-st-stm32mp: add cairo bbappend to support EGL
This commit adds a cairo bbappend from meta-st-openstlinux layer to add support
to EGL and libgles2 graphical libaries.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-26 12:04:39 +02:00
Arturo Buzarra 56bdbaded9 ccmp15-dvk: disable use of extra partition vendorfs
By default STM layer creates extra partitions, the vendorfs partition is
reserved to save custom STM libraries and binaries, however the ccmp15 platform
does not have this additional partition, and stores all the libraries in the
rootfs.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-26 08:05:27 +02:00
Javier Viguera 3c554bbbc2 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-21 15:49:22 +02:00
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