Commit Graph

1289 Commits

Author SHA1 Message Date
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
Gabriel Valcazar 5868541cc1 packagegroup-dey-audio: add pulseaudio packages as dependencies
These packages are included in ccimx6/6qp/6ul images because they are a part of
packagegroup-core-x11-sato, which isn't included in ccimx8x images. To assure
that pulseaudio always gets included in non-fb images, add it as a dependency
in packagegroup-dey-audio.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-26 18:53:57 +02:00
Gabriel Valcazar 8bd845553c bluez5: v5.41: remove FILESEXTRAPATHS modification from .bbappend
Since the original .bb file is already in the meta-digi layer, bitbake will
look inside of the bluez5-5.41 folder by default, so this line isn't needed.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-25 17:22:03 +02:00
Gabriel Valcazar 8569d4da9e bluez5: move common files to a common folder for both v5.41 and v5.50
This way, we avoid having to duplicate changes.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-25 17:22:03 +02:00
Francisco Gil 69cb3d6dac python-xbee: add support for the python-xbee library
https://jira.digi.com/browse/DEL-6643

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-06-25 17:17:01 +02:00
Arturo Buzarra 401867f9e6 bluez5: use node status to trigger bluetooth initialization
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-06-24 18:08:54 +02:00
Arturo Buzarra 086db36811 weston: add Digi custom background
This commit modifies the weston ini file to support a custom
background and includes a new one with Digi branding.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-06-21 08:40:59 +02:00
Arturo Buzarra ccc6f9c960 bluez5: ccimx8: use kernel module for bluetooth power management
Modify bluetooth init script to use kernel module to power on/off
the bluetooth chip instead of managing it directly from sysfs.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-06-19 13:08:21 +02:00
Gabriel Valcazar 6491b5b00a adwaita-icon-theme: remove scalable icons from the filesystem
These icons have never been included in the filesystem until a recent commit in
poky (522b0d8615cdc6645f6dc37a03ea7584f19c7bfc). In total, they take up over
1 MiB and have been causing filesystem tests to fail on the ccimx6ul due to low
space.

Add a .bbappend to undo the commit's changes in our layer.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-19 12:52:59 +02:00
David Escalona b5a9af91db meta-digi-dey: qt5: ccimx8x: use return instead of exit in qt5 script
This fixes the problem of shell console returning to the login prompt
after a successful login.

