Commit Graph

1300 Commits

Author SHA1 Message Date
Arturo Buzarra 8b67e57803 zeus migration: networkmanager: update to use new version 1.18.4
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra f26a92fd5e zeus migration: wpa-supplicant: update recipe to version 2.9
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 940d21a87c zeus migration: swupdate: update recipe to 2019.11
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 0b6499082a zeus migration: remove support to python-numpy plugin on Python 2
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra a5a0a52d18 zeus migration: busybox: update to version 1.31.0
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra aec438ee83 zeus migration: update meta-digi LAYERSERIES_COMPAT to indicate support with "zeus" release
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra a5fc3d3384 zeus migration: sync distro config
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra a0a63fb973 zeus migration: bump version
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 87f4f96944 Revert "xserver-xorg: add poky SIGIO patch that was removed from upstream thud branch"
Commit 07d4a6ba ("xserver-xorg: Backport to fix X server 1.20.1 crash")
integrates this patch in meta-freescale layer, then it is no longer
necessary to have it in our meta-digi layer.

This reverts commit 995212a213.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-17 09:32:39 +02:00
Gonzalo Ruiz 25c1ea59b0 trustfence: Add custom CONFIG_SIGN_MODE to UBOOT_EXTRA_CONF
This configuration is required to sign and encrypt U-Boot images during
build time, as it is done for ccimx6ul platform.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-04-08 14:23:18 +02:00
Hector Bujanda 38a5b79718 bluetooth-init: recover delays
Commit 388ef5c3 updated the script to use libgpiod tools.
Some delays were removed which made the bluetooth not load.
This commit introduces a delay again in the power cycle.

https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-22 02:43:29 -07:00
Francisco Gil Martinez f99ae24162 recovery: allow the user to cancel the recovery process
https://jira.digi.com/browse/DEL-6982

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-03-20 08:23:43 +01:00
Hector Bujanda 2e30987a7e libdigiapix: make use of libgpiod
Added libgpiod dependence.

The configuration file entries change to following format:
   - USER_LED = mca-gpio,12
   - USER_BUTTON = mca-gpio,10

https://jira.digi.com/browse/DEL-6425

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-19 02:57:59 -07:00
Mike Engel e550d82c77 meta-digi-arm: uboot: Add firmware install script using fastboot support.
This commit adds a installation script that uses fastboot support to
update the target firmware.

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

https://jira.digi.com/browse/DEL-6845
2020-03-10 10:38:59 +01:00
Hector Bujanda 388ef5c388 bluetooth-init: scripts updated to use libgpiod tools
https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:23 +01:00
Hector Bujanda f14d79f5a6 xbee-init: script updated to use libgpiod tools
Additionally:
   - The handling of gpios has been swapped so 'Set low XBEE_SLEEP_RQ' is done
 before 'Power cycle XBEE_RESET_N' to assure the device doesn't enter sleep mode.
   - Removed ExecStop entry from systemd service since it's doing nothing.

https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:22 +01:00
Hector Bujanda baa4a6f57e packagegroup-dey-core: add libgpiod
Add support for handling the GPIOs through char device and the kernel API.

https://jira.digi.com/browse/DEL-6426
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:22 +01:00
Francisco Gil 1d91d3411b br0: move the br0 interface to the bottom
This interface should be the last item defined in the
/etc/network/interfaces file.

When you try to enable the interface br0 (bridge interface),
all the other interfaces should be available.
If the br0 interface is located before the other interfaces
involved in the bridge, it will fail.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-24 13:14:53 +01:00
Francisco Gil d485af020a greengrass: add support for greengrass 1.10
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-24 13:09:26 +01:00
Mike Engel 796eb9db91 meta-digi-dey: bump distro version to 2.6-r4
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-20 14:21:56 +01:00
Mike Engel 4ce67dac48 Merge tag 'dey-2.6-r3.1' into dey-2.6/master
Digi Embedded Yocto 2.6-r3.1

Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.

