Commit Graph

3874 Commits

Author SHA1 Message Date
Javier Viguera f56d4db107 build.sh: code review, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 14:00:20 +02:00
Javier Viguera 021e80d1e1 build.sh: remove support for building variants
This is dead code used in the past for the ccardimx28. It is not used in
any other platform, so just remove it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 13:58:13 +02:00
Javier Viguera cd9e12da32 meta-digi-dey: on CC6UL add connectcore demo only for core-image-base
If we add the demo to the graphical images (dey-image-qt) the resulting
image does not fit on the rootfs partition for the smallest variant.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-18 11:30:26 +02:00
Gonzalo Ruiz 2395378ec4 optee-os-stm32mp: enable OTP program support
Add extra configuration 'CFG_STM32_BSEC_WRITE=y' to the make line to
enable OTP write support.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2022-10-17 09:36:11 +02:00
Javier Viguera 46150cf07e linux-dey: use branch v5.15.52/nxp/master
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-13 18:16:07 +02:00
Tatiana Leon 23fe285d62 meta-digi-dey: libdigiapix: add 'bluez5' dependency required by new features
https://onedigi.atlassian.net/browse/DEL-8065
https://onedigi.atlassian.net/browse/DEL-7964

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-10-13 15:07:35 +02:00
Arturo Buzarra 3dbc5d72a3 ccmp15-dvk: add CAN1 overlay
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-11 16:48:57 +02:00
Hector Palacios 822432e87c ccmp15-dvk: rename Fusion 10" overlay to 'lvds'
This filename was wrongly named 'parallel' when it is actually
an LVDS interface.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-10-11 13:35:29 +02:00
Arturo Buzarra 269b148c60 libdigiapix: ccmp15: fix user LED for DVK v2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-10 14:40:39 +02:00
Arturo Buzarra b3d46473df ccmp1: add support to DT overlays for ccmp1 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-10 09:44:14 +02:00
David Escalona b0db58fe53 meta-digi-dey: cloudconnector: add 'json-c' dependency required by new features
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-10-07 16:49:12 +02:00
David Escalona 44a3c1a123 meta-digi-dey: dey-examples: start pulseaudio with 'connectcore-demo' example
The demo now has a "Play music" feature, which requires pulseaudio to be running in the device.
This commit checks if pulseaudio is running before starting the demo, and starts the service in
the case it is not.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-10-07 16:49:12 +02:00
Arturo Buzarra 443b5dbc1d pulseaudio: add support to ccmp1 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-05 13:05:21 +02:00
Arturo Buzarra 6efe239a23 packagegroup-dey-audio: add pulseaudio packages for non-graphical images
These packages were added only for graphical images, however it could be used
also in non-graphical environments. This commit removes this restriction.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-05 09:17:56 +02:00
Arturo Buzarra 9db258786e dey-examples: connectcore-demo: add mpg123 dependency
The latest ConnectCore demo updates introduced support for audio controls that
use the mpg123 library to manage audio on the device. This commit adds a
runtime dependency for that package.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-05 09:05:34 +02:00
Isaac Hermida 877e501076 meta-digi: revert revisions to AUTOREV
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-10-04 17:03:57 +02:00
Isaac Hermida 5209a3db06 meta-digi: update revisions for dey-4.0-r1.beta2
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-10-04 14:26:53 +02:00
Javier Viguera 77c8a448fd meta-digi-arm: remove overlayed firmware-imx recipes
These are available in 'meta-freescale'.

The only difference is that meta-freescale's recipes deletes de SDMA
firmware so the generic one provided by linux-firmware package is used.
We create a minimal bbappend to use the NXP provided SDMA firmware.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-03 16:40:11 +02:00
Javier Viguera bc38448aae dey: update dey.conf with latest changes in poky.conf
Also clean some dead code: libjpeg-turbo is the only jpeg implementation
in poky since long ago. Also "remove-libtool" is enabled by default in
bitbake so there is no need to do it in our distro configuration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-03 14:31:00 +02:00
Mike Engel 9b0f79c02f meta-digi: firmware-qualcomm: add Bluetooth Vulnerability CVE-2019-9506 resolution
This commit adds Bluetooth Vulnerability CVE-2019-9506
resolution to the firmware file.

