Commit Graph

250 Commits

Author SHA1 Message Date
Arturo Buzarra b5ab28b4b4 meta-digi: update revisions for dey-2.2-r2.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-07-11 17:47:06 +02:00
Diaz de Grenu, Jose c9bee750f1 ccimx6ul: synchronize kernel defconfig
Re-add USB gadget Ethernet.

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-07-10 13:47:36 +02:00
Javier Viguera 594e7fbf55 Merge branch 'dey-2.2/master' into dey-2.2/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 18:34:56 +02:00
Hector Palacios f439506eb8 ccimx6ul/ccimx6: synchronize kernel defconfig
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-07-05 13:43:28 +02:00
Mike Engel 38dccefc9c meta-digi: revert revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-06-14 13:53:15 +02:00
Mike Engel aa2d5fd346 meta-digi: update revisions for dey-2.2-r1.5
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-4364
2017-06-14 13:53:15 +02:00
Tatiana Leon 180649013d ccimx6sbc_defconfig: sync defconfig with kernel
This commit adds the required configuration to run Greengrass Core:
  * Overlay filesystem support
  * Cgroups:
      * Freezer cgroup subsystem
      * Device controller for cgroups
      * Cpuset support
      * Simple CPU accounting cgroup subsystem
      * Memory Resource Controller for Control Groups
      * Enable perf_event per-cpu per-container group (cgroup) monitoring
      * CPU scheduler
      * Block IO controller
  * Namespaces support
      * UTS namespace
      * IPC namespace
      * User namespace
      * PID Namespaces
      * Network namespace
  * POSIX Message Queues
  * Support multiple instances of devpts
  * Enable seccomp to safely compute untrusted bytecode

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-31 17:44:29 +02:00
Tatiana Leon eafffc0cce ccimx6ul_defconfig: sync defconfig with kernel
This commit adds the required configuration to run Greengrass Core:
  * Overlay filesystem support
  * Cgroups:
      * Freezer cgroup subsystem
      * Device controller for cgroups
      * Cpuset support
      * Simple CPU accounting cgroup subsystem
      * Memory Resource Controller for Control Groups
      * Enable perf_event per-cpu per-container group (cgroup) monitoring
      * CPU scheduler
      * Block IO controller
  * Namespaces support
      * UTS namespace
      * IPC namespace
      * User namespace
      * PID Namespaces
      * Network namespace
  * POSIX Message Queues
  * Support multiple instances of devpts
  * Enable seccomp to safely compute untrusted bytecode

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-31 17:44:14 +02:00
Javier Viguera 3fa939fdc3 Merge tag 'dey-2.2-r1.4' into dey-2.2/master
Tweaked to maintain some recipes' revisions to AUTOREV instead of the
fixed SHA1s from the tag.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-05-04 13:58:33 +02:00
Mike Engel dfc71d40eb meta-digi: revert revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-28 17:11:21 +02:00
Mike Engel 29e3d0de40 meta-digi: update revisions for dey-2.2-r1.4
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-28 17:10:48 +02:00
Mike Engel d3bb596732 meta-digi: revert revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-26 13:51:58 +02:00
Mike Engel 9fed79fd45 meta-digi: update revisions for dey-2.2-r1.3
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-26 13:48:57 +02:00
Diaz de Grenu, Jose 1974e5a73e ccimx6sbc: linux-dey: add defconfig for v4.1
Imported from the kernel branch.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-04-20 16:24:34 +02:00
Diaz de Grenu, Jose 4180320e1a ccimx6: update kernel to v4.1
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-04-18 11:48:39 +02:00
Mike Engel 247df66459 meta-digi: revert revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-12 11:45:47 +02:00
Mike Engel 4ba24391c2 meta-digi: update revisions for dey-2.2-r1.2
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-12 11:45:47 +02:00
Hector Palacios 07d11072d2 ccimx6ul_defconfig: sync defconfig with kernel
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-04-11 11:47:18 +02:00
Tatiana Leon c1709e4fd3 meta-digi: revert revisions to AUTOREV
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-28 18:54:25 +02:00
Tatiana Leon 28bc61a089 meta-digi: update revisions for dey-2.2-r1.1
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-28 18:20:52 +02:00
Tatiana Leon 432844a3a8 meta-digi: configure recipes to use maintenance branches
Updated recipes for linux, u-boot, trustfence-sign-tools, and
kernel-module-qualcomm.

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-28 11:30:06 +02:00
Sebastian Pastor 4637c01c4a meta-digi-arm: Enable MCA_IOEXP in ccimx6ul defconfig
Note: the CONFIG_INPUT_EVBUG line has been removed as a result of savedefconfig

