Commit Graph

1500 Commits

Author SHA1 Message Date
David Escalona 047849b848 recovery: add recovery image types for DEY images generation
- Added the new image type 'recovery.vfat' to the DEY images
  generation process. This new image is a clone of the 'boot.vfat'
  but including the recovery ramdisk and the recovery boot script.

- Added the new image type 'recovery.ubifs' to the DEY images
  generation process. This new image is similar to the 'boot.ubifs'
  but including the recovery ramdisk and the recovery boot script.

Signed-off-by: David Escalona <david.escalona@digi.com>
2016-12-27 17:37:53 +01:00
David Escalona c68a9d255a recovery: add recipe to generate the recovery ramdisk image
- This recipe generates the recovery ramdisk image with the contents of the
  recovery ramdisk tree (recovery-initramfs) and other packages.

Signed-off-by: David Escalona <david.escalona@digi.com>
2016-12-27 17:37:53 +01:00
David Escalona f13767ecd3 recovery: add recipe to generate recovery ramdisk file tree
Signed-off-by: David Escalona <david.escalona@digi.com>
2016-12-27 17:37:53 +01:00
David Escalona a7ab3e7fa5 recovery: add new bootscript for the recovery image
Signed-off-by: David Escalona <david.escalona@digi.com>
2016-12-27 17:37:53 +01:00
Hector Palacios 1496d740d7 ccimx6ul: suspend: do not bring hci0 down/up
Bringing the Bluetooth interface down and up during suspend
is not needed and it even showed problems on the Starter Board
where the Bluetooth interface does not come up again after
having been brought down in suspend.

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

https://jira.digi.com/browse/DEL-3416
https://jira.digi.com/browse/DEL-3081
2016-12-27 16:35:34 +01:00
Hector Palacios cb46deba38 dey-image-qt: build gstreamer for 'ccimx6ulsbc' platform
Separately add 'dey-gstreamer' to ccimx6ulsbc platform.
This platform does not have 'accel-video' but we want gstreamer
for using it with video/camera.

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

https://jira.digi.com/browse/DEL-2358
2016-12-26 10:55:01 +01:00
Hector Palacios 2d2afe1286 meta-digi: fix gst1.0-fsl-plugin video sink device
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3399
2016-12-26 10:55:01 +01:00
Hector Palacios 7f092fe4cd imx-digi-base.inc: build gstreamer plugins for i.MX6UL
The i.MX6UL supports some basic multimedia functionality
using the pixel pipeline (PXP).

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

https://jira.digi.com/browse/DEL-2358
2016-12-26 10:54:37 +01:00
Javier Viguera 347960c61c swupdate: use version 2016.10
There is new functionality in that version that we need for our firmware
update solution, so append the git-based recipe and set the revision to
the 2016.10 version.

Also provide a customized build configuration file. Notice that the
defconfig file is actually a full '.config'. It needs to be a full
config file because otherwise the anonymous python function in the
recipe is not able to gather all the build time dependences.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-12-19 19:15:31 +01:00
Javier Viguera 93db03bad7 u-boot-fw-utils: rework patch from meta-swupdate with higher precedence
The patch with the same name in 'meta-swupdate' fails to apply cleanly
after the patches we have done in meta-digi. So add here a version of
the patch that applies cleanly and with higher precedence in the search
path (using 'dey' distro override).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-12-19 19:15:31 +01:00
Javier Viguera 7fc553a300 meta-digi: add 'meta-swupdate' layer to bblayers config file
https://jira.digi.com/browse/DEL-3355

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-12-19 19:15:31 +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
Alex Gonzalez 9a5372bcc9 meta-digi-arm: kernel-module-qualcomm: Print connection mode.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-12-15 13:39:10 +01:00
Alex Gonzalez dd7dcc597d meta-digi-arm:kernel-module-qualcomm:Pass disconnect event to upper layers.
https://jira.digi.com/browse/DEL-3365

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-12-12 17:36:40 +01:00
Alex Gonzalez 3016520e4f meta-digi-arm: kernel-module-qualcomm: Update to v4.2.79.63
This brings several upstream bugfixes.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-12-12 17:36:40 +01:00
Pedro Perez de Heredia cf3f88f03c dey-examples: add adc_sample application for ccimx6ul
https://jira.digi.com/browse/DEL-3218

Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
2016-12-02 17:49:35 +01:00
Hector Palacios 41e3209549 ccimx6ul: suspend: remove delays
Remove preventive delays during the removal of Bluetooth and Wireless
interfaces. Tests revealed they are not needed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-12-02 10:58:28 +01:00
Hector Palacios 368d1ebe56 ccimx6ul: suspend: do not load the wireless module on resume
The loading of the wireless module without proper arguments does nothing.
Besides, if the interface was down before going to suspend, there is no
need for the wireless module to be loaded.

The wireless module will be loaded nevertheless (with proper arguments)
when the interface is brought up.

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

