Commit Graph

1300 Commits

Author SHA1 Message Date
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
Arturo Buzarra d159eae03a meta-digi-dey: sysinfo: adapt script to CC8X platform
https://jira.digi.com/browse/DEL-6261

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-11-13 17:17:29 +01:00
Hector Palacios 9daca40854 Merge branch 'dey-2.4/master' into dey-2.4/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-11-12 16:11:02 +01:00
fgilmar d74e5d3cc2 dey_examples: adc: fix a typo in the adc_list definition
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-07 17:32:14 +01:00
fgilmar d4c3751bbd dey_examples: adc: fix a typo in the adc_list definition
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-07 17:29:47 +01:00
Gonzalo Ruiz c35ba5e760 meta-digi-dey: bump distro version to 2.4-r2
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-10-29 13:27:12 +01:00
fgilmar 417b64c949 greengrass: cc8x: add greengrass support for cc8 platform
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-10-22 12:14:01 +02:00
fgilmar 06f193f011 AWS Greengrass: add new recipe for AWS Greengrass core 1.6.0
https://jira.digi.com/browse/DEL-6189

Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-10-22 12:14:01 +02:00
Gabriel Valcazar 9442509ea2 openssl: add compatibility with applications linking to v1.0.0 or higher
Our current OpenSSL libraries are only functional when applications link
against v1.0.2d or higher, making some packages containing pre-compiled
applications that link to older versions (like AWS Greengrass) fail to build
and/or run properly.

This commit includes:
	* Changing SHLIB_EXT from so.1.0.2 to so.1.0.0
	* Reverting the version-script to an older version with backwards
	  compatibility plus newer symbols

Specifically, these changes partially revert the patches added in the poky
layer's commits a59bfd05d15085a3dc5669b47fd19867246c846b and
73a43fc15e0463c39baaadecab78fb3ef51b8cd0 respectively.

Please note that this only modifies the cryptographic library's ABI, its code
remains unchanged.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-10-22 11:35:36 +02:00
Arturo Buzarra 1497101245 busybox: adapt acpid.map file for ConnectCore 8X platforms
https://jira.digi.com/browse/DEL-6128

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-17 14:23:48 +02:00
Arturo Buzarra d44d97dc1b libdigiapix: add board.conf file for the ConnectCore 8X SBC Pro platform
The PWM and ADC values are still to be determined, since their BSP support is
currently unavailable.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Arturo Buzarra 3af8c2f566 modemmanager: generalize XBee Cellular rule for ccimx8x platforms
https://jira.digi.com/browse/DEL-6205

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Alex Gonzalez dcab770db7 meta-digi-dey: bluez: Move IBS protocol to the last HCI UART entry.
This protocol will only work with the Digi vendor v4.9 kernels.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-10 17:04:25 +02:00
Arturo Buzarra 4cdb24d0f5 bluez5: initialize BT in HCI_H4 mode and disable IBS and DEEP_SLEEP on firmware binary
Initialize Bluetooth chip in HCI_H4 mode and provide a firmware binary
with the IBS and DEEP_SLEEP mode disabled by default. Also this firmware
enables an internal clock required to maintain the system on low power modes.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-10 12:00:33 +02:00
Alex Gonzalez 569c95511f meta-digi-dey: bluez5: Adapt bluetooth-init to mainline use
The Digi vendor kernel uses a dedicated HCI UART driver with support for
In-Band Sleep (IBS). This driver, when used with a QCA vendor ROME plugin
for hciattach, is able to upload a new firmware version to the Bluetooth
chipset, as well as set the MAC address directly on the firmware.

Mainline BSP uses the HCI H4 driver instead and the "qualcomm" hciattach
plugin which is not able to upload firmware to the QCA6564 chipset.

As such, when using mainline the chipset uses the ROM firmware and the
bluetooth init script has been adapted accordingly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 2b55252287 meta-digi-dey: xserver-xf86-config: Use fbdev device for mainline
The meta-freescale layer assumes that when you define the use-mainline-bsp
the platform is going to use the etnaviv gpu driver. This is not the case
for the CC6UL as the mxsfb.c driver is still not DRM capable.

