Commit Graph

849 Commits

Author SHA1 Message Date
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
Hector Palacios 105ab7a89b 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
2018-06-14 15:09:14 +02:00
Hector Palacios 871da6f0d6 bluez5: add support for ConnectCore 8X on Bluez5-5.46
- The variable containing the list of patches has been renamed to a more
  generic prefix QCA65XX_.
- The ConnectCore 8X uses GPIO3_10 (394) for BT_EN.

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

https://jira.digi.com/browse/DEL-5936
2018-06-04 12:16:59 +02:00
Hector Palacios 15b9296f92 imx-gpu-viv: upgrade to version 6.2.4 and add support for ConnectCore 8X
This is taken from meta-fsl-bsp-release layer at bb80ba5a0104.
The file had a few commented lines for Wayland that have been uncommented
to leave them untouched in the commit.

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

https://jira.digi.com/browse/DEL-5937
2018-06-04 12:16:59 +02:00
Gabriel Valcazar 8e0be48793 openssl: Add patch to automatically load cryptochip engine
https://jira.digi.com/browse/DEL-5592

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-05-09 09:16:10 +02:00
Gabriel Valcazar d08f067e12 recipes-digi: add cryptoauth-openssl-engine
https://jira.digi.com/browse/DEL-5592

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-05-09 09:16:00 +02:00
Arturo Buzarra 7f58541f9a curl: update base recipe version to fix compilation error
The commit 32a6e809f811e8b3920326330d8225b3dd895f70 from the poky layer
breaks the build in the maintenance branch for rocko. This patch updates
the curl base recipe to use the latest version.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-05-09 09:15:46 +02:00
Jose Diaz de Grenu 223d51b19b dey-examples-opengles: fix runtime dependency
https://jira.digi.com/browse/DEL-5862

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-04-12 12:18:25 +02:00
Jose Diaz de Grenu d5949c9d24 Merge tag 'dey-2.4-r1.2' into dey-2.4/master
Manually changed recipes to use the master branches instead of the
fixed SHA1 from the last release.

Digi Embedded Yocto 2.4-r1.2

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-04-12 12:11:03 +02:00
Hector Palacios 1246ecff2c meta-digi: update revisions for dey-2.4-r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-03-12 10:33:55 +01:00
Arturo Buzarra dca3840b2f bluetooth-init: remove verification to BT firmware was loaded successfully
Firmware verification has a side effect in cc6ul sbc express platform
that affects to the bluetooth initialization.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-03-08 13:10:38 +01:00
Gabriel Valcazar 73b3c2e255 dhcp: Add patch to avoid IP address changes during runtime
Whenever there's a big time jump due to an outaded RTC being updated via NTP,
detect the jump and update the DHCP lease's expiry times accordingly.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-03-05 19:02:21 +01:00
Arturo Buzarra e3d086c472 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 16:05:38 +01:00
Arturo Buzarra 42d43ff5fb meta-digi: update revisions for dey-2.4-r1.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 15:56:19 +01:00
Arturo Buzarra f7625f0026 meta-digi: configure recipes to use maintenance branches
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 11:33:45 +01:00
Jose Diaz de Grenu c8d629e795 qtwebengine: fix compilation when using 1 core
From python 2.x to python 3.x, the '/' operator changed from integer
division to float division.

Hence, when using one core, 'makejobs' was being evaluated to 0.5.
That caused the evaluation below (makejobs == 0) to return False (0),
therefore PARALLEL_MAKE was evaluated to '-j 0' and the compilation
failed because the 'j' parameter must be strictly postive.

Replace the operator by the integer div operator in python 3.x '//'.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-02-26 21:15:21 +01:00
Isaac Hermida 49ecabe4bf dey-examples-cryptochip: inherit pkgconfig
With the migration from dey-2.2 to dey-2.4, now it is mandatory to include
all required applications for compilation. This fixes the next error:

| make: pkg-config: Command not found
| main.c:20:10: fatal error: cryptoauthlib.h: No such file or directory
|  #include <cryptoauthlib.h>

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-02-23 09:48:21 +01:00
Arturo Buzarra 7c34990c01 bluetooth-init: verify if BT firmware was loaded successfully
Rarely the bluetooth firmware is not loaded properly and causes
errors in the configuration steps. This verification makes sure
the firmware was loaded and is functional, if not we start the
retry mechanism with the default baudrate to avoid the firmware
corruption in the upload process.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-20 16:39:27 +01:00
Hector Palacios c48e9cace7 readline: allow the use of Begin/End/Del/Insert and Ctrl+arrows
With the switch to using Bash as command line interpreter, the default
/etc/inputrc configuration file for readline doesn't allow the use of
some keys which are common.
This commit enables them to not change the user experience with previous
DEY versions.

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

