Commit Graph

1601 Commits

Author SHA1 Message Date
Jose Diaz de Grenu de Pedro 5f45a87ebd meta-digi-arm: trustfence: implement Yocto secure boot configuration
Implement the set of TRUSTFENCE_ macros to configure each secure boot feature
available in U-Boot.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-03 17:46:52 +02:00
Victor Rubio 0aa26fb70a meta-digi-dey: add sysinfo package to dey-core packagegroup
sysinfo is a bash script which gathers all the relevant information
from a running system on a timestamped compressed file.

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

Signed-off-by: Victor Rubio Victor.RubioTorroba@digi.com
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-02 20:04:31 +02:00
Isaac Hermida 8361d98e5a linux: update kernel source branch for ccimx6ul
https://jira.digi.com/browse/DEL-2368

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-02 11:33:32 +02:00
Alex Gonzalez 2e95ff7519 meta-digi: Add TrustFence configuration class.
This commit adds a trustfence class to encapsulate all trustfence
configurations.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 1fa78eb3de meta-digi-dey: Add dey-trustfence packagegroup and feature.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 05f1daeecc meta-digi-dey: systemd: Disable getty on console disable.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 12b196bc0f meta-digi-arm: u-boot-dey: Add secure console trustfence configuration
support.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez 5351b71c82 meta-digi-dey: sysvinit: No getty in inittab if console disabled.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Alex Gonzalez f15d7c3e31 meta-digi-dey: Add auto-serial-console recipe.
This support comes from meta-linaro @9f899282caa9 and adds the ability
to configure getty dynamically from the console argument in the kernel
command line.

This will make it possible to enable/disable the console dynamically as
signalled by U-Boot.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-05-31 17:51:00 +02:00
Isaac Hermida b4c0c0af9a ccimx6ul: Add recipe support for firmware-qualcomm
https://jira.digi.com/browse/DEL-2581

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-31 08:20:51 +02:00
Isaac Hermida 78370fce07 recipes-kernel: Update config file for ccimx6ulsbc
https://jira.digi.com/browse/DEL-2370

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-31 08:20:51 +02:00
Isaac Hermida 325c3b9da9 bluez5: add support for qca6564 bluetooth chip
Port the bluez5 qca6564 support based on 5.19 to the current version 5.33.
The ported version is based on qualcomm tag r110048.3.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-31 08:20:51 +02:00
Javier Viguera 2edc86c877 meta-digi-arm: more kernel config options for CAAM
This enables the Cryptographic Accelerator and Assurance Module (CAAM).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 19:16:14 +02:00
Javier Viguera 49f55ce7d0 u-boot: u-boot: use v2015.04 master branch
'v2015.04/master' is the branch with Trustfence support.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 18:25:35 +02:00
Javier Viguera 988ca78f31 meta-digi-arm: add rng-tools for CC6
This daemon (rngd) feeds random data from hardware device to kernel
entropy pool.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 16:10:36 +02:00
Javier Viguera 2a8e1d7002 openssl: update cryptodev engine implementation
As of Yocto 2.0, the cryptodev module used as interface between
user-space and hardware encryption is the version 1.7.

According to that cryptodev's version documentation, the cryptodev
engine in openssh is outdated:

https://github.com/cryptodev-linux/cryptodev-linux/blob/cryptodev-linux-1.7/README

They provide an URL with two patches to update openssl. This commit
forward port those patches to the Openssl version used in this version
of Yocto.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 16:10:36 +02:00
Javier Viguera 951627ea02 cryptodev: install cryptodev-module for CC6
This module is the interface between user-space (openssl, gnutls) and
the hardware cryptographic acceleration support (CAAM).