Probably this will change in v4.19 as there is a DRM capable mxsfb.c
driver that will make it possible to use the armada xf86 driver with the
etnaviv fbdev emulation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez f85cd4e2ee meta-digi-dey: sysinfo: Fix for use with mainline kernels
* Check for file before using it

This just avoids the failure, on mainline access to OTP would need to be
done differently, see:

https://jira.digi.com/browse/ACL-163

* Use compatible node instead of digi,machine,name

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Jose Diaz de Grenu 6044011127 kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit 4d35d15fee)
2018-10-09 13:43:38 +02:00
Jose Diaz de Grenu 4d35d15fee kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-10-09 11:42:19 +02:00
Gabriel Valcazar 66d51040c5 ccimx8x-sbc-express: libdigiapix: change default SPI device index
On this platform, the SPI device gets registered as /dev/spidev32766.0.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-24 17:56:09 +02:00
Hector Palacios 94b6e01c96 meta-digi-dey: revert some recipes to build from master branches
During the merge of the maintainance branch and the manual revert of
some recipes, these were forgotten.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-24 17:05:07 +02:00
Gabriel Valcazar 44def5862f ccimx8x-sbc-express: libdigiapix: change default SPI device index
On this platform, the SPI device gets registered as /dev/spidev32766.0.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-24 14:04:01 +02:00
Hector Palacios 12aba85571 meta-digi: update revisions for dey-2.4-r2.4-beta
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-14 13:40:48 +02:00
Hector Palacios 65ac281615 meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-14 13:40:48 +02:00
Gabriel Valcazar 419b8def29 dey-image-installer: generalize bootloader name to support imx-boot files
The generate_installer_zip() function had a hardcoded "u-boot" filename when adding
the bootloader to the list of files that are put in the installer .zip.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-13 17:00:34 +02:00
Hector Palacios 4ac6a5e0f3 meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 16:50:51 +02:00
Hector Palacios 948b079985 meta-digi: update revisions for dey-2.4-r2.3-beta
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 16:50:51 +02:00
Gonzalo Ruiz e4fbba3dde ccimx8x: bluetooth-init: set 115200bps for SOMv1
Set a lower baudrate of 115200bps for bluetooth on SOMv1 since
hardware flow control is not available.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-12 16:36:36 +02:00
Gabriel Valcazar 42629406d3 packagegroup-qt5-demos: remove qt3d-examples
The qt3d library is prone to compilation errors, so remove these examples for
now.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-12 10:59:05 +02:00
Hector Palacios 284a34deac meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 16:53:09 +02:00
Hector Palacios 2f55bb8fb6 meta-digi: update revisions for dey-2.4-r2.2-beta
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 16:52:27 +02:00
Gonzalo Ruiz 60fae2e2e1 meta-digi-dey: update distro version to 2.4-r2-beta
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-07 17:55:40 +02:00
Gabriel Valcazar 04fc47605d qt5: ccimx8x: change platform plugin to EGLFS when not using XWayland
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gabriel Valcazar 913a8462c2 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>
2018-09-07 17:44:11 +02:00
Gabriel Valcazar 5e386a4d21 Revert "ccimx8x: add imx-gpu-viv demos and tools"
These packages create dependency issues when compiling framebuffer images, and
they aren't essential. Include them only in ccimx6 images.