https://jira.digi.com/browse/DEL-5623
2018-02-16 12:25:52 +01:00
Isaac Hermida d28d9c9ac5 bluez-5.46: enable health profile
Enable the support for health profile (HDP).
In bluez-5.46 the experimental flag has been removed and some of the previous
functionalities that it was including have been splitted, so they need to be
enabled independently.

Reference: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=00af15150ecdbccc0255efc388b5e242aae14473

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-02-06 12:00:33 +01:00
Arturo Buzarra 81c0f027f8 standby: rename suspend script to standby
The suspend script has conflicts with the suspend from bash, then
we decided to rename our custom suspend script to standby and create
a symlink called suspend to maintain backward compatibility.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-02 17:29:25 +01:00
Alex Gonzalez 2ae061cbab meta-digi: Move cryptoauthlib to meta-digi-arm
The MACHINE_EXTRA_RRECOMMENDS for the ccimx6ul in meta-digi-arm contains
cryptoauthlib. If we want to use meta-digi-arm as a standalone BSP layer
we need to move the cryptoauthlib recipe to meta-digi-arm, that or not make it
a machine dependency.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-02-02 12:14:33 +01:00
Isaac Hermida c0593450b1 dhcp: keep resolv.conf rights
Option --reference does not exist for busybox chmod/chown, so you get an ugly
error and file rights are modified.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-31 16:04:19 +01:00
Arturo Buzarra 6a5b4cadf8 busybox: In defconfig enable CHVT command
Sync defconfig to enable command 'chvt' because the xserver-nodm
init script requires this command in the stop process to swicth
the foreground virtual terminal after stopping the xserver.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-29 17:33:46 +01:00
Arturo Buzarra 200b839ad3 xserver-nodm-init: redirect Xserver output to log file
Xserver prints many debug messages by the console output,
this bbappend modifies the init line to redirect the messages
to a log file.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-29 10:00:20 +01:00
Arturo Buzarra 92448d2ea7 busybox: In defconfig enable ASH_CMDCMD for built-in 'command'
Sync defconfig to enable command 'command' because /etc/profile
of base-files requires this command to be available. If it is not
available the following message is output during login on a image
using busybox.

        -sh: command: not found

