Commit Graph

2771 Commits

Author SHA1 Message Date
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 ca9e743af8 imx-seco: add recipe to sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
This imx-seco recipe manages now the NXP IMX SECO firmware, it was removed
from the firmware-imx recipe.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-30 16:50:18 +01:00
Arturo Buzarra 99cfd06c9d firmware-imx: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update to v8.4.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-30 08:20:47 +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
Hector Bujanda 9c7c5e5bfb mca_tool: update checksums for build 1.19
This new version improves mca_fw_update algorithms.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2019-10-17 11:34:13 +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
Gonzalo Ruiz 9c392c5b7c firmware-qualcomm: rename BDF to 'fakeboar_US.bin'
Rename board data file loaded on qca6574 wireless chips to 'fakeboar_US.bin'.
A symlink named 'fakeboar.bin' will be created by 'qualcomm.sh' selecting
either this file or the WorlWide variant: 'fakeboar_World.bin'.

- fakeboard_US.bin (e1db4a300b58776f8abd8588beadc09e)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-10 16:15:22 +02:00
Gonzalo Ruiz 224c4fc418 qualcomm.sh: generalize to select correct board data file
Generalize script to select the correct board data file to load into the
wireless chip depending on the Regulatory Domain configuration whether it
is a variation of 'bdwlan30.bin' or 'fakeboar.bin'.

If 'bdwlan30_US.bin' or 'bdwlan30_World.bin' files are found in the firmware
directory, the script will create two symlinks, 'bdwlan30.bin and 'utfbd30.bin',
pointing to either one of those files.

If no 'bdwlan30_*.bin' files are found, but 'fakeboar_US.bin' or
'fakeboar_World.bin' is, it will create a single symlink, 'fakeboar.bin',
pointing to either one of those files. In the case a QCA6574 community driver
is loaded, 'board.bin' symlink will be updated.

If no 'fakeboard_*.bin' files are found either, the script will exit.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-10 16:15:12 +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
Gonzalo Ruiz d95a05f5fc firmware-qualcomm: rename BDF to 'fakeboar_US.bin'
Rename board data file loaded on qca6574 wireless chips to 'fakeboar_US.bin'.
A symlink named 'fakeboar.bin' will be created by 'qualcomm.sh' selecting
either this file or the WorlWide variant: 'fakeboar_World.bin'.

- fakeboard_US.bin (e1db4a300b58776f8abd8588beadc09e)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-03 17:37:22 +02:00
Gonzalo Ruiz 440c3a953a qualcomm.sh: generalize to select correct board data file
Generalize script to select the correct board data file to load into the
wireless chip depending on the Regulatory Domain configuration whether it
is a variation of 'bdwlan30.bin' or 'fakeboar.bin'.

If 'bdwlan30_US.bin' or 'bdwlan30_World.bin' files are found in the firmware
directory, the script will create two symlinks, 'bdwlan30.bin and 'utfbd30.bin',
pointing to either one of those files.

If no 'bdwlan30_*.bin' files are found, but 'fakeboar_US.bin' or
'fakeboar_World.bin' is, it will create a single symlink, 'fakeboar.bin',
pointing to either one of those files. In the case a QCA6574 community driver
is loaded, 'board.bin' symlink will be updated.

If no 'fakeboard_*.bin' files are found either, the script will exit.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-02 17:32: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
Gonzalo Ruiz bc4d8a3f19 firmware_qualcomm: update US Board Data File calibration data
Update file:

- fakeboar.bin (e1db4a300b58776f8abd8588beadc09e)

This file was generated by calibrating several CC8X SOMs and SBCs and
merging their resulting BDF files into a Golden file.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10007.1 on
qca6574au-le-2-2-1_qca_oem repo.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-09-26 15:37:11 +02:00
Hector Palacios 5a03f07e80 readme: fix QCA65x4 model numbering
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-26 14:47:19 +02:00
Gabriel Valcazar df4c307213 mca-tool: update to v1.18
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-20 16:30:45 +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 359ade52ac udev-extraconf: mount.sh with skip of already-mounted partitions
Default poky's version of the 'mount.sh' script doesn't account
for the possibility of udev calling twice the script for the 'add'
action. This has been observed on USB sticks connected to a USB hub
and, although the script eventually fails, for already mounted
partitions, in that case the script tries to remove the created
mountpoint, when it shouldn't.

This patch checks for already mounted partitions earlier (before
creating the mount point) and returns with no actions.