This reverts commit 2edb127d28.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gonzalo Ruiz d61081a02c meta-digi: revert revisions to AUTOREV
This reverts commit ad9d2e5bdc.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 18:27:58 +02:00
Gonzalo Ruiz ad9d2e5bdc meta-digi: update revisions for dey-2.4-r2.1-beta
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 18:27:36 +02:00
Gonzalo Ruiz d065f53ac4 trustfence-tool: update recipe to v2.2
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 15:05:39 +02:00
Gabriel Valcazar 8412670220 packagegroup-qt5-demos: remove qtsmarthome
The sources for this package do not exist anymore, causing the build to fail
unless said sources can be obtained via a mirror.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-05 13:05:31 +02:00
Hector Palacios 8e246b98be Merge branch 'dey-2.4/master' into 'dey-2.4/maint'
Conflicts:
	meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2015.04.bb
	meta-digi-arm/recipes-digi/trustfence/trustfence-sign-tools_git.bb
	meta-digi-arm/recipes-kernel/kernel-module-qualcomm/kernel-module-qualcomm.bb
	meta-digi-arm/recipes-kernel/linux/linux-dey.inc
	meta-digi-arm/recipes-kernel/linux/linux-dey_4.9.bb
	meta-digi-dey/recipes-digi/dey-examples/awsiotsdk-demo_git.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-cryptochip.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-digiapix.bb
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.4.0.bb

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-08-31 13:18:29 +02:00
Gabriel Valcazar 52ebcd9f48 ccimx8x: standby: use suspend to idle instead of suspend to RAM
Currently, it isn't possible to wake up the ccimx8x after suspending to RAM.
For now, use the less strict "freeze" low power mode instead.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-31 10:43:27 +02:00
Gabriel Valcazar 5666f6a85e hostapd: add support for the ccimx8x platform
https://jira.digi.com/browse/DEL-6067

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-24 17:51:53 +02:00
Gabriel Valcazar 0794c17bb7 xf86-video-imx-vivante: rename recipe file to v6.2.4.p1.6
The recipe's contents are unchanged, but the version number in the recipe name
will now match the rest of the vivante-related recipes.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-21 17:12:47 +02:00
Gabriel Valcazar bebd82b2e7 imx-gpu-viv: update aarch32 recipe to v6.2.4.p1.6
The package is now available for download on NXP's mirror, so we can fully sync
our recipe with the one in meta-fsl-bsp-release.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-21 17:12:47 +02:00
Gabriel Valcazar ae717a8dfe imx-gpu-g2d: update recipe to v6.2.4.p1.6
Also remove our .bbappend, since it's not needed anymore after updating our
machine overrides.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-21 17:12:47 +02:00
Gabriel Valcazar 2edb127d28 ccimx8x: add imx-gpu-viv demos and tools
https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 5f70a38ef3 packagegroup-dey-gstreamer: install extra packages for all imxgpu2d platforms
These packages are required for videos to play properly on the ccimx8x. Also,
add gstreamer1.0-libav explicitly since the only package that depends on it
(gst-player-bin) was removed from packagegroup-core-x11-sato.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 5fda306e36 ccimx8x: add xwayland support
Also add gtk3+ and clutter demos that depend on wayland since they are also
included in NXP's images.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar fedb101701 packagegroup-core-x11-sato: remove matchbox dependencies
This is done in meta-fsl-bsp-release when building xwayland images, so port it
to our layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 62c4e2f6a4 recipes-graphics: merge NXP's .bbappend files with ours
https://jira.digi.com/browse/DEL-6104

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar d522e4ae21 packagegroup-dey-qt: sync Qt packages with NXP's code
This updates our Qt5 packagegroup with all of the packages included in NXP's
fsl-image-qt5-validation-imx.bb.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 4a477410fe recipes-qt: merge NXP's .bbappend files with ours
This merges our Qt5 recipes with the ones in meta-fsl-bsp-release.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 081551aeeb recipes-qt: add recipes from meta-fsl-bsp-release
These recipes update Qt5, its plugins and adds wayland support.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar c82ee2be42 recipes-graphics: add recipes from meta-fsl-bsp-release layer
Some of these recipes might not be strictly necessary for xwayland to work, but
they are related, so I have added them just in case.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Hector Palacios d3865a7e6e pointercal-xinput: add support for ccimx8x
Added empty file to avoid the touch calibration from running
always.

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