Signed-off-by: Mike Engel <mike.engel@digi.com>
2020-02-20 12:02:26 +01:00
Arturo Buzarra 1830798025 meta-digi: update revisions for dey-2.6-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-13 16:26:45 +01:00
Hector Palacios 6c9341bd8a trustfence: disable environment encryption for CC8X
Environment encryption is not yet supported in U-Boot.
Unset TRUSTFENCE_ENCRYPT_ENVIRONMENT on the machine configuration
and remove the platform conditional on the class.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios 8320168821 trustfence: homogenize SIGN_MODE variables
* prefix TRUSTFENCE_ to variable SIGN_MODE for DEY
* prefix CONFIG_ to variable SIGN_MODE for script

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Gabriel Valcazar 6caecc5c53 trustfence-initramfs: use "busybox halt" instead of "poweroff"
The poweroff command is not available in the initramfs due to a missing
sysvinit/systemd dependency. Use the busybox "halt" command, since it's
available regardless of the init manager used. Rework the error message and
script variables accordingly.

https://jira.digi.com/browse/DEL-6983

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-02-12 18:31:33 +01:00
Gabriel Valcazar 6aa852dccd sdk: remove image name from default SDK path
Some configuration files inside of the SDK make use of the default SDK
installation path, so some tools might break unless the SDK is installed in said
default path.

Recently, we modified the default installation path to include the platform and
the image type, but the image type was added after the SDK was created, so even
though the environment script's paths include the image type, the "original"
default path in the config files inside of the SDK doesn't include the image
type. A side effect of this is that Qt5 apps cannot be built, since the qmake
and Qt configuration files are pointing to the "original" SDK path.

Remove the image type from the path so that the paths in the SDK's config files
match the real default installation path.

This partially reverts commit be0fe088e3.

https://jira.digi.com/browse/DEL-6972

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-02-10 18:11:25 +01:00
Arturo Buzarra 8185f8e884 Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-06 17:14:17 +01:00
Mike Engel 909a8c9e83 Revert "ccimx8x: prohibit dey-image-qt from building when trustfence is enabled"
Added Trusfence support for the CC8X.

This reverts commit 8b5c710036.

https://jira.digi.com/browse/DEL-6917
2020-02-04 12:20:38 +01:00
Mike Engel 5beec04b6a trustfence: Add Trustfence support for CCMX8X
This commit adds Trustfence support for the CCMX8X
platform.

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

https://jira.digi.com/browse/DEL-6917
2020-02-04 12:20:38 +01:00
Francisco Gil 8ebc7588d5 cc8mn: libdigiapix: change default values for examples
https://jira.digi.com/browse/DEL-6955

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-03 17:59:35 +01:00
Gabriel Valcazar eb4ef72610 xbee: add support for multiple XBee interfaces
XBEE_RESET_N_GPIO and XBEE_SLEEP_RQ_GPIO can now be comma-separated lists of
GPIO indexes instead of just a single index. Modify the xbee-init script to
support this change and modify the sed script in xbee.bb to allow commas
in the aforementioned variables.

https://jira.digi.com/browse/DEL-6887

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-22 12:48:55 +01:00
Gabriel Valcazar a239ac8600 modemmanager: blacklist SPI-to-CAN interface on the ccimx8mn
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-20 14:34:43 +01:00
Hector Bujanda c18a39ab55 dey-examples: adc_cmp_sample: Add support for CC8M
https://jira.digi.com/browse/DEL-6931

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-01-17 17:53:13 +01:00
Gabriel Valcazar 759fc05e09 weston-init: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Rework the weston-init recipe and add a BBMASK to ignore meta-freescale's
weston-init.bbappend file.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 15:12:28 +01:00
Gabriel Valcazar d9e523578d glm: update to v0.9.8.5
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:56:43 +01:00
Gabriel Valcazar 5b8c6b283b recipes-graphics: remove recipes that are available in community layers
Some .bbappend files for clutter, cogl and mesa recipes are already available
in meta-freescale, so we can remove them from meta-digi. Also remove the
libinput recipe, since a much newer version of it exists in poky.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:56:43 +01:00
Gabriel Valcazar 0765189c93 systemd: add firmware loading support
Userspace firmware loading support is required for the Linux imx-sdma driver.
The patches that accomplish this were originally in poky, but were removed in
the thud upgrade. Re-work the patches so they apply over systemd v239.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 3a674e3526 vulkan-demos: use poky sumo sources
Otherwise, examples such as skeletalanimation are broken.