This commit installs the module in the rootfs and configures it so it is
loaded on boot.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 16:10:36 +02:00
Javier Viguera 6e71709075 meta-digi-arm: enable NXP's CAAM support
This enables the Cryptographic Accelerator and Assurance Module (CAAM).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 16:10:36 +02:00
Arturo Buzarra d5501d31c6 dey.conf: update distro version to 2.0-r2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2016-05-26 13:58:10 +02:00
Isaac Hermida 5d147152f9 alsa-state: Support for ccimx6ul
Adding some early initial support as a copy of ccimx6 files.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:14 +02:00
Isaac Hermida e975240bde packagegroup-dey-examples: Defining initial list for ccimx6ul
https://jira.digi.com/browse/DEL-2529

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:14 +02:00
Isaac Hermida 0775ee38e0 recipes-kernel: Support for ccimx6ulsbc
Used ccimx6ul_defconfig from v4.1/master repository.
The defconfig file will live under module folder and not specific platform
folder because it will be the same for other ccimx6ul platforms.

https://jira.digi.com/browse/DEL-2381
https://jira.digi.com/browse/DEL-2529

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:13 +02:00
Isaac Hermida 68d5f7d536 recipes-bsp: u-boot: Support for ccimx6ul
https://jira.digi.com/browse/DEL-2381
https://jira.digi.com/browse/DEL-2529

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:13 +02:00
Isaac Hermida 0f5820f111 sdk: Support for ccimx6ulstarter
Adding sdk support by copying the files from ccimx6sbc and replacing the
machine.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:13 +02:00
Isaac Hermida 313d902a8b Initial support for ccimx6ulstarter platform
Added initial support for Digi's ConnectCore 6UL Starter Board.

https://jira.digi.com/browse/DEL-2380
https://jira.digi.com/browse/DEL-2529

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-13 10:10:10 +02:00
Isaac Hermida 0cfe463c26 conf: machine: Creating new files for ccimx6ul and ccimx6ulstarter
Creating new file for ccimx6ul module as a clone of ccimx6.
Creating new file for ccimx6ulstarter platform as a clone of ccimx6sbc.

https://jira.digi.com/browse/DEL-2380
https://jira.digi.com/browse/DEL-2381
https://jira.digi.com/browse/DEL-2529

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-11 13:23:28 +02:00
Isaac Hermida 620f94596f meta-digi: Replace COMPATIBLE_MACHINE string for ccimx6
COMPATIBLE_MACHINE is a regular expression, so we need to update the current
pattern for ccimx6 due to it will also match with ccimx6ul.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-11 10:22:25 +02:00
Javier Viguera 8952bc58de build.sh: use LOG-SLN-JENKINS for packages mirror
'build-linux.digi.com' is the old DEL buildserver that sooner than later
will be decommisioned (hopefully) so just don't depend on it for DEY
builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-04-22 11:44:25 +02:00
Javier Viguera ff3f42d899 dey-image-tiny: remove X11 distro feature limitation
That restriction does not make any difference in the final image
contents, because no package depending on X11 is added to the image, and
it prevents the image from being built with the default DEY
configuration (that has X11 distro feature enabled).

This also allows to build the image in the buildserver with the same job
that builds other X11 based images.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-04-22 10:30:57 +02:00
Javier Viguera 658a52497b meta-digi: add layer dependences
Use LAYERDEPENDS to configure the layer dependences for meta-digi-arm
and meta-digi-dey.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-04-08 16:18:00 +02:00
Javier Viguera 2a9b0b73b0 qt5everywheredemo: add 'qtsvg' build-time dependence
Otherwise building the demo application fails with:

| DEBUG: Executing shell function do_configure
| Project ERROR: Unknown module(s) in QT: svg

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-03-23 16:34:14 +01:00
Jose Diaz de Grenu de Pedro fca507d316 meta-digi-dey: pulseaudio: add HDMI audio sink on hotplug
This patch adds a udev rule and a script to detect HDMI hotplug and create
the HDMI audio pulseaudio sink if needed (that is, if the system was
booted with no HDMI cable plugged).

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-03-22 11:51:14 +01:00
Javier Viguera 8260fb9226 Revert "qtconnectivity, qtsystems: fix bluetooth support"
A patch sent upstream has been finally merged so this commit is not
needed anymore.