https://jira.digi.com/browse/DEL-6095
2018-08-07 13:22:21 +02:00
Arturo Buzarra 01be6cf386 swu-images: add support for ccimx8x platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-07-30 09:43:38 +02:00
Arturo Buzarra 5e09bc2f58 dey-image-recovery-initramfs: added filesystem utilities to ccimx8x platform
The e2fsprogs-mke2fs utilities are required for the recovery initramfs scripts.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-07-30 09:43:14 +02:00
Gabriel Valcazar 1e2244afcd 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>
2018-07-26 17:07:54 +02:00
Gabriel Valcazar 66e7d7cf15 imx-gpu-viv: change license checksum for aarch64 version of the package
The newer version used for the ccimx8x has a different license, so its checksum
must be changed.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-24 19:06:35 +02:00
Gabriel Valcazar bcd65427a1 ccimx6/6qp: imx-gst1.0-plugin: add missing symbol to fix compilation
This package depends on libg2d, and the latest version of this library's
sources for imx6 platforms are currently unavailable. Among other things, the
newer sources add a symbol needed by imx-gst1.0-plugin to compile, so this
patch manually adds the symbol as a macro in the package's source code.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-20 18:43:08 +02:00
Gabriel Valcazar f646bc9ddb imx-gpu-viv: update aarch64 recipe to 6.2.4.p1.6
The aarch32 recipe will remain the same for now, since the newer sources aren't
yet available in NXP's mirrors.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-20 17:29:49 +02:00
Gabriel Valcazar 51c4800f04 imx-dpu-g2d: update to version 1.4.6
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:45 +02:00
Gabriel Valcazar 37c8d29017 libdrm: modify recipe to match the one used by NXP
The most important change here is the package's revision.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:32 +02:00
Gabriel Valcazar df7f4becee imx-parser: update to version 4.4.0
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:27 +02:00
Gabriel Valcazar 178bb41446 imx-codec: update to version 4.4.0
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:22 +02:00
Gabriel Valcazar 8fc5defdf7 gstreamer: update recipes to version 1.14
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:47:25 +02:00
Gabriel Valcazar dce71c9348 ccimx8x: prohibit dey-image-qt from building when trustfence is enabled
The message log level is "fatal" so the compilation ends as soon as possible.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-06 13:46:23 +02:00
Gabriel Valcazar f321da6a2c trustfence-tool: modify source name to include target CPU architecture
We now have different tarballs for each CPU architecture we compile for. Also,
add support for the aarch64 tarball.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-06 13:46:23 +02:00
Gabriel Valcazar 13d9d941cc libdigiapix: add board.conf file for the ccimx8x-sbc-express
The PWM and ADC values are still to be determined, since their SOM support is
currently unavailable.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-05 18:58:00 +02:00
Gabriel Valcazar d9b333db05 cryptochip: add cryptochip MACHINE_FEATURE in several recipes
This simplifies some dependencies and makes them more explicit.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-02 10:55:11 +02:00
Gabriel Valcazar af1463179a openssl: add cryptouthlib patches to the ccimx8x
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +02:00
Gabriel Valcazar 96b5420f29 modemmanager: add XBee Cellular rule for the ccimx8x-sbc-express
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +02:00
Gabriel Valcazar 8ea4e7ec6b wpa_supplicant: add default configuration files for the ccimx8x
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +02:00
Hector Palacios e406ab5f3a qtbase: add support for ccimx8x
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6039
2018-06-26 18:07:07 +02:00
Hector Palacios 8a5c4a3121 imx-dpu-g2d: add DPU recipe
The Display Processing Unit (DPU) on the i.MX8 is what NXP used to call
Image Processing Unit (IPU) on the i.MX6 family.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Hector Palacios e7f1aaddec gstreamer1.0: fix cc6ul gstreamer build
Commit 15139a3e97 wrongly removed 'vpx' from plugins-good which
is needed to play WebM files on the CC6UL.

The packagegroup-dey-gstreamer also needed to be updated to use
'pulseaudio' from plugins-good which was apparently renamed from 'pulse'.

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

https://jira.digi.com/browse/DEL-6029
(cherry picked from commit 29add13409)
2018-06-20 15:16:50 +02:00
Hector Bujanda 3687457ad0 dey-examples: adc_sample, adc_cmp_sample: Add support for CC8X
adc_sample:
   - extend list of supported devices with MCA_CC8X
adc_cmp_sample:
   - Add '-t' argument to specify the type of device.
   - Added checking of threshold ranges to avoid confusion between
     raw and voltage configurations.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2018-06-20 12:23:57 +02:00