Reported-by: Alfonso Martin Rey <alfonso.martinrey@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 9a1a80311b gstreamer1.0-plugins-good-qt: sync with meta-fsl-bsp-release sumo-4.14.98-2.3.0
Update SRCBRANCH and SRCREV.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 58ad96c657 imx-parser: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v4.5.2

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 45035fa29f imx-codec: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v4.5.2

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar b4695d419e gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH in most recipes and SRCREV for gstreamer1.0-plugins-good.
update imx-gst1.0-plugin to v4.5.2.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 7fd927035b imx-alsa-plugins: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 03ee66d038 weston: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCREV and add missing do_install() logic.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 2a9acc1031 imx-gpu: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v6.2.4.p4.6.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 2f3420ee43 imx-dpu-g2d: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v1.7.4.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar f276827fd8 gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update SRCBRANCH in most recipes and SRCREV for gstreamer1.0-plugins-good.
update imx-gst1.0-plugin to v4.5.0.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 17:19:12 +01:00
Hector Palacios 9f889c587f gstreamer: change machine override for plugins to 'imxgpu'
Some architectures like i.MX8M Nano don't have imxgpu2d but still need
some of the Gstreamer plugins.
For example, gstreamer1.0-plugins-bad-meta provides the xwayland sink which
would otherwise not be available for platforms without gpu2d.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-01-10 16:31:22 +01:00
Arturo Buzarra 400110aaf9 modemmanager: remove support to serial XBee cellular devices
Serial support to XBee cellular devices is deprecated since
the recommended communication protocol is USB, so we remove
the udev rules that supported these devices.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:45:54 +01:00
Gabriel Valcazar 28f07acf99 imx-gpu-viv-v6: remove kernel-module-imx-gpu-viv dependency
This dependency was originally removed in commit
eafa8684a3, but it was erroneously put back in
commit 793e901678 when updating the recipe using
the one in meta-fsl-bsp-release as reference.

Instead of removing the line containing the dependency, in order to avoid the
same situation from happening in the future,  comment it out and add an
explanation about why we're removing it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Gabriel Valcazar 1fb65f0864 qtbase: apply imxgpu2d patches to imx8mn platforms as well
The .bbappend file in meta-freescale only applies these patches to platforms
with imxqpu2d, but they are necessary to build framebuffer images for the
ccimx8mn. Using the same approach as NXP in meta-fsl-bsp-release (applying the
patches to imxgpu platforms) duplicates the patches for platforms that are both
imxgpu and imxgpu2d, so append them for imx8mn platforms exclusively.

While at it, remove a patch that is no longer necessary, since the latest
versions of qtbase already have the patch's change in them.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 8292628524 qtbase: Use upstreamed patches instead of custom NXP ones.
These patches were copied from meta-fsl-bsp-release layer,
but with the latest versions throws a compilation issue with the
ccimx8mn platform. However the upstreamed patches works fine.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 3c5fd58866 trusfence-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 95c636d327 trustfence-initramfs: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 9c21f10698 meta-digi-dey: sysinfo: adapt script to CC8M platforms
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:25 +01:00
Arturo Buzarra d430cc3bab recovery-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra 188df6fee3 recovery-initramfs: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra 52e8a3e007 dey-examples: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra 1fd0e8d6d8 init-ifupdown: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra a93a05a8af init-ifupdown: add support for ccimx8x platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:21:27 +01:00
Arturo Buzarra 6d23ee1fe7 hostapd: generalize recipe to reduce the overhead when adding a new platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:21:27 +01:00
Arturo Buzarra dd723df576 hostapd: add support for the ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:09:25 +01:00
Arturo Buzarra 8cc2e3f7f6 qtbase: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:06:52 +01:00
Arturo Buzarra d2cecd68ef swu-images: unify script files for the different platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:06:52 +01:00
Arturo Buzarra e262caa338 swu-images: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:06:52 +01:00
Arturo Buzarra f81982571c bluez5: unify config file for all platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:51:58 +01:00
Arturo Buzarra bc5a22f883 bluez5: add support to ccimx8mn platform
Add initial support cloned from ccimx8x-sbc-pro.

