Commit Graph

1652 Commits

Author SHA1 Message Date
Javier Viguera fdf8978e57 linux, u-boot: configure recipes to use maintenance branches
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-22 10:32:00 +02:00
Javier Viguera d7f4c86279 Merge branch 'dey-2.0/master' into dey-2.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-22 10:07:16 +02:00
Javier Viguera a8c50c16ea trustfence-initramfs-init: remove cryptsetup from init script
New functionality has been implemented in trustfence-tool application,
so there is no need to call cryptsetup command.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-22 09:50:47 +02:00
Javier Viguera 4ca3aa176a trustfence-initramfs-init: clean mount rootfs warnings
Get filesystem type of rootfs block device and pass it explicitly to the
mount command to clean following warnings on boot:

EXT4-fs (dm-0): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (dm-0): couldn't mount as ext2 due to feature incompatibilities

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-22 09:50:47 +02:00
Isaac Hermida 1e843089fe ccimx6ul: defconfig: update config file for ccimx6ul
Add support for ADC using the MCA driver.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-22 08:52:25 +02:00
Isaac Hermida 46c7508ee3 kernel-module-qualcomm: add support to override the region code
The region code is programmed in the OTP bits. We want to allow to be able to
override this behavior by setting the new value as a property in the device
tree called "regulatory-domain".
This can be done by setting the variable "regdomain=<code>" in uboot or well
by defining that entry in the device tree.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-21 18:32:07 +02:00
Isaac Hermida cd253b370b kernel-module-qualcomm: load specific firmware file per region
The country region is programmed in the OTP bits. Based on that value we need
to load the firmware file for the specific country region.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-21 18:29:34 +02:00
Isaac Hermida 0b5c74e836 recipes-bsp: firmware-qualcomm: add different firmware files for country regions
We are including two firmware files: one for setting the country to US and the
other one to set it to the World Wide Roaming region (SKU 0060).

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-21 18:29:34 +02:00
Isaac Hermida b81ce399f6 wpa-supplicant: add CC6UL specific configuration file
We need a different configuration file, because the SoftAP functionality is
supported using the hostapd package instead of the wpa_supplicant.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-21 18:23:47 +02:00
Diaz de Grenu, Jose 84cad4e4ad meta-digi-arm: linux-dey: fix check for uImage signing
TRUSTFENCE_SIGN can be defined to "0" to explicitly disable uImage sign and
encryption.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-21 11:38:01 +02:00
Diaz de Grenu, Jose 5ee4340942 meta-digi-arm: u-boot: [cosmetic] correct DEY macro name
https://jira.digi.com/browse/DEL-2804

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-21 11:20:03 +02:00
Hector Palacios d9c4a586f2 ccimx6ulstarter: add device tree file for -id129 board
This device tree file corresponds to StarterBoard with ID=129
which corresponds to smart part number CC-WMX6UL-START.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-07-20 16:33:04 +02:00
Diaz de Grenu, Jose ebbe0e6d3e Revert "meta-digi-arm: u-boot: use v2015.04 maintenance branch"
The correct U-Boot branch to be used with dey-2.0/master is v2015.04/master, as
it contains the latest development changes (just like dey-2.0/master).

This reverts commit 728619a5bc.
2016-07-19 18:38:12 +02:00
Diaz de Grenu, Jose 3f25006148 meta-digi-arm: u-boot: copy signed and encrypted artifacts
After commit b0a766eafc8 in the U-Boot repository, both signed and
encrypted images will be generated. Copy both of them to the deploy folder

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-19 18:38:05 +02:00
Diaz de Grenu, Jose d91661d7de meta-digi-arm: add support for signed and encrypted uImages
https://jira.digi.com/browse/DUB-534
https://jira.digi.com/browse/DUB-602

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-19 15:48:12 +02:00
Diaz de Grenu, Jose f23d8c6abb trustfence: simplify TRUSTFENCE_ configuration macros
Adapt the U-Boot recipe to the last U-Boot Kconfig entries changes.

Simplify the name of some TRUSTFENCE_ configuration macros. These were
used to configure U-Boot, but they will also configure the uImage signature
and encryption processes.