Signed-off-by: Sebastian Pastor <sebastian.pastor@digi.com>
2017-03-15 18:06:32 +01:00
Diaz de Grenu, Jose 1e93277819 ccimx6ul: synchronize kernel defconfig
Remove default kernel command line.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-03-14 16:57:47 +01:00
Javier Viguera 5cccb22389 ccimx6ul: enable CONFIG_FIRMWARE_IN_KERNEL in kernel defconfig
Seems that this is needed for the bluetooth interface to work. Without
this options, the interface is not able to initialice (hciattach command
fails).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-13 19:35:59 +01:00
David Escalona 4c8ae78e88 ccimx6ul: synchronize kernel defconfig
- Remove input event debug messages.

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

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-03-10 18:50:16 +01:00
Javier Viguera 2cc93b353c ccimx6ul: synchronize kernel defconfig
Loading firmware by userspace helpers has been deprecated from device
managers (like udev, eudev, etc). Firmware loading is supposed to be
performed by the kernel.

This fixes the loading of an external kernel module (qualcomm wlan.ko)
that was failing to load because of a missing firmware file.

In that case the kernel was requesting the firmware load from userspace:

ar6k_wlan mmc0:0001:1: Direct firmware load for qsetup30.bin failed with error -2
ar6k_wlan mmc0:0001:1: Falling back to user helper

The device manager we are using in DEY-2.2 (eudev) does not support
firmware loading and is not giving an error return value to the kernel
either, so at one point the kernel throws an oops:

Hardware name: Freescale i.MX6 Ultralite (Device Tree)
task: 88228000 ti: 88cbe000 task.ti: 88cbe000
PC is at 0x7f183758
LR is at request_firmware+0x38/0x40
pc : [<7f183758>]    lr : [<802f80bc>]    psr: 600f0013
sp : 88cbfdb8  ip : 00000000  fp : 88644c00
r10: 0000dac0  r9 : 88cbfefc  r8 : 0000000c
r7 : 00007d08  r6 : 88cbfde4  r5 : 88644ea2  r4 : 00000005
r3 : 88cbfde4  r2 : 00000080  r1 : 00000000  r0 : fffffff5

and the wireless driver is not loaded.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-07 17:01:29 +01:00
Javier Viguera 372a063ac4 linux-dey: adapt trustfence_sign function after migration
The way the kernel artifacts are generated has change as of Yocto 2.2.
Also some of the variables (e.g. KERNEL_IMAGE_SYMLINK_NAME) have changed
their default values.

Thus the trustfence_sign function needed some tweaks to continue working
properly.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-02 16:25:09 +01:00
Javier Viguera fc488b7f1b linux-dey: fix 'do_deploy' failure by removing not needed symlink
KERNEL_IMAGE_BASE_NAME and KERNEL_IMAGE_SYMLINK_NAME default values have
changed in Yocto 2.2, so now this appended command is failing because
it's translated to:

ln -sf -4.1-r0.2-ccimx6ulstarter-20170216122147.bin ccimx6ulstarter

which fails with:

ln: invalid option -- '4'

Just remove it, because we don't need that symlink anymore. New U-Boot's
'zimage' and 'uimage' environment variables have default values ending in
'.bin' which is what Yocto provides.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Mike Engel b3a0c3f3ff ccimx6ul: synchronize v4.1 kernel defconfig
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-3521
2017-02-21 12:19:13 +01:00
Alex Gonzalez 26187f47c6 meta-digi-arm: Add weak assignment for Linux and U-Boot
This will allow to override the variable easily.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-31 17:47:32 +01:00
Hector Palacios c52de54ac0 ccimx6ul: synchronize kernel defconfig
This re-enables USB mass storage support that was unintentionally
removed in commit 6851ab23e4.

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