https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:51:58 +01:00
Arturo Buzarra 017c2d0964 wpa_supplicant: unify config file for all platforms
WPA and P2P configuration files are basically the same between all
platforms, so we remove all duplicated files to use a common file
and modify it in the recipe logic.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:48:11 +01:00
Arturo Buzarra cece2ee984 wpa-supplicant: add support to ccimx8mn platform
Add initial support cloned from ccimx8x-sbc-pro.

https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:47:41 +01:00
Arturo Buzarra 8e853e76d1 busybox: add support to ccimx8mn platform
Add initial support cloned from ccimx8x-sbc-pro.

https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:42:58 +01:00
Arturo Buzarra 99dde8c678 xbee: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:42:58 +01:00
Arturo Buzarra 4d5028fcc8 libdigiapix: add support to ConnectCore 8M Nano DVK platform
Add initial support cloned from ccimx8x-sbc-pro.

https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:41:09 +01:00
Arturo Buzarra 7d54990e57 modemmanager: add support to ConnectCore 8M Nano DVK platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:39:03 +01:00
Javier Viguera 38014d59de xbee-init: fix xbee systemd service not executed on boot
The systemd class adds by default packages named ${PN} to the
SYSTEMD_PACKAGES variable, but in our case the package name is
'${PN}-init', so it needs to be added explicitly.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-08 15:50:27 +01:00
Gabriel Valcazar 07f1fa88f2 vulkan-demos: add vulkan-validationlayers as a runtime dependency
This package needs to be installed in the rootfs for the demos to work.

Reported-by: Alfonso Martin Rey <alfonso.martinrey@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-08 09:39:22 +01:00
Javier Viguera 21945b1807 xbee: add missing inherits
These classes needs to be inherited so the different init services
(sysv, systemd) execute the script on boot.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-03 15:02:36 +01:00
Javier Viguera 0aa52b8a6e imx-codec: skip 'file-rdeps' QA check when building with MUSL
Otherwise there are QA check failures:

package imx-codec-test-bin requires librt.so.1, but no providers found in RDEPENDS_imx-codec-test-bin? [file-rdeps]
package imx-codec-test-bin requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_imx-codec-test-bin? [file-rdeps]
...

This is due to the 'imx-codec-test-bin' package containing NXP-provided
pre-built binaries that are compiled with GLIBC.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-03 11:10:25 +01:00
Javier Viguera da46ed4a07 imx-gst1.0-plugin: fix build using MUSL C library
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-03 11:10:25 +01:00
Javier Viguera a5d6f02ea0 python-xbee: fix mispelled license name
Clean up this warning on build:

python3-xbee: No generic license file exists for: MPL2.0 in any provider

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-02 12:25:43 +01:00
Gabriel Valcazar a114391ae9 Use https instead of ftp when accessing the Digi support folders
Update the README as well to reflect this change, since the ftp protocol might
be blocked in some corporate networks.

https://jira.digi.com/browse/DEL-6880

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-12-19 16:55:26 +01:00
Jose Diaz de Grenu 2db7558236 sysinfo: add OTP values
The values of the OTP can be relevant for some issues.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-12-11 19:23:00 +01:00
Gabriel Valcazar be0fe088e3 sdk: add platform and image names to the default SDK installation path
Since the final image name is not available in a global scope, append it to the
default installation path in the SDK extraction script once it has been
packaged.

The new default installation path format is:

    /opt/dey/<version>/<platform>/<image>

https://jira.digi.com/browse/DEL-5264

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-29 16:44:23 +01:00
Gabriel Valcazar f6697af5d1 openssl: modify patch to load pkcs11 engine instead of cryptochip engine
The previous patch was outdated, but now that we have a working PKCS11 engine
and the cryptochip supports it, update the patch with the new engine info.

https://jira.digi.com/browse/DEL-6835

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Gabriel Valcazar 73352a83a2 libp11: add recipe for v0.4.10
This is the version Microchip recommends to use in for the newer cryptoauthlib
with pkcs11 support. This recipe was backported from the zeus branch of
meta-openembedded.