https://jira.digi.com/browse/DUB-602
https://jira.digi.com/browse/DUB-618
https://jira.digi.com/browse/DUB-534

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-19 15:48:12 +02:00
Diaz de Grenu, Jose 37eb7db2dc meta-digi-arm: trustfence-cst: use /dev/urandom
This is needed in order to avoid indefinitely blocking.

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-19 15:48:12 +02:00
Diaz de Grenu, Jose ceb9ca1537 trustfence-cst: hab4_pki_tree-sh: automate script
This allows to automatically create a secure PKI tree without user
interaction.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-19 15:48:12 +02:00
Diaz de Grenu, Jose 8ac7da51ef meta-digi-arm: add recipe for the Code Signing Tools
NXP Code signing Tool for the High Assurance Boot library is needed for
signing and encrypting different artifacts (U-Boot image, uImage, ...).

As the CST cannot be included in DEY, the user needs to download the
tarball and add it to the recipe folder.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-07-19 15:48:12 +02:00
Mike Engel 729a7198e6 meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-19 15:42:19 +02:00
Mike Engel ee65f4af6d meta-digi: update revisions for dey-2.0-r2.1
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-19 15:35:36 +02:00
Mike Engel 8d4c754461 changelog: update for upcoming release.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-19 15:27:09 +02:00
Mike Engel b536961dfc meta-digi-dey: Update disrtro version to dey-2.0-r2.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-19 15:25:26 +02:00
Javier Viguera d80aa91c28 meta-digi-arm: set 'boot.ubifs' image depends explictly
To build the CC6UL boot image, the u-boot and linux images need to be
already deployed. Also the native mtd-utils package needs to be
available in the sysroot.

Make all this dependences explicit for deterministic reproducibility.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-19 12:35:51 +02:00
Hector Palacios b71f2dacb5 u-boot-fw-utils: add support and config file for CC6UL platform
U-Boot environment on the CC6UL NAND is located at partition /dev/mtd1:
 - original copy is located at offset 0 in the partition
 - redundant copy is located 1 erase block (128K) after the original copy

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

https://jira.digi.com/browse/DEL-2552
2016-07-19 11:47:42 +02:00
Diego Escalona 24fb7f5bd4 build.sh: add support for the manufacturing build job
- Added a checker with the job name to declare the manufacturing var
- Changed the name of the repo manifest file for the manufacturing job
- Added a checker to updated the bblayers.conf file with the mfg layer

Signed-off-by: Diego Escalona <diego.escalona@digi.com>
2016-07-19 11:33:06 +02:00
Isaac Hermida dc5d85cb3b meta-digi-dey: sysinfo: add support for CC6UL
https://jira.digi.com/browse/DEL-2729

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-18 16:31:12 +02:00
Isaac Hermida 529102b2dc meta-digi-dey: sysinfo: extend report information with more details
Extend the report with more details about:
 - memory usage
 - all network ports (-a) with their related PIDs (-p)
 - network link details (to determine if interface is up)

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-18 16:31:12 +02:00
Javier Viguera 8ccafb9492 u-boot: disable TF initramfs for CC6UL
At the moment there is no support for rootfs encryption for the CC6UL,
so there is not a ramdisk in the boot image. But with the initial
addition of TF support, the u-boot boot script was being on-the-fly
updated for TF regardless of the platform, making the CC6UL unable to
boot when TF was enabled.

This commit fixes the problem, by just changing the u-boot boot script
when TF is enabled only for the CC6.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-18 11:35:09 +02:00
Mike Engel 088a757607 meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-18 10:08:14 +02:00
Alex Gonzalez 213577a930 meta-digi-dey: linux-dey-3.14: Sync ccimx6sbc defconfig with kernel's
defconfig

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-07-18 10:08:08 +02:00
Mike Engel 94328c3769 meta-digi: update revisions for dey-2.0-r2.1
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-18 10:00:12 +02:00
Mike Engel d042239bc2 release_notes, changelog: update for upcoming release.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2016-07-18 10:00:12 +02:00
Isaac Hermida 728619a5bc meta-digi-arm: u-boot: use v2015.04 maintenance branch
Use the maintenance branch for the compatible platforms (ccimx6 and ccimx6ul)

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-15 16:16:32 +02:00
Isaac Hermida 948149208e recipes-kernel: Update config file for ccimx6ul
Update config file to include power management MCA support.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-15 16:16:32 +02:00
Isaac Hermida 8143f6f638 meta-digi-dey: add suspend script support to ccimx6ul
https://jira.digi.com/browse/DEL-2773

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-15 14:29:21 +02:00
Diaz de Grenu, Jose 3d6f705a14 Revert "pulseaudio: remove module-udev-detect"
Using module-detect there are some audio reverb problems. Reverting that commit
will make pulseaudio use module-udev-detect again instead, which takes longer
to initialize but does not have that problem.

