Commit Graph

2551 Commits

Author SHA1 Message Date
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
Javier Viguera c5fb8d61b0 cryptoauthlib: fix GitHub repository URL
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2018-02-15 13:02:26 +01:00
Arturo Buzarra dcbce7ab9c mca_tool: update checksums for build 1.12
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-13 17:27:16 +01:00
Jose Diaz de Grenu b112f0510e trustfence-sign-tools: add missing dependency
util-linux is needed as the scripts use 'hexdump'. In previous versions
of Yocto the tool from the host was used, but this has been fixed in
Yocto 2.3

Also fix the other dependencies: the -native suffix is not needed nor
correct, as the native and nativesdk classes already map packages in
the DEPENDS variable to the corresponding packages.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-02-12 12:25:57 +01:00
Javier Viguera 518ccf11ac imx: install 'imx-alsa-plugins' depending on alsa distro feature
This is how it's done for the NXP reference boards in 'meta-freescale'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2018-02-12 11:01:45 +01:00
Gabriel Valcazar d7413dd551 linux-dey-4.9: sync defconfigs to add Goodix touch driver as built-in
https://jira.digi.com/browse/DEL-5007

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-09 16:56:18 +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
Jose Diaz de Grenu 4895148009 u-boot-fw-utils: fix environment access functions
In the old u-boot-fw-utils 2016.x the function 'fw_env_close' wrote
the environment to the media. That is no longer the case, now that
function only frees the memory used, and 'fw_env_flush' is used
to write the environment.

This was causing that userspace application using this library were not
able to write changes to the environment.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-31 13:57:09 +01:00
Jose Diaz de Grenu f3c7f91d90 trustfence-cst: include in SDK
Generate and include the host tools in the SDK when Trustfence is enabled.
This makes it easier to use the standalone signing and encrypting scripts.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-29 18:33:53 +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
Isaac Hermida 02c14f6ac0 usbutils_%.bbappend: remove udev-hwdb recomendation
This allows us to save around 4MiB of space in the rootfs image.
(see commit in poky/meta 71ca295786e35b7be84bfd4bc04e0c3ec0f97cd8)

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
Hector Palacios 5eb436f152 u-boot-fw-utils: forward port support for dynamic environment
Support for dynamic location of U-Boot environment was added in
commit 2b5017956b. This forward ports
the patch to Yocto 2.4.

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

https://jira.digi.com/browse/DEL-5574
2018-01-22 12:18:48 +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
Hector Palacios 02504c6730 ccimx6: default kernel image to zImage
As a side effect, remove U-Boot entry point variable and LOADADDR
extra parameter from the kernel recipe.

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

https://jira.digi.com/browse/DEL-5554
2018-01-18 18:50:18 +01:00
Arturo Buzarra 301597e320 linux-dey: build from 'v4.9/dey-2.4/maint' branch
https://jira.digi.com/browse/DEL-5572

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-18 16:57:04 +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
Jose Diaz de Grenu b06c81b277 rocko migration: gstreamer: plugins-good: add libvpx
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:14 +01:00
Jose Diaz de Grenu 272fadb082 rocko migration: qt5: update recipe
This new version of Qt already has a flag for optimizing for size,
so remove the patch and use this flag instead.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:14 +01:00
Jose Diaz de Grenu 0307d0c975 rocko migration: u-boot-fw-utils: update patches
Pending to update the patch for dynamic environment location in NAND.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:13 +01:00
Jose Diaz de Grenu 2c39f48c51 rocko migration: cryptodev: remove patch
Cryptodev has been updated to version 1.9 and the patch is no longer
needed.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:13 +01:00
Jose Diaz de Grenu 28cbfa966d rocko migration: remove imx-gpu-viv kernel module
This kernel module was only used with old kernels.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:12 +01:00
Jose Diaz de Grenu 7416361505 rocko migration: remove rng-tools
This tool was only needed for old kernels, newer kernels use the hardware
random number generator themselves.

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

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