Commit Graph

1154 Commits

Author SHA1 Message Date
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
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
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
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 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
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
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
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
Arturo Buzarra d8614f748e recovery-initramfs: Set cryptsetup dependency only for platforms with block devices
Commit 074e3ba3 ("meta-digi-dey: add cryptsetup tool into initramfs") added
the runtime dependency to cryptsetup for all platforms, but it is
required only to encrypt/decrypt block devices.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-30 10:29:31 +02:00
Mike Engel 42612e112e meta-digi-dey: base-file: disable file system check on the root file system partition when encrypted
This commit disables file system check on the root file system when it is encrypted.
This prevents the service from failing on encrypted rootfs with the message:

[FAILED] Failed to mount /run/media/mmcblk0p3.
See 'systemctl status run-media-mmcblk0p3.mount' for details.

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

https://jira.digi.com/browse/DEL-6655
2019-07-22 09:39:43 +02:00
Jose Diaz de Grenu acb150e8c7 lvm2: remove bbappend, superseded by meta-oe upstream
The functionality provided by this bbappend is now available in meta-oe
upstream, commit 7f17da154372b5ec33947766783444961e8aa67c.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-07-18 16:56:37 +02:00
Jose Diaz de Grenu c81f31385b Revert "thud migration: Use GCC compiler 7.x to maintain compatibility with some packages"
After some fixes to cloudconnector, all packages compile with the standard
GCC version in Yocto Thud (gcc 8.2).

Some other packages are broken if we do not use the expected GCC version for
Thud. Specifically, this was detected trying to compile docker.

This reverts commit ddd14144c3.
2019-07-17 13:42:22 +02:00
Arturo Buzarra 1d68514a50 packagegroup-dey-core: add pciutils package for platforms that support PCI
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-16 16:38:28 +02:00
Arturo Buzarra 79848fbc10 dey-examples-v4l2: Generalize recipe to fix build error with ccimx8x platform.
https://jira.digi.com/browse/DEL-6653

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-12 13:33:43 +02:00
Hector Palacios 65ec66b659 dey-image-installer: loop on new BOOTABLE_ARTIFACTS variable
The artifacts that must go inside the installer ZIP image are not anymore
the ones in UBOOT_CONFIG. For CC8X, the artifacts are combinations of
UBOOT_CONFIG and RAM_CONFIGS.

This commit adds a function 'get_bootable_artifacts()' to boot-artifacts class
to generate a new variable BOOTABLE_ARTIFACTS with the list of bootable
artifacts DEY produces.

The installer recipe can then simply iterate on that list, rather than
needing to calculate it by itself.

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

https://jira.digi.com/browse/DEL-6641
2019-07-12 12:49:03 +02:00
Hector Palacios e50f6c3e91 u-boot: fix the use of boot image recipe and prefix
A variable called IMAGE_BOOTLOADER was being used without distinction for
referring to two different things:
 - the recipe that builds the bootable artifacts
 - the prefix of those artifacts

The value of this is "u-boot" for most platforms, but "imx-boot" for the
CC8X based platforms.

The name of the variable is misleading, so this commit splits it into two:
 - BOOTLOADER_IMAGE_RECIPE, to refer to the recipe
 - UBOOT_PREFIX, to refer to the prefix of the bootable artifact

With the separation, the variable UBOOT_SYMLINK becomes a generic formed
one, so it is moved to digi-defaults.inc.

While on it, fix the image_types_digi.bbclass which was not making use of
the original variable to establish all the dependencies.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-12 11:04:47 +02:00
Jose Diaz de Grenu e8aad5b23e dey-examples: add recipe for caam blob example
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-07-11 17:20:00 +02:00
Arturo Buzarra 8b39014eb7 dey-examples: add example to enable a BLE GATT server
https://jira.digi.com/browse/DEL-6649

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-09 18:11:25 +02:00
Arturo Buzarra 94ab3707f6 bluez: export Bluetooth internal headers and libs
This commit exports several internal headers and libraries
to allow link against them in user applications.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-09 18:11:25 +02:00
Mike Engel 4a3e9531b3 meta-digi-dey: add initramfs-init file to initramfs.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6652
2019-07-08 17:41:01 +02:00
Mike Engel 074e3ba368 meta-digi-dey: add cryptsetup tool into initramfs.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6652
2019-07-08 17:41:01 +02:00
Mike Engel 78534ca779 Revert "ccimx8x: prohibit dey-image-qt from building when trustfence is enabled"
This reverts commit dce71c9348.
Add Trustfence support for the MX8X platform

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2019-07-08 17:41:01 +02:00