Commit Graph

4078 Commits

Author SHA1 Message Date
Javier Viguera 3f6d5fc218 pulseaudio: remove duplicated patch integrated in meta-freescale
This patch has been integrated in meta-freescale's bbappend for
pulseaudio, so having it also in our bbappend results in Yocto trying to
apply it twice, which obviously fails and breaks the build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-06 18:24:44 +02:00
Javier Viguera 4dd6ea0213 imx-digi-base: update imx gstreamer version
The recipes have been updated in meta-freescale, and version 1.18.5.imx
is no longer available.

Follow same change in meta-freescale's "conf/machine/include/imx-base.inc".

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-06 18:24:32 +02:00
Javier Viguera ecb0823615 crank images: fix build on ccmp15
The crank storyboard engine is provided in binary format. The RPM
package manager that creates the rootfs needs and explicit runtime
provider for 'libEGL.so', which in the ccmp15 is provided by the
'libegl-gcnano' runtime package.

Fix build failure:

--> Finished dependency resolution
Error:
 Problem: package packagegroup-dey-crank-1.0-r0.0.ccmp15_dvk requires crank-sbengine, but none of the providers can be installed
  - conflicting requests
  - nothing provides libEGL.so needed by crank-sbengine-7.1-r0.3.ccmp15_dvk

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-06 12:48:42 +02:00
Javier Viguera 6d425d407e udev-extraconf: fix udev rule to prevent spidev module autoload
The modalias changed as part of the kernel update to version 5.15.

See commit dd545833b773b20aa7cec10f89bff96014ccb64f in kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-05 18:22:40 +02:00
Javier Viguera caacf056ab digi-defaults: add crank image to the list of graphical images
This fixes a failure in the firmware installation script when trying to
program crank images:

./install_linux_fw_uuu.sh -i dey-image-crank

[ERROR] Could not find file 'dey-image-crank-ccimx6ulsbc.boot.ubifs'
[ERROR] Could not find file 'dey-image-crank-ccimx6ulsbc.recovery.ubifs'
[ERROR] Could not find file 'dey-image-crank-ccimx6ulsbc.ubifs'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-05 18:22:40 +02:00
Javier Viguera 69f4956f7a u-boot: cc6ul: install script: increase rootfs programming timeout
For the CC6UL 1GB flash variant, the programming of the rootfs exceeds
the current 90 secs timeout, giving following failure:

[Bulk(R):LIBUSB_ERROR_TIMEOUT] fb[-t 90000]: ucmd update rootfs ram ${fastboot_buffer} ${fastboot_bytes} -e
Error: Bulk(R):LIBUSB_ERROR_TIMEOUT

Increase the timeout to prevent the failure.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-05 18:22:21 +02:00
Javier Viguera f5964b0f97 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-02 17:37:46 +02:00
Javier Viguera 33c7d69b3e meta-digi: update revisions for dey-4.0-r1.beta1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-02 17:34:14 +02:00
Javier Viguera b2bc9539b7 wolfssl: add basic instructions to use FIPS-validated version
https://onedigi.atlassian.net/browse/DEL-8036

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-02 11:21:44 +02:00
Javier Viguera 52bececebc wolfcrypttest: fix for FIPS enabled wolfSSL library
FIPS does not support MD5

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-01 19:12:17 +02:00
Javier Viguera df327f8757 wolfcrypttest: define "long" and "long long" type size
To prevent runtime error:

Sizeof mismatch (build) 0 != (run) 2
Build vs runtime math mismatch
 error = -1000

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 17:30:36 +02:00
Javier Viguera b8e4507070 meta-digi-arm: add FIPS supported wolfssl recipe
We don't want the FIPS version of wolfssl to be used by default, so
the recipe is configured as:

DEFAULT_PREFERENCE = "-1"

Unfortunately, DEFAULT_PREFERENCE has lower precedence than the layer
priority, so we need to put the recipe in a layer with priority less
or equal to the other layers having wolfssl recipes (meta-openembedded,
meta-wolfssl). This means in our case using 'meta-digi-arm' instead of
'meta-digi-dey', in which conceptually would fit better.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 17:30:36 +02:00
Javier Viguera 1565cacc10 meta-digi-arm: support wolfssl dynamic layer
https://onedigi.atlassian.net/browse/DEL-8036

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 17:30:36 +02:00
Javier Viguera a60ea88441 stm-st-stm32mp: update weston bbappend and patches to version 10.0.2
Base recipe in Poky has been updated to that version, so we need to
update the bbappend to prevent a bitbake parsing failure.

NOTE: to review the patches once they are updated in
'meta-st-openstlinux'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 12:48:11 +02:00
Javier Viguera 526cb3cae0 weston: remove deprecated recipe
meta-freescale updated to version '10.0.0.imx', so our bbappend fails
with:

ERROR: No recipes in default available for:
  ... meta-digi-dey/dynamic-layers/freescale-layer/recipes-graphics/wayland/weston_9.0.0.imx.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 11:58:36 +02:00
David Escalona a6f56bad1a meta-digi-dey: python3-connectcore-ble: add recipe to compile Python ConnectCore BLE library
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-08-29 17:49:42 +02:00
David Escalona 02a8f24a60 meta-digi-dey: python3-bluezero: add recipe to compile Python Bluezero module
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-08-29 17:49:42 +02:00
David Escalona e80289cd77 meta-digi-dey: python3-srp: add recipe to compile Python SRP module
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-08-29 17:49:42 +02:00
David Escalona 76e6436ddf meta-digi-dey: python3-xbee: update XBee Python library recipe to version 1.4.1
While on it, merge the 'inc' file into the recipe as it was only used there.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-08-29 17:49:42 +02:00
Javier Viguera 8fd10837e6 bluez: update bbappend and patches to version 5.65
Poky just updated to that version, so we need to do the same. Otherwise
the build fails.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-29 15:23:35 +02:00
Tatiana Leon 8a81dd87f8 crank: add new crank image
https://onedigi.atlassian.net/browse/DEL-7969

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-26 13:34:59 +02:00
Tatiana Leon 93e69dfb3e crank: recipe for crank demos
This recipe downloads a tarball with Crank demos
(http://log-sln-jenkins.digi.com/yocto/downloads/crank-demos-7.1.tar.gz)

NOTE: Currently it will only includes the 'Thermostat' sample.

It installs these demos inside '/usr/share/crank/apps' and configures one of
them (Thermostat application) to be launched on boot.

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

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-26 13:34:59 +02:00
Tatiana Leon 37f67132bd crank: recipe for crank storyboard engine
This recipe downloads a tarball with the pre-built Crank engines for DEY
devices (http://log-sln-jenkins.digi.com/yocto/downloads/crank-sbengine-7.1.tar.gz):
  * ConnectCore 8M Mini
  * ConnectCore 8M Nano
  * ConnectCore 8X
  * ConnectCore 6UL
  * ConnectCore 6
  * ConnectCore MP1x

It installs the corresponding engine inside '/usr/share/crank/sbengine' and the
launcher script '/usr/bin/sb-launcher'.

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

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-26 13:34:59 +02:00
Tatiana Leon 7a06747017 tslib: crank: add 'libts-1.0.so.0' link to the tslib package
Required for some Crank engine libraries. They are linked against
'libts-1.0.so.0' instead of 'libts.so.0'.

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

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-25 18:30:13 +02:00
Tatiana Leon 25c699e05b wayland: crank: add 'libwayland-egl.so' link to the wayland package
Required for some Crank engine libraries. They are linked against libwayland-egl
library without version, 'libwayland-egl.so'.

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

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-25 18:19:27 +02:00
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