This reverts commit 6a66656161.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-03-01 12:19:51 +01:00
Jose Diaz de Grenu de Pedro e021f738ee pulseaudio: remove module-udev-detect
module-udev-detect blocks the sound interface on boot for about five
seconds while detecting the hardware. This patch removes it so that
module-detect is used instead, which uses static hardware detection and is
faster.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-02-25 11:46:38 +01:00
Javier Viguera 25e37ca007 install_linux_fw_sd: cosmetic, remove comma and add newline
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-18 18:13:44 +01:00
Javier Viguera 1db41c8473 install_linux_fw_sd: workaround bad behavior of 'test' command
Old versions of u-boot 'v2013.0x' have a bug in the shell's test command
that makes structures like:

if test "${not-existing}" = "0x01"; then ...
if test -z "${not-existing}"; then ...

to fail when the checked variable does not exist.

So implement workarounds in the updater script to overcome this problem.

This is needed because the script may be used in modules with an old
pre-installed u-boot.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-18 11:32:39 +01:00
Javier Viguera 792d214927 meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 18:02:34 +01:00
Javier Viguera 5dcd2e7b94 meta-digi: update changelog and release notes for dey-2.0-r1.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 18:00:27 +01:00
Javier Viguera 5ca0bf76c9 meta-digi: update revisions for dey-2.0-r1.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 17:51:17 +01:00
Javier Viguera ad6a94e1b5 release_notes: remove reference to documentation in support site
The documentation is now in the Digi Online help system.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 17:46:06 +01:00
Javier Viguera 0553bdb68a release_notes: add missing section to contents' index
Also some minor whitespace formatting fixes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 13:54:34 +01:00
Javier Viguera 925e5070a8 release_notes, changelog: refresh for upcoming release
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 13:43:27 +01:00
Javier Viguera e627bfb1b1 u-boot: use v2015.04 maintenance branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-12 13:51:21 +01:00
Hector Palacios e9481ecd19 meta-digi-arm: add DEY firmware install U-Boot script
The install script allows for an easy deployment of the DEY firmware
artifacts into the eMMC of the ConnectCore 6 by using a micro SD card.
The install script:
	- updates U-Boot
	- resets the U-Boot environmnet to default values
	- formats the User Data partition of the eMMC
	- installs the firmware images (linux and rootfs partitions)
	- resets/starts the system

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

https://jira.digi.com/browse/DEL-2192
2016-02-12 12:41:43 +01:00
Hector Palacios d59fab0cc9 u-boot-dey: remove canonical symlinks and add new ones (per U-Boot config)
The canonical symlinks created by poky's U-Boot class in u-boot.inc for
the different U-Boot configs are in the form:
	u-boot.imx-<config>
	u-boot-<machine>.imx-<config>

These symlinks have the .imx file extension hidden in the middle of the
file name, which looks ugly.
For DEY, remove these unused symlinks and generate new ones in the form:
	u-boot-<config>.imx

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

https://jira.digi.com/browse/DEL-2192
2016-02-12 12:15:45 +01:00
Hector Palacios 308c5c337d u-boot-dey: [cosmetic] add comment to DEY boot script
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-02-12 12:10:47 +01:00
Hector Palacios 92f744ab75 meta-digi-dey: move ${GRAPHICAL_BACKEND} to DEY distro conf
Move this variable to DEY distro conf so that it is available for any
recipe built with the distro.

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

https://jira.digi.com/browse/DEL-2192
2016-02-12 12:09:53 +01:00
Javier Viguera 58219a5cb3 demo-extrafiles: remove desktop launcher of hellogl_es2 application
There is another OpenGL demo application QT5 Hello Windows for testing
purposes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-10 19:07:03 +01:00
Isaac Hermida 3a9825b27d meta-digi-dey: Add wifi pre/post actions to suspend script
It has been observed that the wireless interface ocassionally fails to resume
from suspend on extensive long run validation testing, so we workaround it by
bringing the interface down before suspend and bring it up again after resume

This reverts commit a77cd1406d.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-02-09 16:47:21 +01:00
Javier Viguera f0c62bbd7d build scripts: adapt to new DEY images
https://jira.digi.com/browse/DEL-2197

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-05 18:07:49 +01:00