https://jira.digi.com/browse/DEL-6826

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Gabriel Valcazar 869378d9d7 recipes-digi: remove cryptoauth-openssl-engine recipe
This package has not been supported since OpenSSL was updated to v1.1.x, and it
has been deprecated by Microchip.

https://jira.digi.com/browse/DEL-6826

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Mike Engel 6b5cd9465b libdigiapix: Update CCIMX8X conf file with new PWM and GPIO settings
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6807
2019-11-08 09:59:45 +01:00
Arturo Buzarra af4630615e packagegroup-dey-qt: add QtQuickControls package with QML support for CC6UL
Added QtQuickControls package on framebuffer images for ConnectCore 6UL
platform to improve the user experience. It is not added to X11 images due
to size limitations.

https://jira.digi.com/browse/CC6UL-1108

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-11-06 17:48:18 +01:00
Arturo Buzarra e31a868507 imx-gpu-g2d: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update to v6.2.4.p4.4.

https://jira.digi.com/browse/DEL-6823

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-23 18:44:11 +02:00
Arturo Buzarra 4df8f37ec4 imx-gpu-viv: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update to v6.2.4.p4.4

https://jira.digi.com/browse/DEL-6823

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-23 18:44:03 +02:00
Gabriel Valcazar 2a0636760e systemd: decrease timeout when stopping services
In very rare cases, random services would hang when powering off the system,
causing the poweroff process to stall for 90 seconds before timing out the stop
job. To avoid this behaviour, minimize the effect of these random freezes by
decreasing the timeout.

The default services in our system take well under 15 seconds to stop
gracefully, so we can guarantee that a timeout will never happen under normal
circumstances.

https://jira.digi.com/browse/DEL-6794

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-17 16:17:14 +02:00
Gabriel Valcazar 5424fb89db pulseaudio-init: cosmetic: add curly braces to variable expansions
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-10 16:15:40 +02:00
Gabriel Valcazar f3692de0c5 pulseaudio: let systemd know the PID of the pulseaudio daemon
Otherwise, systemd will have to guess the PID of the service's main process.
It guesses right most of the time, but sometimes it chooses the PID of the
original pulseaudio process instead of the daemon that gets forked off. This
caused the daemon to stop immediately after starting, breaking other apps that
require the pulseaudio server to be running.

Since the PID file is created in a user-specific runtime directory (and the
service is meant for the whole system), modify the wrapper script to create
a symlink to the PID file in a place where it can be obtained by systemd.

https://jira.digi.com/browse/DEL-6795

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-10 16:15:32 +02:00
Arturo Buzarra 8342e948c6 meta-digi-dey: bump distro version to 2.6-r3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-10 16:13:24 +02:00
Arturo Buzarra ce4be46458 Merge tag 'dey-2.6-r2.2' into dey-2.6/master
Digi Embedded Yocto 2.6-r2.2

Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-10 16:02:07 +02:00
Gabriel Valcazar c61a615b2f pulseaudio-init: cosmetic: add curly braces to variable expansions
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-04 13:17:04 +02:00
Gabriel Valcazar 624a728ff2 pulseaudio: let systemd know the PID of the pulseaudio daemon
Otherwise, systemd will have to guess the PID of the service's main process.
It guesses right most of the time, but sometimes it chooses the PID of the
original pulseaudio process instead of the daemon that gets forked off. This
caused the daemon to stop immediately after starting, breaking other apps that
require the pulseaudio server to be running.

Since the PID file is created in a user-specific runtime directory (and the
service is meant for the whole system), modify the wrapper script to create
a symlink to the PID file in a place where it can be obtained by systemd.

https://jira.digi.com/browse/DEL-6795

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-04 13:17:04 +02:00
Hector Palacios c34dcb2c74 meta-digi: revert revisions to AUTOREV
This reverts commit 750c18b99590430d7a12fe78db1c0c21942eb60c.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-26 18:16:54 +02:00
Hector Palacios 3affba5848 meta-digi: update revisions for dey-2.6-r2.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-26 18:15:46 +02:00
Hector Palacios 60939c2303 dey-examples: move SRC_URI to shared include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-18 16:28:25 +02:00
Hector Palacios 3e5c2eb1bf meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 18:36:20 +02:00