This reverts commit e021f738ee.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-07-15 10:10:30 +02:00
Diaz de Grenu, Jose b67d7e02e9 Revert "meta-digi-dey: pulseaudio: add HDMI audio sink on hotplug"
When module-alsa-sink is used, the audio is sometimes heard with
reverb. We will go back to module-udev-detect, so the functionality
introduced in the commit being reverted won't longer work.

This reverts commit fca507d316.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-07-15 10:10:24 +02:00
Diaz de Grenu, Jose fa853e0c2e Revert "pulseaudio: remove module-udev-detect"
Using module-detect there are some audio reverb problems. Reverting that commit
will make pulseaudio use module-udev-detect again instead, which takes longer
to initialize but does not have that problem.

This reverts commit e021f738ee.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-07-14 17:48:00 +02:00
Diaz de Grenu, Jose 5bd0835150 Revert "meta-digi-dey: pulseaudio: add HDMI audio sink on hotplug"
When module-alsa-sink is used, the audio is sometimes heard with
reverb. We will go back to module-udev-detect, so the functionality
introduced in the commit being reverted won't longer work.

This reverts commit fca507d316.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-07-14 17:16:42 +02:00
Alex Gonzalez 9585e313af meta-digi-arm: u-boot-dey: Do not use external compilation unless multiple
u-boots are being build.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-07-13 14:14:45 +02:00
Alex Gonzalez da92e2f07d meta-digi-arm: u-boot: Do not override defconfig targets on multiple u-boot
builds.

When building multiple u-boots they get compiled externally into a
directory named after machine defconfigs.

Once there is a directory with the same name as a defconfig it is not
possible to run the defconfig make target.

Fixes https://jira.digi.com/browse/DEL-2644

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-07-13 14:14:45 +02:00
Alex Gonzalez c43c9897ad meta-digi-arm: u-boot.inc: Do not override defconfig targets on multiple u-boot
builds.

When building multiple u-boots they get compiled externally into a
directory named after machine defconfigs.

Once there is a directory with the same name as a defconfig it is not
possible to run the defconfig make target.

This change should be only temporary until it gets upstream.

Fixes https://jira.digi.com/browse/DEL-2644

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-07-13 14:14:45 +02:00
Alex Gonzalez e22244edde meta-digi-arm: Add u-boot.inc from poky's meta layer.
Moving this file into meta-digi should be temporary until a patch is
upstreamed.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-07-13 14:14:45 +02:00
Isaac Hermida 6e76f9f7e4 bluez5: include hcitool patches (increase "conn" limit and "refresh" typo)
Add a couple of bluez patches: one for increasing the number of connection
showed with "hcitool con" command and remove "refresh" option in hcitool
help that is not supported.
The qca6564 chip can support more than 10 simultaneous BLE connections.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-12 13:01:28 +02:00
Isaac Hermida c90aaaaadd ccimx6ulstarter: update conf-notes.txt for core-image-base support
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-11 12:22:19 +02:00
Javier Viguera 7b9cabe389 packagegroup-dey-qt: restrict qtwebengine to ccimx6sbc
qtwebengine does not support armv5 platforms (for example ccardimx28js),
so we need to restrict that package to the ccimx6sbc

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-08 14:55:04 +02:00
Javier Viguera 6f8c58291e meta-digi: add support for Trustfence secure rootfs
When Trustfence is enabled, this adds a dependence on the TF initramfs,
so it's built and added to the boot image.

It also modifies the u-boot boot script on the fly, to boot correctly
using the Trustfence initramfs.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-07 18:04:08 +02:00
Javier Viguera 7a38d609f2 meta-digi-dey: new Trustfence initramfs image recipe
This recipe builds the initramfs image that is used to boot from an
encrypted rootfs.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-07 17:59:55 +02:00
Javier Viguera 4dd7d438af meta-digi-dey: new Trustfence initramfs package
This package adds some files needed by the trustfence initramfs and that
are not included in other packages.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-07 17:59:25 +02:00