Signed-off-by: David Escalona <david.escalona@digi.com>
2019-06-14 10:22:36 +02:00
Gabriel Valcazar 0228ad8587 systemd: don't include systemd-networkd
To avoid possible conflicts with NetworkManager, remove systemd-networkd
entirely.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-12 10:54:41 +02:00
David Escalona 49c1fb6dca meta-digi-dey: xorg: fix X11 server issues for ccimx8x
Signed-off-by: David Escalona <david.escalona@digi.com>
2019-06-07 14:19:03 +02:00
Mike Engel 0baf09f397 libsocketcan: Add CAN FD data bitrate set and get support
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6588
2019-06-05 12:44:30 +02:00
Hector Bujanda e11fd2eb84 meta-digi-dey: dey-examples-rtc: added periodic and 1Hz interrupts testing
-p : Test the standard periodic interrupts (uses timers, doesn't wake from low power)
-u : Test the standard 1 Hz interrupt (uses RTC ALARM)
-v : Test MCA periodic interrupts (uses RTC PERIODIC_IRQ)
-w : Test MCA 1 Hz interrupt (uses RTC 1HZ)

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2019-05-28 11:41:21 +02:00
Arturo Buzarra c38b5a2f52 base-files: add filter to ignore mmc RPMB partitions
The Replay Protected Memory Block (RPMB) is an special storage
partition that cannot be accessed via standard block layer.
When a user space tool like blkid, tries to read it the kernel
suffers buffer I/O errors and timeouts.

This commit modifies the post installation script to filter the RPMB
partitions from the mmc block devices, to avoid multiple kernel
errors during the script execution.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-05-17 10:29:50 +02:00
Arturo Buzarra c604091fc6 base-files: remove platform dependency to execute the postinst function
Removed the platform dependency to apply the resize to all platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-05-17 10:29:38 +02:00
Arturo Buzarra 8c0aaf79b6 base-files: add filter to ignore mmc RPMB partitions
The Replay Protected Memory Block (RPMB) is an special storage
partition that cannot be accessed via standard block layer.
When a user space tool like blkid, tries to read it the kernel
suffers buffer I/O errors and timeouts.

This commit modifies the post installation script to filter the RPMB
partitions from the mmc block devices, to avoid multiple kernel
errors during the script execution.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-05-17 10:27:11 +02:00
Arturo Buzarra 1fe9ca04c2 base-files: remove platform dependency to execute the postinst function
Removed the platform dependency to apply the resize to all platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-05-17 10:27:11 +02:00
Jose Diaz de Grenu aad38d49c8 system-monitor: add system-monitor example
This recipe is an example for customer for a system-monitor. Scripts that
verify the system status can be added to /etc/system-monitor.d

The recovery mechanisms can be implemented on those scripts or in the
system-monitor script. The software watchdog systemd support is used to
guarantee that the system-monitor is running.

When using this it is recommended to enable the systemd hardware watchdog
support, refer to the systemd documentation for this.

The systemd service provided by this recipe is not enabled by default as it
is an example that needs customization.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera 07bf5e0843 networkmanager: install dispatcher to create P2P bridge
https://jira.digi.com/browse/DEL-6576

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera c57d7ffa6f networkmanager: install main dispatcher script
Also create the folders that contain the scripts attending each
dispatch event type.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera 3fba022ecc networkmanager: allow to configure the connectivity response timeout
Instead of the 20 seconds hardcoded currently in the code, allow to
configure the response timeout in the connectivity section of the main
NetworkManager config file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera ba93fb6d76 init-ifupdown: support establishing a P2P link
Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Javier Viguera bc5c64571a busybox http: add systemd service
Currently in a systemd based init, the httpd server is not launched. A
systemd service is needed, so add it.

Also install a CGI script that allows to use the device for the
NetworkManager connectivity check.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Jose Diaz de Grenu 06ce1dac42 system-monitor: add system-monitor example
This recipe is an example for customer for a system-monitor. Scripts that
verify the system status can be added to /etc/system-monitor.d

The recovery mechanisms can be implemented on those scripts or in the
system-monitor script. The software watchdog systemd support is used to
guarantee that the system-monitor is running.

When using this it is recommended to enable the systemd hardware watchdog
support, refer to the systemd documentation for this.

The systemd service provided by this recipe is not enabled by default as it
is an example that needs customization.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera c93c116f2c networkmanager: install dispatcher to create P2P bridge
https://jira.digi.com/browse/DEL-6576

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 1a79df51c3 networkmanager: install main dispatcher script
Also create the folders that contain the scripts attending each
dispatch event type.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 1ec2441db4 networkmanager: allow to configure the connectivity response timeout
Instead of the 20 seconds hardcoded currently in the code, allow to
configure the response timeout in the connectivity section of the main
NetworkManager config file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 5dc6bf0ff1 init-ifupdown: support establishing a P2P link
Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 78e8c021b2 busybox http: add systemd service
Currently in a systemd based init, the httpd server is not launched. A
systemd service is needed, so add it.

Also install a CGI script that allows to use the device for the
NetworkManager connectivity check.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 10:10:34 +02:00
Gabriel Valcazar 41734a3614 dey.conf: force imx-gpu-viv as the provider for opencl-headers
There's a recipe in the thud branch of meta-openembedded specifically for the
opencl-headers package, but it's also provided by imx-gpu-viv. This generates
build errors when parsing the recipes and when populating the sysroot for
opencv.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:36:13 +02:00
Gabriel Valcazar 583dc784bc vulkan: update vulkan recipes
Make our vulkan sub-folder match NXP's by updating recipes, deleting ones that
are no longer needed and adding new ones. Also, stop forcing 1.0.65% as the
preferred vulkan version.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 4500494582 gstreamer: update recipes to v1.14.4.imx
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 0db6363af5 imx-parser: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1bd374a763 imx-codec: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1764350e53 wayland: update wayland recipes
Make our wayland sub-folder match NXP's.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar a74e80ab2d opencv: update to v4.0.1.imx
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:06 +02:00
Gabriel Valcazar e3aebef77c xf86-video-imx-vivante: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
The code revision is exactly the same as the one in v6.2.4.p2.3, so simply
rename the recipe and delete files that are not necessary anymore.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:06 +02:00
Gabriel Valcazar 793e901678 imx-gpu-viv: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 4d5ee19512 imx-gpu-g2d: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Instead of having one common .inc file and one .bb file per architecture,
we now have one common .bb file for both architectures.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 2cbcd32c5c imx-dpu-g2d: update to v1.7.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar a89c696cb3 libdrm: update revision
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Francisco Gil dd745b8a11 greengrass: add support for greengrass 1.9.0
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-05-09 17:03:43 +02:00
Hector Palacios e467623483 digiapix: update script and rules for watchdog and IIO
The watchdog and ADC devices were not being modified to belong
to 'digiapix' group, so the examples did not run properly when
ran as a user different than root.

Reported-by: Andreas Burghart <andreas.burghart@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6581
2019-05-08 15:45:41 +02:00
Gabriel Valcazar 995212a213 xserver-xorg: add poky SIGIO patch that was removed from upstream thud branch
This patch is included in the rocko and sumo branches of poky to avoid errors
when starting an xserver using DRI, but it was removed in the thud branch in
favor of newer input methods other than SIGIO. SIGIO is still supported, but
not explicitly in the xserver configuration.

Since the vivante driver on the i.MX6 is using DRI and, by extension, SIGIO
(even though there is no way to configure xserver to enable SIGIO support), the
only way to make xserver start correctly is by removing the SIGIO support check
in the code.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar 5a14bd9666 standby: add systemd standby-actions script for ccimx6/ccimx6qp platforms
Even though systemd support is not yet available for these platforms, add the
scripts so bitbake doesn't fail when building the busybox package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar f1ce4bfbc8 standby: homogenize standby script across all platforms
* Use the same operation order when resuming interfaces
* Remove unnecessary delay in ccimx6sbc standby script

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar c1fd7e473c modemmanager: add udev blacklist for ccimx6/ccimx6qp platforms
https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:05 +02:00
Gabriel Valcazar 40d2390819 modemmanager: cosmetic: remove executable permissions from .rules file
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar a9fdd62871 imx-gpu-g2d: list compatible machines explicitly
Otherwise, bitbake will try building the aarch64 version of the package and
fail when building ccimx6 images.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Arturo Buzarra 0a5c1183e7 libqmi: remove old version to use the new one from upstream
There is a new version in 'meta-openembedded/meta-oe'

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 15:00:42 +02:00
Arturo Buzarra c299341dc7 meta-digi-dey: bump distro version to 2.6-r2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 12:45:36 +02:00
Arturo Buzarra 21b09d616d Merge tag 'dey-2.6-r1.3' into dey-2.6/master
Digi Embedded Yocto 2.6-r1.3

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-04-24 12:37:13 +02:00
Gabriel Valcazar a3c190dfff meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:45:26 +02:00
Gabriel Valcazar 0078da95cb meta-digi: update revisions for dey-2.6-r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:44:36 +02:00
Gabriel Valcazar fce0809b47 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 17:56:55 +02:00
Hector Palacios 7c6871bf07 meta-digi: update revisions for dey-2.6-r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 17:55:17 +02:00
Hector Palacios d50f82b121 libdigiapix: rename config files from board.conf to libdigiapix.conf
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:07:47 +02:00
Hector Palacios 8fc279fe65 libdigiapix: add rule for PWM channels to be owned by digiapix group
The exported PWM channels now report the channel name under udev
EXPORT parameter.
Add the 'change' udev action type to the udev rules and use that
parameter to change the group ownership of the PWM channels to
digiapix group, so they can be used by non-root user.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:07:47 +02:00
Gonzalo Ruiz b81da5f6d0 libdigiapix: add ADC_IN0 as default DEFAULT_ADC for ccimx8x boards
ADC_IN0 is the channel 0 of iio:device0.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-04-12 17:17:51 +02:00
Gabriel Valcazar 971fed2724 python-numpy: redefine the target-specific RDEPENDS items
For some reason, even though the general RDEPENDS for this package is correct,
all items are overwritten by the empty class-native version of RDEPENDS, even
when building for the target. Because of this, whenever this python module is
installed and used, it won't work.

Redefine the dependencies needed by the target until the issue is fixed
upstream.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-12 12:30:18 +02:00
Hector Palacios db57343ed4 modemmanager: add systemd unit to force a late scan of modems
Some modems take a lot of time to initialize and ModemManager won't
see them on its first scan.
This service will force a rescan 40 seconds after boot, to give
enough time for those lazy modems.

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

https://jira.digi.com/browse/DEL-6366
2019-04-11 10:48:54 +02:00
Hector Palacios 2778713ef8 xbee: added new recipe for XBee hardware initialization
This recipe adds a script and a related systemd service that
configures two GPIOs (user defined, or else platform-defaults) as
output and sets them to the appropriate value for initializing the
XBee socket:
 - XBEE_SLEEP_RQ: is set low, for running the XBee
 - XBEE_RESET_N: is set low and then high, to reset the XBee

The service triggers on the condition that the UART TTY device node
pointed to by variable XBEE_UART exists.

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

https://jira.digi.com/browse/DEL-6366
2019-04-11 10:48:54 +02:00
Hector Palacios f4dd886ba3 modemmanager: add udev rule for CC8X XBee cellular on ttyMCA0
On the default device tree, the MCA UART that's connected to the
XBee socket is enabled. This registers as ttyMCA0.
Add a udev rule for this path so that ModemManager checks for
modems in this serial port.

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

https://jira.digi.com/browse/DEL-6366
2019-04-09 10:42:24 +02:00
Alex Gonzalez ea728e7c56 meta-digi-dey: memwatch: Fix compilation for new toolchain
The open() method now expects a mode argument.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:45:03 +02:00
Alex Gonzalez 5d54f67b1a meta-digi-dey: dey-examples-hdp: Remove python3-argparse dependency
With the re-organisation of the python3 packaging, some of the
packages have disappeared and are now part of base packages.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:45:03 +02:00
Gabriel Valcazar 982102fb68 core-image-base: don't override default IMAGE_INSTALL values
Otherwise, packagegroup-dey-core won't get included in ccimx6ulstarter images.
This packagegroup contains fundamental OS elements, such as sysvinit, kernel
modules and so on. Use CORE_IMAGE_BASE_INSTALL instead and make sure to append
to the default value instead of overwriting it.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-03 18:00:28 +02:00
Gabriel Valcazar 3bc0da87b0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-02 09:42:47 +02:00
Gabriel Valcazar 9fae56c116 meta-digi: update revisions for dey-2.6-r1.1
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-02 09:42:47 +02:00
Hector Palacios 86104b4ffa libdigiapix: add and fix GPIO aliases
For CC6/CC6Plus
 - Add USER_LED0 alias (same as default USER_LED)
 - Change aliases of the other LEDs to USER_LED1 and
   USER_LED2 (without additional underscore and fixed
   indexes, to match the board schematics)

For CC8X SBC Pro
 - Add USER_LED0 alias (same as default USER_LED)
 - Add USER_LED1 which was missing
 - Increase indexes (due to removed MCA_IO19 on SOM v3)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-02 09:23:18 +02:00
Gabriel Valcazar df3858f473 systemd: add patch to avoid spurious stalling during reboots
This modifies the behavior of the sd-resolve libsystemd component to prevent
the system from freezing whenever a service that uses said component is
stopped. Even though this doesn't free the terminated thread's resources
properly, this procedure only gets executed during the final moments of a
service's process before it exits, so resource leaks aren't an issue.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-28 18:08:19 +01:00
Hector Palacios 47f88d1d24 switch to building from maintenance branches for dey-2.6
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-03-27 17:47:32 +01:00
Hector Palacios 42d28c76cb dey-examples: remove old examples now superseeded by digiapix
This commit removes the following examples that were accessing
hardware interfaces:
 - dey-examples-adc
 - dey-examples-can
 - dey-examples-gpio-sysfs
 - dey-examples-spidev
 - dey-examples-watchdog

The recipe 'dey-examples-digiapix' builds similar examples that make
use of Digi's APIX for accessing the hardware. Add this recipe to images
 - dey-image-qt
 - core-image-base

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

https://jira.digi.com/browse/DEL-5169
2019-03-27 10:58:40 +01:00
Hector Palacios 04aa734d75 dey-examples: create common file for the dey-examples repo URL/branch
This reduces the number of files that must be modified when changing
branches between development/release modes.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-03-27 10:52:44 +01:00
Francisco Gil fd8701845e greengrass: add support for greengrass 1.8.0
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-03-27 09:52:54 +01:00
Francisco Gil 7ea3714d9c greengrass: generalize the recipe to compile greengrass
Organize the common code in the recipe to make easy the
inclusion of new greengrass versions.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-03-27 09:52:45 +01:00
Gabriel Valcazar 12e603021c init-ifupdown: add virtwlans script to pre-up and post-down hook directories
This way, the wlan1 interface will only be created whenever a user wants to
bring the interface up with ifupdown. Modify the script to be able to delete
the interface whenever it gets brought down and remove its .sh file extension
so run-parts can run it properly during the ifup process.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-22 09:46:51 +01:00
Gabriel Valcazar 26df169ea2 init-ifupdown: don't bring wlan1 up automatically
Tests have shown that having this interface up hinders wlan0's performance,
so don't bring it up by default.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-22 09:46:51 +01:00
Gonzalo Ruiz c0065f64e3 u-boot-fw-utils: update to version 2018.07
Update u-boot-fw-utils patches to apply on current upstream version. Remove
recipe for version 2017.09 since both U-Boot v2017.03 and v2018.03 work fine
with the newer version.

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Gonzalo Ruiz 4803dba689 dtc: use version 1.4.5 only on platforms that build U-Boot 2017.X
This version is only required to build U-Boot 2017.X, so select it as preferred
version only on those platforms that build this U-Boot (CC6 and CC6UL).

https://jira.digi.com/browse/DUB-881

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-03-21 15:44:54 +01:00
Jose Diaz de Grenu 9e349305a3 sysinfo: add device tree used to the report
The device-tree being used on a system is a very important piece of
information to debug issues. On a host machine, dtc can be used to
reconstruct the DTS used from the /proc/device-tree folder structure.

While on it, remove extra white lines at the beginning and end.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-03-21 11:15:34 +01:00
Arturo Buzarra 626d594952 bridgeifupdown: fix bridge initialization timing issue with wireless interface
This script introduces a minor delay when the own script
launch the wpa_supplicant daemon, however this minor delay
is needed in the boot process when the wireless interface
is loaded, if not the bridge mechanism throws an unexpected
error trying to add the interface to the bridge before the
wireless is ready to use.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-03-18 18:41:54 +01:00
Gabriel Valcazar 65072fb04c greengrass: add systemd support
Since our initscript contains logic to dynamically generate the path containing
the greengrass daemon (it changes depending on the version), keep it in the
rootfs. Create a symlink to it inside of /etc/init.d for sysvinit images and
create a systemd service wrapper that calls it on systemd images.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-18 14:11:59 +01:00
Gabriel Valcazar 6e282ec51b bluez: rework bluetooth and bluetooth-init services
Soften the dependencies between the services and start the bluetooth stack
regardless of the existence of a bluetooth chip. Also, update the standby
script to reflect that there is no longer a strong dependency between the
services.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-14 17:27:00 +01:00
Gabriel Valcazar 1ddd7e57ee systemd: add upstream patch to expand the list of rules.d directories
Unlike eudev, which is used on images without systemd, the list of paths
systemd-udev uses to look for rules is very limited. Include an upstream patch
(commit 116b91e8ccfee1d44fc2b140d831d688e3747902 in the systemd repo) that
expands said list.

This fixes an issue with crda's regulatory domain rule file, which was being
excluded due to it being in a path systemd-udev was ignoring (/usr/lib/udev).
Because of this, the regulatory domain was never set properly and hostapd was
failing when configured to use 5GHz channels (which is the default config).

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-14 13:34:16 +01:00
Gabriel Valcazar ae2abd926a init-ifupdown: add systemd support
To avoid bringing up interfaces before they're created by udev scripts
(specifically wlan1), wait until udev settles before starting the service.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-14 13:34:16 +01:00
Gabriel Valcazar b957f0ef75 hostapd: add systemd support
When using systemd, putting the wlan1 interface up wasn't working because it
was relying on initscripts that are no longer in the filesystem.

Add a parametrized version of the upstream hostapd service to be able to use a
configuration that's different from the default one. Also, modify the
generation of the wlan1 entry in /etc/network/interfaces to be able to use
different post-up/pre-down hooks depending on the init manager that's being
used.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-14 13:34:07 +01:00
Arturo Buzarra e13d086612 vsftpd: enable user authentication through PAM when it is enabled
https://jira.digi.com/browse/DEL-6502

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-03-11 13:05:24 +01:00
Arturo Buzarra 70c2a73b3f wpa-supplicant: enable control socket interface for systemd service
https://jira.digi.com/browse/DEL-6483

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-03-07 16:17:04 +01:00
Arturo Buzarra 61dd975687 networkmanager: remove upstreamed fix for ppp support
This change was added to meta-openembedded layer by commit
0814df2e9179b71b5f5c99b962aca35ede1f242f.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-03-04 18:14:20 +01:00
Arturo Buzarra 78360255f0 networkmanager: disable terminal colors by default for nmcli
Since the version 1.12, NetworkManager enables the colors in the
terminal output by default. This pretty output is not compatible
with several terminal emulators and makes it difficult to parse
the output of the CLI commands.
This patch uses the standard linux util called 'terminal-colors.d'
to disable the colors by default in the NetworkManager CLI interpeter.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-27 16:59:49 +01:00
Arturo Buzarra bccb5890b8 busybox: generalize bbappend to support different revisions
Latest update to version 1.29.3 in upstream breaks the compatibility
of our bbappend, to avoid it in future updates, this commit
generalizes the bbappend to apply all the 1.29 series.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-26 16:47:06 +01:00
Arturo Buzarra 2ecc433295 pulseaudio: generalize recipe and add support to MAX98089 sound card profile
Add pulseaudio audio profile for MAX98089 sound card and
generalize the recipe to support multiple platforms with
the same audio sound card.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-26 14:13:44 +01:00
Hector Palacios eafa8684a3 imx-gpu-viv: remove GPU driver kernel module and dependencies
The driver now builds directly from the kernel source and the
fixes are already included in the kernel tree so there is no need
to build the module externally.

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

https://jira.digi.com/browse/DEL-6460
(cherry picked from commit a0990a7e1dcd03af239efb620b83b7dee126484e)
2019-02-26 10:21:30 +01:00
Alex Gonzalez b1d5d3e4ac meta-digi-dey: Add batctl application
This is a user space tool to manage BATMAN advanced network interfaces.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-02-25 09:57:29 +01:00
Gabriel Valcazar 4d739d1d7e vsftpd: change path used for systemd runtime data
systemd-tmpfiles throws warnings of /var/run being deprecated in favor of /run.
Even though this is corrected automatically, the warnings appear several times
during runtime, polluting the systemd journal.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-22 11:14:29 +01:00
Arturo Buzarra fce8d2bb10 xserver-xf86-config: Sync i.MX xorg.conf files with meta-fsl-bsp-release layer
- Remove upstreamed config files
- Add a base version
- Add i.MX 6ULL config file

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-20 09:27:11 +01:00
Gabriel Valcazar c76469fba7 dnsmasq: disable dnsmasq.service by default
Similar to what we did on sysvinit, stop dnsmasq from starting automatically
on boot so NetworkManager can launch it via dbus.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar b769f90e2a hostapd: rework postinst script to avoid lock-ups on first boot
The postinst script tries parsing the wireless MAC address from the sysfs, and
in case of failure, obtains a random string from /dev/urandom. This caused two
problems when booting with systemd:

 * The wifi interface's sysfs entry is not available because the interface
hasn't had time to start up yet, forcing the script to always resort to the
/dev/urandom fallback.
 * Even though the postinst scripts are run after populating the volatile
filesystems (as can be seen in run-postinsts.service's dependencies), trying
to read either /dev/random or /dev/urandom at this point in the system's
initialization causes it to lock up indefinitely.

To avoid either situation, add the following changes:

 * Immediately exit when running on a non-wireless target, as the script isn't
necessary in this use case.
 * Parse the wireless mac address from /proc/device-tree/wireless, which is
guaranteed to always be available when the script runs. By doing this, we can
remove the /dev/urandom fallback entirely.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar 803dde16b0 busybox: add suspend-actions script for the ccimx8x and ccimx6ul
This script behaves the same way as our custom standby script, with a few
modifications, for example:

 * instead of using initscripts to stop/start daemons, it uses systemctl calls
 * save variables that are needed when resuming in /tmp, because the script is
executed twice instead of once (when suspending and when resuming)
 * remove the locking/unlocking of the critical section and the actual state
change, since that is handled by systemd-suspend now

Also, add a different standby script for when systemd is enabled. Said script
acts as a wrapper for systemd's suspend mechanism.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar d0b99c14fc bluez5: add patch to modify bluetooth.service's properties
These changes are needed in order to achieve a behavior similar to our
bluetooth initscripts'.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar ae1dfa5901 bluez5: add bluetooth-init.service
This service acts as a systemd replacement for our bluetooth-init initscript.
All it does is call the initscript before starting the bluetooth stack.

Since initscripts dissapear from /etc/init.d when disabling sysvinit, move the
script to /etc/. Also, include bluez5-init as a packagegroup-dey-bluetooth
dependency regardles of whether systemd is enabled or not.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar dbd68f87d5 systemd: remove NXP patches
These patches don't apply on the latest version of systemd used in Yocto 2.6.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar 670491e287 systemd: remove patch that makes systemd-logind ignore KEY_POWER events
Without systemd, our KEY_POWER events were handled by the ACPI daemon, which in
turn issued a "poweroff" command. With systemd, the ACPI daemon is no longer
available and the events are handled by systemd-logind instead, which also
powers down the system properly. However, NXP added a patch that prevents
system-logind from handling the events, since they use the sc_powerkey instead.

Remove this patch to be able to power the target off via our power button.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar 2c544a2241 meta-digi: remove initscript package dependencies when systemd is enabled
Otherwise, there will be errors due to missing dependencies.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar c1c8a9a7c7 systemd: add missing systemd recipes
These have been ported directly from NXP's meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Arturo Buzarra ff34c08568 busybox: include reboot config by default in defconfig file
Since poky commit b6fbb3f3d4d6367b0fd7921078f67057551c7ede
reboot config was moved to init.cfg to provide this configuration
when busybox is selected as the init manager, however it is needed
for initramfs images where no init manager is set (see poky commit
ef4a417ab04779bd9fc8a6540a20cca7d14e98cf).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 14:54:43 +01:00
Arturo Buzarra 50e3b6db34 packagegroup-dey-core: use VIRTUAL-RUNTIME providers for base-utils package
This change allows overriding the base-utils used in the distribution.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 10:57:38 +01:00
Arturo Buzarra 469d852e93 meta-digi-dey: fix busybox-syslog RRECOMENDS dependency
Since commit 4b41d9072a304fadbe1cc37c94575f12a2a47fd3 in poky
busybox removes the RRECOMENDS dependency with busybox-syslog,
then we need to explicitly add this dependency in the recipes.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 10:56:46 +01:00
Arturo Buzarra d726049cb2 bluez5: add required tools to support Bluetooth Mesh
https://jira.digi.com/browse/DEL-6444

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-13 17:02:50 +01:00
Arturo Buzarra e9e0bd965b modemmanager: create common blacklist rules file for ccimx8x platforms
https://jira.digi.com/browse/DEL-6443

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-11 14:28:08 +01:00
Arturo Buzarra 24ef989dac thud migration: update ModemManager recipe to use version 1.8.2
Remove git recipe to use the official 1.8.2 release and update
udev rules file to blacklist the network interfaces that ModemManager
must not manage.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Arturo Buzarra 6240fc6fe1 thud migration: remove compiler optimizations for CloudConnector recipe
Commit 491082c56ce34f3fd644f8d4457ccd52af951087 in poky layer enables
by default some security enhancements and optimizations for the compiler,
These extra checks added by the flag -D_FORTIFY_SOURCE=2 break the
CloudConnector build. This commit disables the extra validations only
for the CloudConnector recipe.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Arturo Buzarra b04b818426 thud migration: refresh OpenSSL patches to version 1.1.x
Removed patches already integrated in the OpenSSL code and
refreshed the necessary ones.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Arturo Buzarra a53072391e thud migration: default to use older Vulkan v1.0.65.2
Vulkan v1.1.73 fails building with spirv-tools

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:27 +01:00
Arturo Buzarra 2e28c68d38 thud migration: move forward gstreamer version 1.14
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 08:50:48 +01:00
Arturo Buzarra 673398c0d5 thud migration: dtc: use version 1.4.5 to maintain compatibility with U-Boot 2017.X
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra e7a63452ef thud migration: swupdate: update recipe to version 2018.11
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra 78497b7c24 thud migration: xorg-xserver: remove incompatible patch with new version 1.20
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra fe64e5422d thud migration: networkmanager: update to use new version 1.14.4
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra 769fb5b50b thud migration: dhcp: update recipe to version 4.4.1
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra cf0165fa42 thud migration: bluez5: update recipe to version 5.50
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra ac53a74443 thud migration: remove deprecated package wireless-tools
Wireless tools is deprecated in favor of iw because the
wireless extensions have been deprecated in favor of the
new nl80211 interface for wireless devices.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:26 +01:00
Arturo Buzarra fbc91bf4b7 thud migration: busybox: refresh defconfig file for version 1.29.2
The defconfig file has been refreshed for the current busybox
version 1.29.2 maintaining the same applets enabled.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Arturo Buzarra 4bbe69665f thud migration: busybox: update to version 1.29.2
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Arturo Buzarra ddd14144c3 thud migration: Use GCC compiler 7.x to maintain compatibility with some packages
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Arturo Buzarra d5ba4e54e9 thud migration: update meta-digi LAYERSERIES_COMPAT to indicate support with "thud" release
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Arturo Buzarra 76aa800b18 thud migration: sync distro config
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Arturo Buzarra 4b0f59c1b9 thud migration: bump version
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Gabriel Valcazar c681701c27 busybox: remove busybox-static-nodes initscript
This script was added a long time ago and it never gets used anymore, so remove
it from our images.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-04 14:59:46 +01:00
Jose Diaz de Grenu 45227325ee bluez_5.41: filter out CC8X machine
The point of this recipe is to provide the version of Bluez5 that was
certified. Thes certification does not apply to the  ConnectCore 8X, and the
recipe currently fails to build due to missing files. Hence filter out the
ConnectCore 8X from this recipe.

This clears the following warnings:

WARNING: meta-digi/meta-digi-dey/recipes-connectivity/bluez/bluez5_5.41.bb: Unable to get checksum for bluez5 SRC_URI entry bluetooth-init: file could not be found
WARNING: meta-digi/meta-digi-dey/recipes-connectivity/bluez/bluez5_5.41.bb: Unable to get checksum for bluez5 SRC_URI entry main.conf: file could not be found

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit bf9688fd08ac9e8823a5a253bdd1acacd1c0870e)
2019-02-04 12:18:13 +01:00
Jose Diaz de Grenu 6153f91120 trusfence-initramfs: exclude cc8x
Trustfence is not supported in the CC8X at the moment. This cleans the
following warning:

WARNING: meta-digi/meta-digi-dey/recipes-core/trustfence/trustfence-initramfs.bb: Unable to get checksum for trustfence-initramfs SRC_URI entry trustfence-initramfs-init: file could not be found

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit 778fc424274fc0983c348f4da6ca09e1a7b5b859)
2019-02-04 12:18:11 +01:00
Gabriel Valcazar 912fa14573 gstreamer1.0-plugins-good: add the vpx package back to the recipe
vpx was wrongly removed when updating the recipe to version 1.14, but it's
required to build x11 images for the ccimx6ulsbc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 1e2244afcd)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-01-29 15:59:42 +01:00
Arturo Buzarra c20f0c0fa3 Revert "ccimx8x: standby: use suspend to idle instead of suspend to RAM"
Suspend to ram issue was fixed on new SOMs, then we revert it.
This reverts commit 52ebcd9f48.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-29 10:59:00 +01:00
Gonzalo Ruiz 5db1f0855f modemmanager: add separate XBee Cellular rule for ccimx8x-sbc-pro
CC8X SBC Pro's LPUART0 port is routed to the Expansion connector.
The UART located in the XBee socket, MCA UART, is not currently supported
so comment the XBee Cellular rule for the moment.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-01-25 15:55:38 +01:00
Hector Palacios 74e346262e libdigiapix: set MCA PWM1 (MCA_IO5) by default on CC8X
This PWM signal is available on the expansion connector
of both the SBC Express and SBC Pro.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-01-25 10:38:20 +01:00
Gabriel Valcazar ed2c497497 imx-gpu-viv: remove wayland as a requirement for i.MX8 platforms
This was added by NXP in their recipe to force wayland as a backend for i.MX8
platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-22 17:34:58 +01:00
Arturo Buzarra 773f6565e2 busybox: refresh defconfig file for version 1.27
The defconfig file has been refreshed for the current busybox
version 1.27.x maintaining the same applets enabled.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-22 14:06:44 +01:00
Gonzalo Ruiz 3757035a3f dey-examples: adc_sample: Add support for CC8X CPU ADCs
https://jira.digi.com/browse/DEL-6386

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-01-17 17:09:47 +01:00
Arturo Buzarra 1c98b20858 sumo migration: graphics: update imx-dpu-g2d to version 1.6.0
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 73f1edd7e4 sumo migration: update qt5 recipe to 5.10
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra f8bc0f565a sumo migration: update recipe libdrm to version 2.4.91
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 7047e86bd9 sumo migration: update opencv to version 3.4.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 004d341db2 sumo migration: update weston to version 5.0.0
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra d202e0b75c sumo migration: update wayland to version 1.16
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra f4f1eb1144 sumo migration: update gstreamer plugins to version 1.14
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 5093060199 sumo migration: update GPU driver and apps to v6.2.4.p2.3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 303106cce1 sumo migration: use pkg_postinst_ontarget() to delayed operation on first boot
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra ee8c67ea66 u-boot: move forward the u-boot version 2017.03
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 58f76af1c1 swupdate: update recipe to version 2017.11
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra e8b55724f9 sumo migration: bluez5: update recipe to version 5.48
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 9f972aa749 sumo migration: busybox: update to version 1.27.2
Removed patch files because it was integrated in the source code.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 2b6db8f0b9 sumo migration: vulkan: fix patch file to remove bad $-escape
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 5eb88b8c5d sumo migration: meta-digi: replace the deprecated base_conditional function
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 771bc38b4f sumo migration: meta-digi: add LAYERSERIES_COMPAT to indicate support with "sumo" core release
In 92c49b9b1a16dfd35444db8143bd4cae4cda70cc was introduced the LAYERSERIES_CORENAMES
and LAYERSERIES_COMPAT_<layername> with the intention of allowing layers
to indicate which versions of the core project they're compatible with.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 9636eab970 sumo migration: sync distro config
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 0975600fc2 sumo migration: bump version
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Gabriel Valcazar 055c333c5e Merge tag 'dey-2.4-r2.2' into dey-2.4/master
Digi Embedded Yocto 2.4-r2.2

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-04 12:01:20 +01:00
Gabriel Valcazar 9b43dc1767 packagegroup-qt5-toolchain-target: remove qt3d dependency
qt3d sometimes fails to build due to an upstream issue that has yet to be
resolved. Since this interferes with our daily builds from time to time, remove
qt3d from our images completely.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-03 11:29:57 +01:00
Mike Engel 943bd218ea meta-digi: update revisions for dey-2.4-r2.2
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-13 16:35:08 +01:00
Mike Engel dd5ba676ff meta-digi: revert revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-04 16:45:01 +01:00
Mike Engel 29d7aa0c41 meta-digi: update revisions for dey-2.4-r2.1
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-04 16:45:01 +01:00
fgilmar 755892a33c AWS Greengrass: add new recipe for AWS Greengrass core 1.7.0
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-30 10:52:29 +01:00
fgilmar 93d4852e69 libdigiapix: add libsocketcan dependency for the CAN APIx
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-29 11:58:21 +01:00
Hector Palacios 171dd4489e Merge branch 'dey-2.4/master' into dey-2.4/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-11-21 17:47:50 +01:00
Gabriel Valcazar fa5004dafb Revert "ccimx8x: bluetooth-init: set 115200bps for SOMv1"
SOM v1 is not going to be released, so there's no need for a revision check.
Now that hw flow control is available, use it along with the highest baudrate
possible.

This reverts commit e4fbba3dde.

https://jira.digi.com/browse/DEL-6254
2018-11-21 09:49:13 +01:00