https://jira.digi.com/browse/DUB-713
2017-01-18 10:52:38 +01:00
Hector Palacios 6851ab23e4 ccimx6ul: synchronize kernel defconfig
This updates the kernel configuration to the latest one
which disables unused drivers and options to optimize the
kernel size.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-01-17 16:24:13 +01:00
Hector Palacios 0b3f878d54 ccimx6ul: synchronize v4.1 kernel defconfig
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-12-30 14:05:02 +01:00
Diaz de Grenu, Jose 6b1d790c95 meta-digi-arm: linux-dey: create postfunc for trustfence
The kernel recipe was modifying the device tree blobs in place within the
kernel build temporal directory. This can cause problems after several
compilations, only the deployed artifacts should be signed/encrypted.

The deployment of the DTBs is done by do_deploy_appends in other layers which
are appended after this recipe, so it is required to use a postfunc to do the
trustfence related process after the deployment of all the artifacts.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-12-19 16:52:21 +01:00
Diaz de Grenu, Jose 66c85d94b1 Merge tag 'dey-2.0-r4.2' into dey-2.0/master
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-29 13:39:12 +01:00
Diaz de Grenu, Jose 6efd9263f3 meta-digi: update revisions for dey-2.0-r4.2
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-25 11:40:48 +01:00
Hector Palacios fec125212e ccimx6ul: synchronize defconfig
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3231
2016-11-21 11:25:16 +01:00
Diaz de Grenu, Jose ac54b0ec7e meta-digi: revert revisions to AUTOREV
This reverts commit 67aa4966ea.
2016-11-18 12:17:42 +01:00
Diaz de Grenu, Jose 67aa4966ea meta-digi: update revisions for dey-2.0-r4.1
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-18 12:14:37 +01:00
Diaz de Grenu, Jose 4b1f84e49b Merge branch 'dey-2.0/master' into dey-2.0/maint
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-18 11:54:01 +01:00
Hector Palacios 90b2b3ddc7 recipes-kernel: sync ccimx6ul defconfig
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3053
2016-10-21 12:03:36 +02:00
Diaz de Grenu, Jose c1d2ee02f5 trustfence: sign device tree blobs
https://jira.digi.com/browse/DUB-614

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-19 10:33:10 +02:00
Diaz de Grenu, Jose 5c4df1ddfd trustfence: add support for signing and encrypting DTBs and ramdisks
This patch introduces some parameters which allow to select the type of image
to be signed. Currently the supported types are:

* linux kernel (-l)
* DTB (-d)
* initramfs (-i)

This also moves the CONFIG_PLATFORM environment variable to a parameter, for
consistency.

https://jira.digi.com/browse/DUB-614
https://jira.digi.com/browse/DUB-615

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-19 10:33:08 +02:00
Hector Palacios c12afdf563 recipes-kernel: sync ccimx6ul defconfig
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-09-27 12:17:24 +02:00
Isaac Hermida 412f1b1e55 meta-digi: rename external ethernet references to second ethernet
The name "ext-eth" seems to indicate "External Ethernet". Rename that variable
and related ones to a more proper name like second ethernet.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-09-15 12:31:49 +02:00
Diaz de Grenu, Jose 6b0fbddf3b meta-digi-arm: trustfence-sign-tools: simplify script usage outside Yocto
* Check number of arguments
* Add platform argument
* Read user configuration from .config file
* Remove unused variable (dek_blob_size)
* Remove noise in output messages

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-09-12 18:07:28 +02:00
Diaz de Grenu, Jose c8ec33129d meta-digi-arm: trustfence-sign-tools: add sign tools recipe
Add a recipe to include all signing and encryption tools for U-Boot and
kernel images to the SDK. Move existing trustfence kernel scripts to this
new recipe.

This allows to use these scripts not only from the Yocto build system but
also as standalone tools for image signing and encryption.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-09-12 18:07:28 +02:00
Javier Viguera ab5f50e16a meta-digi: trailing whitespace cleanup
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-08-31 13:52:15 +02:00
Isaac Hermida 1baa4c2b38 ccimx6ul: defconfig: add bridge support for ccimx6ul
https://jira.digi.com/browse/DEL-2923

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-08-25 10:58:30 +02:00
Javier Viguera a7400b47f4 Merge tag 'dey-2.0-r3.2' into dey-2.0/master
Tweaked to maintain the u-boot and linux revisions to AUTOREV instead of
the fixed SHA1s from the tag.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-08-16 12:30:29 +02:00