Commit Graph

1573 Commits

Author SHA1 Message Date
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
Diaz de Grenu, Jose 66728c99fd sysinfo: read U-Boot from the device tree
This allows to correctly read the U-Boot version when using encrypted images.
Leave the current implementation as a fallback, in case the system is using an
old U-Boot which does not populate the device tree property.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-11-02 11:05:45 +01:00
Diaz de Grenu, Jose 2405428230 README: remove limitation
This was fixed in U-Boot:
4aad9fd041f11de66bf5eb0137c49dbd450c4388

Also move TrustFence (TM) limitation which affect all platforms to a common section.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-31 17:03:26 +01:00
Diaz de Grenu, Jose 262ade8908 Revert "trustfence: disable SDCARD image generation when encryption is enabled"
When encryption is enabled, the signed U-Boot image will be used for the uSD.
This allows the uSD image to boot the device and recover it from the U-Boot
console, which is its main purpose. Nevertheless, the uSD image will not be
able to boot Linux.

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

This reverts commit 2e13e194d9.
2016-10-31 17:03:26 +01:00
Diaz de Grenu, Jose 796334fa9a trustfence: fix initramfs name when signed images are disabled
It is desirable to keep the name of the initramfs images the same regardless of
the sign and encryption configuration.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-24 17:39:02 +02: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
Javier Viguera 472e57312f meta-digi-arm: sync machine files with meta-fsl-arm
This commit adds the proper DEFAULTTUNE and overrides for the ccimx6ul
family of modules.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-10-19 19:25:20 +02:00
Diaz de Grenu, Jose 6aff5b5524 trustfence: fix sign/encryption for very small artifacts
The HAB on the i.MX6/i.MX6UL expects an entrypoint which is used to pass
execution to U-Boot in the ROM code. In later executions of HAB, U-Boot calls
the HAB but ignores this value.

A fixed value of 0x1000 was being used for the entrypoint, which is too big for
really small artifacts, like bootscripts. This commit reduces the value to
0x100. This allows to sign and encrypt artifacts as small as 260 bytes.

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-19 19:09:53 +02:00
Isaac Hermida 62362688df hostapd: update config file with default support for 802.11ac
Optimize the provided config file with default support for 802.11ac.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-10-19 18:25:07 +02:00
Isaac Hermida f8c901b376 kernel-module-qualcomm: fix concurrency and p2p support
Fix support for concurrency and some P2P modes by initializing the interface
with all the adapter completion variables.

https://jira.digi.com/browse/DEL-3072
https://jira.digi.com/browse/DEL-3037

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-10-19 18:23:51 +02:00
Hector Palacios 86cb5b15ae install script: do a saveenv before reset
A corner case requires to save the environment so that the
boot command works after reset.

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

https://jira.digi.com/browse/DUB-681
2016-10-19 15:54:17 +02:00
Diaz de Grenu, Jose 934c819fd9 meta-digi-arm: sign/encrypt bootscript
https://jira.digi.com/browse/DUB-679

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-19 10:47:09 +02:00
Diaz de Grenu, Jose 7a02e1b00a trustfence: define new type of image for signed/encrypted ramdisks
Also change the image type of dey-image-trustfence-initramfs.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-10-19 10:33:34 +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
Isaac Hermida 69cf44fcb5 meta-digi-dey: include x11vnc for ccimx6ul
x11vnc is light in size so we can include it in the final rootfs after
reworking the qtbase and packaga-management stuff.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-10-05 11:55:45 +02:00
Isaac Hermida dabb7b02a7 meta-digi: qtbase: optimize recipe
Including ICU increases the rootfs too much and is not needed unless we want
to build qtwebkit, so only include it for platforms with enough size.
Additionally, linuxfb support is not needed for ccimx6.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-10-05 11:55:45 +02:00
Isaac Hermida 2f275ca47b dey-image-qt: do not include package-management for ccimx6ul
The ccimx6ul has a small NAND flash rootfs partition, and removing
package-management image feature saves around 10MB.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-10-05 11:55:45 +02:00
Isaac Hermida 702145661c bluez5: imx6ul: configure baudrate in the BT FW file
Do not use hcitattach to reconfigure the baudrate but set it directly in the
Bluetooth FW file; this work arounds some synchronization problems when not
using HW flow control.

https://jira.digi.com/browse/DEL-3052
https://jira.digi.com/browse/DEL-3057

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-10-03 17:55:43 +02:00
Hector Palacios ec8555f936 ccimx6ulsbc: update install script to match default recipe
The default DEY image recipe for ccimx6ulsbc builds dey-image-qt.
The graphical backend is determined dynamically.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-10-03 12:01:24 +02:00
Javier Viguera aea7e88db6 meta-digi: compile 'dey-image-qt' by default for ccimx6ulsbc
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 19:05:05 +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
Javier Viguera 3a39aacdd7 meta-digi-dey: rework installed packages for ccimx6ul
CCIMX6UL's rootfs partition is not big enough for the default
'dey-image-qt' image. This commit reworks the QT5 and SATO installed
packages for the ccimx6ul, so the image fits in the rootfs partition.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:27:50 +02:00
Javier Viguera a4c45ecd2d gst-player: disable 'glimagesink' patch for ccimx6ul
The ccimx6ul does not have a GPU, so opengl based gstreamer sink will
not work. Thus apply the patch only for the CCIMX6.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:27:50 +02:00
Javier Viguera 11ce6f30b7 qtbase: enable 'linuxfb' platform plugin
This plugin uses directly the framebuffer, so it can be used in non
X11-based systems, but it oly supports software rendered content,
no opengl/es.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:27:50 +02:00
Javier Viguera 6e96f4ac7e qtbase: add i.MX6UL overrides
This allows to build 'qtbase' for the CC6UL.

It only fixes the broken build, as any QT application that uses OpenGL/ES
will fail because there is no support for QT/OpenGL in modules without
a GPU.

Fix:

arm-dey-linux-gnueabi-g++  -march=armv7-a -mfloat-abi=softfp -mfpu=neon
--sysroot=/ssd/dey/jethro/fb/ccimx6ulsbc/tmp/sysroots/ccimx6ulsbc
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o opengldesktop
opengldesktop.o   -lGL

.../arm-dey-linux-gnueabi/5.2.0/ld: cannot find -lGL

A similar commit was done in meta-fsl-arm.git (branch Krogoth).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:27:49 +02:00
Javier Viguera b2ae79fb1a formfactor: move config files under machine directories
Otherwise they are overridden with config files from other layers (for
example meta-fsl-arm) that may not be valid for our platforms.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:22:22 +02:00
Javier Viguera e4e65538e8 pointercal.xinput: add empty calibration for ccimx6ul
Add an empty calibration file to prevent the 'xinput_calibrator' tool
being launched on X11 desktop start.

The file does not have any calibration data because capacitive touch
displays usually do not need calibration.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:20:33 +02:00