(From OE-Core rev: e41c90b852167bbcb434da57b84280e855acae33)

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-25 13:38:25 +01:00
Arturo Buzarra 314d4c82d6 meta-digi: fix scripts to remove undesired warning ignoring null bytes
Bash v4.4 or higher warns when discarding NULL bytes in command substitution
output. Remove these bytes to avoid the undesired warnings.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-24 17:59:14 +01:00
Isaac Hermida bc3bf7b336 bluez5.inc: fix python3 core dependency for bluez5.41
Currently the default bluez5 package installed is bluez-5.46, but we need this
locally for compiling bluez-5.41 (the stack using in the bluetooth
certification process), so we need to locally apply the same fix ("fix python3
core dependency for testtools") for the testtools and its dependency with
python3-code instead of python3.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-24 17:42:21 +01:00
Isaac Hermida 25ea7f3197 packagegroup: bluetooth: do not include bluetooth testtools by default
Adding the bluetooth testtools does not have a big benefit and increases the
size of the rootfs in 16MB given its dependencies, which is critical in
devices (CC6UL) with a NAND flash.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-24 17:42:21 +01:00
Isaac Hermida 262e7a4b07 bluez5.46: remove testing flag
There is not need to specify the testing flag for bluez5 compilation. That flag
is new starting at bluez5.44, and in the past it was called experimental. In
the past it made sense to pass that flag to compile specific services, but most
of them has been migrated to standard features, and experimental has been
renamed to testing, but we do not need any of those testing features.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-24 17:42:21 +01:00
Isaac Hermida df1876d663 bluez5.46: remove testing flag when starting the service
In bluez5.41 we needed to specify the "--experimental" flag when starting the
bluetooth service in order to use some specific features (see d434043447).
In bluez5.46 (in fact starting in bluez5.44) code was reorganized and now that
compilation option is called "--testing" but does not exist as flag, because
some of the "experimental" features has been mode to standard features, so
there is not need of indicating any extra flag when starting the service.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-24 17:42:21 +01:00
Isaac Hermida b9449aa4d6 dey-image-qt: remove eudev-hwdb
This saves ~4MB of space and is not required for device detection.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-24 17:42:21 +01:00
Jose Diaz de Grenu 22d3fd3e52 auto-serial-console: fix MIT license
This fixes the following warning:

WARNING: auto-serial-console-0.1-r0 do_populate_lic:
${COREBASE}/LICENSE is not a valid license file, please use
'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM.

This will become an error in the future.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-23 16:49:59 +01:00
Jose Diaz de Grenu 80626aa749 swupdate: update to 2017.07
Rename recipe and fix the path of the progress binary. Also on the
rocko branch of meta-swupdate several signing mechanisms are
supported, and the value is used as a string to determine which one
to use.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-23 14:33:17 +01:00
Arturo Buzarra c741dc365a AWS Greengrass: skip file-level dependencies in QA checks
In previous Yocto versions this recipe throws an warning about
the file dependencies however in Yocto 2.4 this throws a build error.
To avoid the build error we skip the QA check at file-level dependencies.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-19 10:23:59 +01:00
Jose Diaz de Grenu dca0b219b7 gstreamer: add NXP patches for gstreamer 1.12
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-18 16:29:23 +01:00
Jose Diaz de Grenu a41d386204 rocko migration: adapt layer for meta-freescale rocko
Some packages are not updated in meta-freescale/rocko, so we do
need to include some of these.

The patches for gstreamer in the original commit are skipped, as
poky/rocko uses a newer version.

This partially reverts commits:
 * 52a10ff88d.
 * b06c81b277

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-18 16:29:23 +01:00
Arturo Buzarra a5ac2deca3 nativesdk-qtbase: fix permissions on directory by qtbase
There is a permissions conflict between qtbase and cmake installing
the environment-setup.d directory. This workaround creates the
directory in the do_install() step to avoid the conflict in the
do_generate_qt_environment_file() step.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-12 16:32:06 +01:00
Jose Diaz de Grenu 7852b69a3c base-files: move script into postinst function
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:20 +01:00
Jose Diaz de Grenu 8aeb160912 networkmanager: disable introspection
Introspection support is currently broken upstream. It is only
used to generate the documentation, so it is safe to remove it.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:19 +01:00
Jose Diaz de Grenu dc7f524182 libqmi: add missing dependency
Solves:

/bin/bash: line 1: glib-mkenums: command not found

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:19 +01:00
Jose Diaz de Grenu b9e0d9b12f modemmanager: add missing dependency
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:18 +01:00
Jose Diaz de Grenu 16f27044f9 rocko migration: dey-qt: remove render2d-plugin
With Qt 5.8 the Qt Quick 2D renderer is merged into qtdeclarative as
the built-in software rendering backend for the Qt Quick SceneGraph.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:18 +01:00
Jose Diaz de Grenu f0df7957a7 rocko migration: dey-audio: update recipe
Starting in alsa-lib 1.1.3, the package alsa-lib does not exist,
libasound is the real library package.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:18 +01:00
Jose Diaz de Grenu e3ef4f69b3 rocko migration: remove libasound-module references
This has been removed from Bluez.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:17 +01:00
Jose Diaz de Grenu f4aee6cecc bluez: add bluez 5.41
This is the stack covered by the Bluetooth certification. We will keep
it even though the newer bluez 5.46 will be used by default.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:17 +01:00
Jose Diaz de Grenu 0a89a7134d rocko migration: bluez: adapt recipe
* 'experimental' has been renamed to 'testing' in Bluez 5.44
* Several patches (0004..0011) are now upstream and can be removed
* QCA specific patches have been refreshed

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:16 +01:00
Jose Diaz de Grenu 3903708d1c rocko migration: remove bluez4
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:16 +01:00
Jose Diaz de Grenu 52a10ff88d rocko migration: remove duplicated NXP packages
All these recipes and patches are now available and maintained in the
meta-freescale layer.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:15 +01:00
Jose Diaz de Grenu edb44f9948 rocko migration: update recipes
All this recipes only need to be renamed to the new version:
* cherokee
* curl
* imx-codec
* imx-gst1.0-plugin
* imx-parser

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:15 +01:00