https://jira.digi.com/browse/DEL-3241
2016-12-02 10:58:28 +01:00
Hector Palacios e7a21cdad0 ccimx6ul: suspend: unload wireless module always before suspending
The suspend script was unloading the wireless module driver *only* if the
interface 'wlan0' was previously up. If the interface is down the module
does not unload and the system fails to suspend.

This patch removes the module always if it appears in the list of loaded
modules.

While on it, move the unloading of wireless after the unloading of
Bluetooth, to be in line with the reversed order in which they are loaded
on the resume_interfaces() call.

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

https://jira.digi.com/browse/DEL-3241
2016-12-02 10:58:28 +01:00
Javier Viguera e441b6fec5 trustfence-tool: install tool from tarball
Use the static binary from the tarball, which should be common across
different platforms and operating systems.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-30 14:51:54 +01:00
Diaz de Grenu, Jose b30cd6eb2b Revert "meta-digi-arm: Add rootfs.initramfs image generation."
This image type is not used anymore.

This reverts commit aef38bc285.
2016-11-29 19:40:47 +01:00
Diaz de Grenu, Jose 2fee1a85b0 dey-image-tiny-initramfs: use cpio.gz.u-boot.tf image
The u-boot header is required for U-Boot to boot the image in secure boot.
The cpio.gz.u-boot.tf image gets signed and encrpyted if required.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-29 19:40:47 +01:00
Javier Viguera 611e2652b6 meta-digi-dey: bump distro version to 2.0-r5
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-29 13:58:32 +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 ede7b9b6c0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-25 11:43:09 +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
Javier Viguera eed8fd2e63 trustfence-sign-tools: use v2015.04 maintenance branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-25 11:35:49 +01:00
Javier Viguera 7cd5cc0328 meta-digi: update README.md
Add Linux kernel version for CC6 and MCA firmware updater for CC6UL.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-25 11:29:35 +01:00
Javier Viguera 37b9c9c5e3 trustfence-tool: install tool from local binaries
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-23 16:30:34 +01:00
Diaz de Grenu, Jose 094c1ea38c meta-digi: prepare for dey-2.0-r4.2
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-23 16:25:27 +01:00
Hector Palacios aab2290bef mca-tool: update sumchecks for the new version
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-11-23 15:53:45 +01:00
Diaz de Grenu, Jose e273a30fac mca-tool: update sumchecks for the new version
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-22 18:50:21 +01:00
Diaz de Grenu, Jose de5ea6493b Revert "README: add known limitation about MIPI and CSI1"
This has been fixed in kernel commit 9525be91790af93bbc9cb0d11ef8b5ece6c82fff

This reverts commit 26905d8cfb.

https://jira.digi.com/browse/DEL-3175
2016-11-21 18:54:53 +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
Hector Palacios a7d9a894d7 ccimx6ul.inc: add mca-tool package by default
This application can be used to:
 - Update the MCA firmware
 - Configure the tamper settings

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

https://jira.digi.com/browse/DEL-3230
2016-11-21 11:23:55 +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 f7d44badb6 meta-digi: prepare for dey-2.0-r4.1
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-18 11:57:45 +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
Pedro Perez de Heredia f57007a322 dey-examples: add tamper_sample application for ccimx6ul
https://jira.digi.com/browse/DEL-3195

Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-18 11:37:53 +01:00
Diaz de Grenu, Jose 26905d8cfb README: add known limitation about MIPI and CSI1
https://jira.digi.com/browse/DEL-3175

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-18 11:31:52 +01:00
Hector Palacios a81f72b99f mca-tool: add application to manage the CC6UL MCA firmware
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3093
2016-11-18 11:28:04 +01:00
Javier Viguera 55c291e340 trustfence-tool: update checksums
Version: 2.0-g49bafeb

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-11-18 11:07:59 +01:00
Alex Gonzalez 22fe619976 meta-digi-dey: trustfence-initramfs-init: Use printf instead of echos
This is a cosmetic change so that the newline characters are actually
used.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-11-17 11:50:02 +01:00
Alex Gonzalez b3e5837cf4 trustfence-initramfs: Extend for the ccimx6ul
https://jira.digi.com/browse/DEL-3173

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-11-14 18:40:30 +01:00
Diaz de Grenu, Jose af3f883f09 trustfence: [cosmetic] fix usage help
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-09 17:02:52 +01:00
Diaz de Grenu, Jose ed22789224 trustfence: make sign script threadsafe
Ensure that the signing script is not executed in parallel. This is required in
order to avoid problems during PKI generation and CST usage when building with
Yocto or the Android build system.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-09 17:02:18 +01:00
Diaz de Grenu, Jose e0b7905d67 sysinfo: fix device status report
The OTP word read was incorrect. HW_OCOTP_CFG5 corresponds to bank 0 word 6.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-08 14:52:12 +01:00
Gabriel Valcazar 32a234b0d1 sysinfo: Add wireless configuration info
Print the wireless configuration as well as supplicant and hostapd version info

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2016-11-04 17:57:13 +01:00
Diaz de Grenu, Jose 7a1f46175c sysinfo: Add information about TrustFence (TM)
https://jira.digi.com/browse/DEL-3025

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-02 13:11:42 +01:00