Commit Graph

2894 Commits

Author SHA1 Message Date
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
Gabriel Valcazar 0b31ae037e gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update SRCREV and SRCBRANCH in most recipes. Update imx-gst1.0-plugin 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 9f340a37e4 xf86-video-imx-vivante: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Change the recipe name to an older version (v6.2.4.p1.8). This is done because
there haven't been any changes in the source code since said version.

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 814d0dd561 weston: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update SRCREV and remove outdated patches.

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 7c3f09aabe opencv: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update opencv SRCREV.

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 e18790cc2e imx-gpu-viv: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v6.2.4.p4.2. Make sure to keep the "wayland" distro feature check
out of the recipe to be able to compile framebuffer images for the ccimx8x.

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 0c9cddf91b imx-gpu-g2d: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v6.2.4.p4.2.

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 275614762a imx-dpu-g2d: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v1.7.1.

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 f4d41d2c19 imx-vpu: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Remove our .bbappend, which was wrongly making this recipe compatible with the
imx8. Directly port NXP's recipe (v5.4.39), which is newer than the one in
meta-freescale (v5.4.38).

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 511d4c8cf3 imx-mkimage: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update revision to the imx_4.14.98_2.1.0 branch.

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 7d87909237 imx-atf: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update revision to the imx_4.14.98_2.1.0 branch.

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 3e19b7597e firmware-imx: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v8.3.

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 202c54e32c digi-sc-firmware: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Change the license type from "MIT" to "Proprietary". This change was taken
from the imx-sc-firmware recipe.

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 0a6941f681 fsl-eula-unpack: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Change the license checksum.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gonzalo Ruiz a0d01e1cf6 imx-boot: move m4 demos artifacts to BOOT_TOOLS directory
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-08-30 18:06:13 +02:00
Gonzalo Ruiz 9c065b39c2 u-boot-dey: move symlinks to imx-boot-folder
Move symlinks to u-boot artifacts created on u-boot.inc to
imx-boot-tools folder.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-08-30 18:06:13 +02:00
Mike Engel e907f124aa meta-digi: recipes-qt: fix hellowindow application desktop path
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2019-08-30 14:48:33 +02:00
Jose Diaz de Grenu 5a893838c9 dey-image: [cosmetic] correct comment
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-08-29 16:34:02 +02:00
Mike Engel 4b74b82686 meta-digi: recipes-qt: fix qmlvideo application desktop execution path
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6691
2019-08-28 09:19:23 +02:00
Mike Engel 7c00d4aa01 meta-digi: recipes-qt: Remove duplicated recipe.
The correct recipe that need to be used is located at

meta-digi-dey/recipes-qt/demo-extrafiles/

removing all the QT applications that are not included anymore in
rootfs.

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

https://jira.digi.com/browse/DEL-6690
2019-08-28 09:19:23 +02:00
Mike Engel 8e92839ce0 meta-digi:recipes-qt: Enable gstreamer support when building QT
This commit enables gstreamer support when built qtmultimedia. Also
sets the gstreamer plugin video source for QT.

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

https://jira.digi.com/browse/DEL-6691
2019-08-28 09:19:15 +02:00
Gabriel Valcazar fe977873e3 libdigiapix: use the DIGI_GITHUB_GIT variable instead of hardcoding the URL
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-26 16:01:43 +02:00
Gabriel Valcazar 9047e00bf1 Use https protocol instead of git protocol when fetching from github
Otherwise, users that are behind corporate firewalls might not be able to
obtain the package sources.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-26 15:52:53 +02:00
Gabriel Valcazar 255244647e openssl: add the openssl-bin package to libcrypto's RRECOMMENDS
This way, we assure that the openssl binary is included in the rootfs whenever
the base openssl package is included.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-22 14:18:02 +02:00
Hector Palacios fd3f3ba413 uboot: update scripts to consider 'soc_type' var starts with "imx"
The 'soc_type' variable was already set by fastboot to "imx8qxp"
so the U-Boot board code that was setting this to just "8qxp" has
been changed to set it to "imx8qxp".

Update the scripts accordingly.

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

https://jira.digi.com/browse/DUB-901
2019-08-21 11:03:25 +02:00
Jose Diaz de Grenu 797f9dc357 qualcomm.sh: remount as writteable if '/' is ro
On some scenarios, like when booting from NFS, the root filesystem is not
writteable. When this happens the qualcomm.sh is not able to write the MAC
file which so the wireless driver fails to load.

The arguments that U-Boot uses when booting from NFS using dboot result in
the root filesystem being mounted as read-only, but at some point it is
remounted as read/write. This happens after trying to load the wireless
driver, though.

Currently this is the only scenario in which we can reproduce the problem,
and there are several other processes in DEY that require a writeable root
filesystem (wireless SSID editing, Dropbear SSH key-gen and u-boot-fw-utils)
so remount the rootfs as writteable as a workaround.

While on it improve the script a bit to notify on error trying to create
this file, just in case this happens in other scenarios.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-08-14 16:49:21 +02:00
Jose Diaz de Grenu dc8ec807cf microwindows: fix compilation for ARM64
Remove the 'mstructure-size-boundary' flag. This flag is not supported in
ARM64 toolchains, and without it the fbtest application works fine.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-08-05 10:14:01 +02:00
Arturo Buzarra fb49af9d27 libdevmapper: Remove lvm2-udevrules from RRECOMMENDS
Commit c6e963f9e ("lvm2: Add RDEPEND on lvm2 to lvm2-udevrules")
in meta-oe layer added a package dependency for lvm2. This dependency
includes many unnecessary packages like lvm2, lvm2-scripts, etc.
and their dependencies that increase the size of the initramfs image.
Since lvm2-udevrules is not necessary for our initramfs image,
this commit removes the RRECOMENDS.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-08-01 15:30:09 +02:00