CVE-2019-9506 is a Bluetooth key negotiation vulnerability.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-7134
2022-10-03 13:37:10 +02:00
Isaac Hermida 29b008b790 qualcomm wifi: conditionally support using firmware with CCX tags
Co-authored-by: Javier Viguera <javier.viguera@digi.com>

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 15:28:10 +02:00
Javier Viguera f3fb6e6342 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-09-30 14:47:02 +02:00
Isaac Hermida cad9ab7d1d firmware-qualcomm: fix overrides syntax
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 14:47:02 +02:00
Isaac Hermida 6a21f74dd5 firmware-qualcomm: revert back to fw used by driver qcacld-2.0
Reset the FW files to release r00006.3.470144.2a

Verbatim copy of the recipes in DEY-3.2, using command:
git restore -s dey-3.2/master -- meta-digi-arm/recipes-bsp/firmware-qualcomm

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 14:47:02 +02:00
Isaac Hermida e6cacdf75b kernel-module-qualcomm: fixes after reverting to qcacld-2.0
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-30 14:47:02 +02:00
Isaac Hermida 7493637f2e kernel-module-qualcomm: revert to driver qcacld-2.0
Verbatim copy of the recipes in DEY-3.2, using command:
git restore -s dey-3.2/master -- meta-digi-arm/recipes-kernel/kernel-module-qualcomm

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-29 13:21:00 +02:00
David Escalona bd0eadc16e meta-digi-dey: dey-examples: fix start/stop script of "connectcore-demo-example" service
The start/stop script of the service was using "killproc" and "pidofproc" functions from
"/etc/init.d/functions" to find the process PID. These functions rely on "pidof", which does
not work very well with Python scripts. Instead, use "pkill" and "pgrep" which allow to
search the executable in the full command line to retrieve the correct PID with the -f modifier.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-09-28 13:07:11 +02:00
Arturo Buzarra dda302ef77 core-image-base: remove splash package for CCMP13 platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-27 13:51:35 +02:00
Arturo Buzarra 0628f0bcdb ccmp1: explicitly set VIRTUAL-RUNTIME_initscripts to "initscripts"
Explicitly set this variable to keep some necessary scripts in /etc/init.d and
set a "softer" assignment to allow override it.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-27 13:51:05 +02:00
David Escalona 065f610952 libdigiapix: add support to build Python bindings
The library recently added support for Python bindings. This commit
adds support to compile and install these Python bindings using a
new package: 'libdigiapix-python3'.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-09-20 11:29:09 +02:00
Arturo Buzarra 7fc71fb8aa ccmp13-dvk: add CCMP1 include file with common configurations
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:40:41 +02:00
Arturo Buzarra b8e09bddc7 sdk: build: remove dey-image-aws image
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 0380161f02 meta-digi: generalize recipes to support ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 6d8b43bbe2 libdigiapix: add support to ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 609b97328e modemmanager: add support to ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 1dc17d0d81 uboot: add support to ConnectCore MP13 DVK platform
Add initial support cloned from ccmp15-dvk

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 0ed6c4d66b meta-digi-arm: add support for ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Mike Engel 04e2d880ad ccmp1: add CCMP1 include file to collect common configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
(cherry picked from commit 84e544b27bbe234a03a783013a6a9063d1fe4b29)
2022-09-12 14:26:13 +02:00
Mike Engel 3e84b9007a conf: add new bootloader offset variable to be used on eMMC and SD card images.
This commit adds a new bootloader eMMC and SD card installation offset
variable.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-09-12 14:26:13 +02:00
Mike Engel 85f84f6438 swupdate: move sw-description configuration into each platform.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-09-12 14:26:13 +02:00
Mike Engel c3b4cfa5d1 swupdate: add u-boot image into SWU update image
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-7853
2022-09-12 14:26:13 +02:00
Javier Viguera cbed92ccbb linux-dey: add SRCREV override for STM platforms
For development this would not be needed as it points to AUTOREV, but
for releases we need to specify the SHA1 revision, and this recipe
builds two different branches (for NXP and STM platforms), so we need a
place to define two different revisions.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-07 18:32:33 +02:00
Arturo Buzarra c10e2ddc57 ccmp15-dvk: add support to boot with OPTEE
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-07 13:44:36 +02:00
Arturo Buzarra 3346ebc7a3 stm-st-stm32mp: add OPTEE recipe to use custom Digi repo
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-07 13:44:36 +02:00
Arturo Buzarra ae2e826649 stm-st-stm32mp: add TF-A recipe to use custom Digi repo
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-07 13:44:36 +02:00
Arturo Buzarra 91baf1643a u-boot-dey: add recipe for v2021.10
This commit moves the ccmp15 platform to build U-Boot v2021.10

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-07 13:44:36 +02:00
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