Commit Graph

634 Commits

Author SHA1 Message Date
Isaac Hermida 68746632f1 linux: update kernel source branch for ccimx6ul
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-13 16:32:18 +02:00
Jose Diaz de Grenu de Pedro 64c488a821 meta-digi-arm: u-boot: fix syntax error in U-Boot recipe
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-06-06 10:06:22 +02:00
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
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 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
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
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 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
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 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 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 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 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 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 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
Javier Viguera 76415ed99e meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:45:16 +01:00
Javier Viguera 842c17a9b2 meta-digi: update revisions for dey-2.0-r1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:16:14 +01:00
Hector Palacios a8d9d7a292 meta-digi-arm: ccimx6sbc: add *.dtb files for SBC IDs
There are different SBC boards IDs each one having a different
device tree file in the form imx6X-ccimx6sbc-idZZZ.dtb, where:
	X is the CPU family (q=Quad/Dual, dl=DualLite/Solo).
	ZZZ is the board ID number.

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

https://jira.digi.com/browse/DEL-2160
2016-02-02 12:22:21 +01:00
Javier Viguera 7915cc9c3f meta-digi: update to new github account 'digi-embedded'
As the plan is to use the same git objects (SHA1) in the internal and
github repos, also remove that internal/external SRCREV infrastructure.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-01 18:52:45 +01:00
Hector Palacios 607d703246 u-boot: select $fdt_file basing on $board_id (if defined)
Carrier board version is determined by U-Boot variable $board_id
which will be defined if a board ID has been burned on certain
OTP bits.
Use the value in this variable to create the $fdt_file variable
using the suffix "-id${board_id}" to point to the device tree
file that matches that board ID.

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

https://jira.digi.com/browse/DEL-2160
2016-01-29 13:26:12 +01:00
Isaac Hermida 7a71e12e47 meta-digi-arm: Enable DMA_CMA option in ccimx6sbc defconfig
Sync defconfig with kernel sha1 d1795451fe97a8498bde9c5bff727adb481f7379

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-01-13 17:14:10 +01:00
Javier Viguera 8b93981e40 meta-digi-arm: remove 256MB u-boot configuration
That's the u-boot configuration used by variants 0x07 and 0x09, which
have been cancelled and are no longer supported by DEY.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-16 12:05:48 +01:00
Javier Viguera 83a80bb9ce meta-digi: add support for CC6 variant 0x13
https://jira.digi.com/browse/DEL-2100

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-15 18:05:23 +01:00
Javier Viguera 79cca553e5 meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:43:05 +01:00
Javier Viguera cd2e929c92 meta-digi: update revisions for dey-2.0.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:28:05 +01:00
Hector Palacios d98714b9bb meta-digi-arm: fix busfreq include on external GPU driver
After the merge of the kernel's stability patches, the driver
uses the include for Freescale BSP beyond 3.14.28.
Despite having applied the kernel stability patches and having
a kernel version beyond 3.14.28, we still use Freescale's BSP
for 3.14.28, so let's keep the busfreq include for any 3.14.x
version.

This patch may need to be reverted if the BSP is moved to a
newer one by Freescale.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2015-12-01 11:46:40 +01:00
Hector Palacios dbeab04bcf linux-3.14: build kernel from v3.14/dey-2.0/maint branch
This branch now contains stability patches v3.14.57

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2015-11-30 10:25:45 +01:00
Jose Diaz de Grenu de Pedro 3549a999fc meta-digi-arm: image_types_digi: use TARGET_ARCH instead of ARCH
ARCH is not a documented variable in yocto, use the documented
TARGET_ARCH instead.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-11-24 16:27:20 +01:00
Javier Viguera 545c92d8b4 meta-digi-arm: add GPU frequency patch to external gpu driver
This commit adds the minimum GPU frequency patch to the community
Vivante GPU driver repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-10 17:56:23 +01:00
Javier Viguera 000ad17184 meta-digi: remove machine specific WPA_DRIVER
Now that the MX5 platforms have been removed the only value for
WPA_DRIVER is 'nl80211' (used by Atheros wireless driver), so there is
no need to have a platform specific value.

Just initialize the value in the init-ifupdown recipe with a weak
assignment so it can be override from the project's local.conf.

https://jira.digi.com/browse/DEL-1890
https://jira.digi.com/browse/DEL-1969

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-09 17:40:11 +01:00
Javier Viguera 89f6265803 meta-digi-arm: add gplay and grecorder demo tools
These tools are part of the official FSL gst1.0 plugin. Add then to the
MACHINE_GSTREAMER_1_0_PLUGIN variable so they get added to the rootfs.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera 8016bd84e9 meta-digi-arm: disable built-in GPU driver
For the moment, disable the built-in GPU kernel driver as there is a
mismatch between the driver version and the user-space GPU libraries.

Use the external module maintained by the community.

https://jira.digi.com/browse/DEL-1890
https://jira.digi.com/browse/DEL-1926

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera 73f08aeb0a meta-digi-arm: remove 'linux-dey' recipe dependence on linux-imx
https://jira.digi.com/browse/DEL-1890

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera 20c2fbd8ba meta-digi-arm: fix u-boot license md5sum
ERROR: u-boot-dey: md5 data is not matching for file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95
ERROR: u-boot-dey: The new md5 checksum is c7383a594871c03da76b3707929d2919

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera 8e22cd80a9 meta-digi: remove gstreamer 0.10 support
Also remove QT4 phonon patches and qtmediaplayer demo as they depend on
gstreamer-0.10.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:29 +01:00
Javier Viguera 4e3563a706 meta-digi-arm: sync machine files with meta-fsl-arm
This synchronizes the machine configuration files with the latest
changes in meta-fsl-arm for yocto 2.0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:27 +01:00
Javier Viguera d35ac42dd0 meta-digi: remove support for MX5X platforms
ccimx51js and ccimx53js are not supported in this version of DEY.
Support for those platforms is in previous versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 13:56:38 +01:00