The patch that it adds (with respect to poky's thud default) is
the following:

  diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh
  index 3ee67b13183a..e6882a69c223 100644
  --- a/meta/recipes-core/udev/udev-extraconf/mount.sh
  +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh
  @@ -38,6 +38,12 @@ done
   automount_systemd() {
       name="`basename "$DEVNAME"`"

  +    # Skip already mounted partitions
  +    if [ -f /run/systemd/transient/run-media-$name.mount ]; then
  +        logger "mount.sh/automount" "/run/media/$name already mounted"
  +        return
  +    fi
  +
       # Skip the partition which are already in /etc/fstab
       grep "^[[:space:]]*$DEVNAME" /etc/fstab && return
       for n in LABEL PARTLABEL UUID PARTUUID; do

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6759
2019-09-18 09:13:41 +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
Hector Palacios 3b2f226b60 meta-digi: update revisions for dey-2.6-r2.1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 18:35:13 +02:00
Hector Palacios d66e91dac7 README.md: updates for dey-2.6-r2 release
* Added CC6 and CC6Plus as supported platforms.
* Added CC6 and CC6Plus known issues and limitations.
* Re-ordered platforms from newest to eldest (CC8X, CC6UL, CC6Plus, CC6).
* Updated links to documentation 'Get started'.
* Updated links to products and variants on digi website.
* Added changelog for DEY-2.6-r2.
* Remove mention to kernel version for P2P limitation of CC6UL.
* Added note about incompatibility of newest SCFW.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 17:11:32 +02:00
Gonzalo Ruiz 9f617cd426 firmware_qualcomm: update US Board Data File with a calibrated one
Update file:

- fakeboar.bin (3e558869e3943da08899abd881455bc6)

This file was generated by calibrating several CC8X SOMs and merging
their resulting BDF files.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10007.1 on
qca6574au-le-2-2-1_qca_oem repo.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-09-13 16:58:02 +02:00
Hector Palacios 435e085690 udev-extraconf: update mount scripts to support systemd
The current scripts used the standard mount binary at /bin/mount
for mounting the partitions. Systemd however seems to have a monitor
that eventually umounts such partitions if not mounted by systemd's
specific command 'systemd-mount`.

For platforms using systemd, we need to use this binary together with
parameter --no-block so that partitions are mounted correctly during
the boot process.

This commit merges the two scripts for Digi-handled partitions into
just one:

	mount_bootparts.sh
                          \
                           +--> mount_digiparts.sh
                          /
        mount_partition.sh

The merged script:
 - checks if running with systemd, to use its binary.
 - checks if running with busybox, to not use the unsupported '-o'
   attribute.
 - checks if mounting the 'linux' partition, to mount it read-only.
 - checks for already-attached UBI devices, to avoid re-attaching.

This commit also combines the Digi-handled partitions (linux, update)
into the same udev rule, to simplify it, and breaks the rules lines
for readability.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6744
2019-09-13 10:54:58 +02:00
Gabriel Valcazar b30c5fa07e pulseaudio: add a systemd service that starts pulseaudio for the entire system
The default service only starts once per non-root user. Add a service that
starts pulseaudio by default along with a wrapper script that sets the
necessary environment variables before launching the daemon.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-10 12:14:49 +02:00
Javier Viguera 7013acc439 init-ifupdown: p2plink: allow to set persistent parameters
Use ifupdown variable 'p2p-network-id' to pass a WPA supplicant network
id, to pre-populate some parameters (SSID/passphrase) when creating the
group where this device is the GO.

Also replace go_intent=7 with the auto parameter. According to the
documentation:

    "auto" can be used to request wpa_supplicant to automatically
    figure out whether the peer device is operating as a GO and if so,
    use join-a-group operation rather than GO Negotiation.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-09-10 11:49:00 +02:00
Mike Engel 73190ee6d4 meta-digi-dey: wpa_supplicant: update defconfig for v2.6
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6455
2019-09-09 16:37:25 +02:00
Mike Engel 3ac4ce1959 meta-digi-dey: fix systemd-cat not found in network scripts
This commit fixes the error message when specific network scripts
are launched.

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

https://jira.digi.com/browse/DEL-6728
2019-09-06 11:03:18 +02:00
Hector Palacios 82d2acc543 weston: update patches to latest version of the recipe
This was reported by the build:

  Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
  The context lines in the patches can be updated with devtool:

      devtool modify <recipe>
      devtool finish --force-patch-refresh <recipe> <layer_path>

This is the result of running the above commands to have
the patches automatically updated on their context lines:

      devtool modify weston
      devtool finish --force-patch-refresh weston meta-digi-dey

While on it, remove also the initial "From <SHA1>" lines.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-06 10:44:33 +02:00
Francisco Gil 6e3334798c greengrass: add support for greengrass 1.9.2
Add support for greengrass 1.9.2 and remove it for 1.9.0.
Support for 1.9.0 was never released and that version is
no longer available.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-09-05 16:39:28 +02:00
Gabriel Valcazar 6dee8a38a2 imx-alsa-plugins: use older revision for ccimx6/ccimx6qp
The most current revision is incompatible with the v4.9 Linux UAPI. Reverting
to the previous commit of the imx-alsa-plugins repo reverts the UAPI changes
while keeping the same functionality, so use this revision for the ccimx6 and
ccimx6qp.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-05 12:25:02 +02:00
Gabriel Valcazar acff25cf80 trustfence-tool: update to v2.3
This version adds support for the ccimx8x.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-04 15:12:06 +02:00
Arturo Buzarra e8dd29392f imx-alsa-plugins: add 'git' recipe to fix k4.14 build
Latest meta-fsl-bsp-release tag 'rel_imx_4.14.98_2.1.0' replaces the
imx-alsa-plugins recipe from the meta-freescale upstream layer to fix
the build with the kernel 4.14. The commit cde60d6 ("asrc_pair: update
according to latest mxc_asrc.h") fixes the build issues.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-09-04 13:38:25 +02:00
Gabriel Valcazar 74b59a3af7 Revert "imx-boot: move m4 demos artifacts to BOOT_TOOLS directory"
The imx-boot recipe expects the m4 demos to be in the root of the deploy
directory when building the package.

This reverts commit a0d01e1cf6.

https://jira.digi.com/browse/DEL-6731
2019-09-04 13:24:49 +02:00
Gabriel Valcazar a38a5b75f3 digi-sc-firmware: update to v1.2.5
Update the source checksums and the license md5sum.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-04 13:21:33 +02:00
Hector Palacios 8b5c710036 Revert "Revert "ccimx8x: prohibit dey-image-qt from building when trustfence is enabled""
Trustfence is not yet fully supported for the CC8X.
Retore the warning.

This reverts commit 78534ca779.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 18:42:42 +02:00
Hector Palacios 5453acf56f imx-boot: update branch and SRCREV to latest NXP BSP
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 18:41:29 +02:00
Hector Palacios e09c58f85b Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6640
2019-09-03 13:17:56 +02:00
Hector Palacios ee4d39014b firmware-qualcomm: move qca6564 fw files into subfolder
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 08:19:57 +02:00
Hector Palacios c586b05bd2 kernel-module-qualcomm: fix printing of error message
Error message was being printed upon successful copy of the
MAC addresses file, instead of upon failure.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 08:19:57 +02:00
Hector Palacios 0152a70773 firmware-qualcomm: update qca65x4 proprietary fw to r10007.1
Latest release r10007.1 updates the following files from qca6574au-le-2-2-1_qca_oem
repo at meta_build/firmware/pcie/:

 - qwlan30.bin  -> qwlan30.bin  (60ac4486fba393294b590f86117f5539)
 - utf30.bin    -> utf.bin      (c15794509d8a8435d4244fea699d99b3)

and the following files from meta_build/firmware/sdio/:

 - qwlan30.bin  -> qwlan30.bin  (4421b30ca259ab73bbfa79df807e0b47)
 - utf30.bin    -> utf30.bin    (b2651762aa1d620349593905efab326b)

Update Bluetooth firmware from qca6574au-le-2-2-1_qca_oem repo at
cnss_proc_1/btfm_proc/bt/wcss/bsp/rom/build/SCAQBAF/Test_Files/Linux/

 - rampatch_tlv_3.2.tlv	-> rampatch_tlv_3.2.tlv (72d28614afd0abe5846c1758099282e3)
 - nvm_tlv_3.2.bin	-> nvm_tlv_3.2.bin (3de46ea023570b86cabb9502b92a1fed)

	Note: nvm_tlv_3.2.bin based on original md5sum
	      a97cdfe80e8109cf3574f74cd3c73fc7 but changed byte at
	      offset 0x36 from 0x82 to 0x02 (IBS).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6725
2019-09-03 08:19:57 +02:00
Gabriel Valcazar 9f8f4b50f9 qt: gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update SRCREV and SRCBRANCH.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar ec7a413ee8 imx-parser: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v4.4.7.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 74542d8d6b imx-codec: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v4.4.7.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00