Commit Graph

1989 Commits

Author SHA1 Message Date
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
Jose Diaz de Grenu f65b736bb0 rocko migration: remove support for old kernels
ConnectCore 6 and ConnectCore 6 UL are now supported in kernel v4.9.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:11 +01:00
Jose Diaz de Grenu 75d235d0bf rocko migration: linux: update ConnectCore6 to v4.9
Also update vivante driver and graphic components.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:11 +01:00
Jose Diaz de Grenu a63b12a8cd rocko migration: remove ROOTFS_PKGMANAGE_BOOTSTRAP
This variable and all its references were removed in Yocto 2.4

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:10 +01:00
Jose Diaz de Grenu e2cfd14824 rocko migration: remove linux-dtb includes
This functionality is automatically enabled for any recipe that inherits
the kernel class.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:10 +01:00
Jose Diaz de Grenu 8a81b2cb25 rocko migration: trustfence: fix dependencies
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:04 +01:00
Jose Diaz de Grenu ebc927b220 rocko migration: adapt trustfence conversion
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-09 11:33:19 +01:00
Jose Diaz de Grenu 203dc44300 rocko migration: add missing dependency for 'truncate'
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-05 14:08:23 +01:00
Jose Diaz de Grenu 199e48d635 rocko migration: adapt dependencies for images
As per Yocto 2.4, do_image_<type>[depends] has replaced IMAGE_DEPENDS_<type>.

The previous trick to propagate *boot* dependencies from *boot.[vfat|ubifs]*
is no longer needed.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-05 14:08:05 +01:00
Jose Diaz de Grenu 5be855c96a rocko migration: remove image_types_uboot uses
This class no longer exists, it has been merged with images_types.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-04 18:42:00 +01:00
Jose Diaz de Grenu 521fff7962 rocko migration: sync distro config
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-04 18:16:14 +01:00
Jose Diaz de Grenu d554e52488 rocko migration: sync config templates
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-04 18:03:50 +01:00
Jose Diaz de Grenu 79ce548d80 rocko migration: bump version
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-04 18:03:18 +01:00