Hector Palacios 29add13409 gstreamer1.0: fix cc6ul gstreamer build
Commit 15139a3e97 wrongly removed 'vpx' from plugins-good which
is needed to play WebM files on the CC6UL.

The packagegroup-dey-gstreamer also needed to be updated to use
'pulseaudio' from plugins-good which was apparently renamed from 'pulse'.

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

https://jira.digi.com/browse/DEL-6029
2018-06-19 19:31:22 +02:00
Hector Palacios dfbb7917f1 dey-examples: add support for ccimx8x platform
- For most examples, since they apply to all platforms, remove
  COMPATIBLE_MACHINE.
- For recipes related to specific hardware, add support to the new platform

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 11:02:06 +02:00
Hector Palacios 29cf0c2f17 packagegroup-dey-examples: move common examples to common RDEPENDS
While on it:
- add dey-examples-rtc unconditionally (rtc is never in MACHINE_FEATURES)
- add missing recipes: digiapix, cryptochip
- re-order them alphabetically.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 11:01:33 +02:00
Hector Palacios 1de3d5e8a2 cryptoauth-openssl-engine: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios 04f048fb07 init-ifupdown: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios dc51962fb0 init-ifupdown: generalize do_install and files
This commit:
- moves the files in platform folders 'ccimx6qsbc' and 'ccimx6ul' to the
  recipe's folder (they are the same).
- moves the install instructions for virtual wlan and wlan1 into functions
  that can be reused by both platforms.
- moves the bridge example install instruction to the generic do_install()
  since it's the same for all.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios f2388f1cb7 busybox: add 'standby' script support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios 848bc50b32 gstreamer1.0: re-add missing recipes
Commit 15139a3e97 removed all gstreamer plugins recipes
but NXP meta-fsl-bsp-release still contains .bbappends that
this commit re-adds.

Besides, the imx-gst1.0-plugin recipe contained a patch by Digi
that was also wrongly removed and that this commit re-adds without
the version on the filename.

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

https://jira.digi.com/browse/DEL-6029
2018-06-15 15:42:49 +02:00
Hector Palacios 15139a3e97 gstreamer1.0: remove unneeded recipes
meta-freescale rocko branch now sources gstreamer and its plugins
from repositories in codeaurora that contain all patches, so these
recipes are no longer required in meta-digi.

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

https://jira.digi.com/browse/DEL-6029
(cherry picked from commit 105ab7a89b)
2018-06-15 15:30:41 +02:00
Hector Palacios 0e7de0eb75 gstreamer1.0: re-add missing recipes
Commit 105ab7a89b removed all gstreamer plugins recipes
but NXP meta-fsl-bsp-release still contains .bbappends that
this commit re-adds.

Besides, the imx-gst1.0-plugin recipe contained a patch by Digi
that was also wrongly removed and that this commit re-adds without
the version on the filename.

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

https://jira.digi.com/browse/DEL-6029
2018-06-15 12:43:09 +02:00
Hector Palacios 4768643b6e xf86-video-imx-vivante: update recipe to 6.2.4.p1.2
This includes the recipe renaming.

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

https://jira.digi.com/browse/DEL-6029
2018-06-15 11:21:29 +02:00
Hector Palacios 7219c08bc7 imx-gpu-g2d: update recipe to 6.2.4.p1.2
This is taken from meta-fsl-bsp-release layer at branch 'rocko-4.9.88-2.0.0_ga'
at SHA1 d65692ecb3a4.

A *.bbappend is required to explicitly set COMPATIBLE_MACHINE.

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

https://jira.digi.com/browse/DEL-6029
2018-06-15 11:20:53 +02:00
Hector Palacios 4fd4246dba imx-gpu-viv: update recipes to 6.2.4-p1.2
- These have been taken from meta-fsl-bsp-release layer at branch
  'rocko-4.9.88-2.0.0_ga', SHA1 d65692ecb3a4.
- Old recipes have been removed.

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

https://jira.digi.com/browse/DEL-6029
2018-06-14 16:01:44 +02:00