Commit Graph

793 Commits

Author SHA1 Message Date
Javier Viguera 2e003d8385 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-03 17:00:47 +01:00
Javier Viguera c4643eaf0f meta-digi: update revisions for dey-2.0-r5.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-03 16:58:40 +01:00
Pedro Perez de Heredia aebaedd365 meta-digi-arm: firmware-qualcomm: qcom_cfg.ini: disable MCS8-9 for Tx mode
https://jira.digi.com/browse/DEL-3563

Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
2017-02-02 18:13:16 +01:00
Alejandro Navarro 731edf319b mca_tool: update checksums for version 1.3
Signed-off-by: Alejandro Navarro <alejandro.navarro@digi.com>
2017-02-02 18:10:21 +01:00
Javier Viguera 161117caf0 install_linux: fix failure to boot into recovery
On a CC6, the 'env default -a' command deletes the 'soc_family' variable
that is used on the U-Boot boot scripts to configure the name of the
device tree file to load.

Then if we try to boot into recovery directly (without a reset) because
the variable is not available, it fails to compose the correct name for
the fdt, and gives the error:

  reading uImage--ccimx6sbc-id129.dtb
  ** Unable to read file uImage--ccimx6sbc-id129.dtb **

Force a reset, so the 'soc_family' variable is available again and the
correct fdt_file is loaded.

While on it, add some blank lines to the 'recovery reboot' message, so
it's easier to read.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-02 13:32:18 +01:00
Javier Viguera 165f7097e4 Merge branch 'dey-2.0/master' into dey-2.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-02 12:47:05 +01:00
Diaz de Grenu, Jose 6a431c5363 meta-digi-arm: fix encrypted env support when using ubootenv
The caam encryption check was only done from fw_env_write and fw_env_read
functions, which are not called when using the functions exported as a library.

Move the check_caam_encryption() call to fw_env_open(), which is called from
all code paths. A similar check for AES encryption cannot be moved because it
requires the AES key as an argument.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-02-01 16:29:50 +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 50dc84d949 uboot: install_script: add missing semicolons
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3603
2017-01-31 11:37:37 +01:00
Javier Viguera 1b387bbe5d meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-27 12:01:55 +01:00
Javier Viguera 615350dd26 meta-digi: update revisions for dey-2.0-r5.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-27 11:58:29 +01:00
Javier Viguera 7005b0a330 Merge branch 'dey-2.0/master' into dey-2.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-26 18:17:12 +01:00
Hector Palacios 9ea7568d8d install_linux_fw_sd: erase NAND partitions before update
NAND partitions may have pre-existing UBI volume information
and that will tell U-Boot to use 'ubiwrite' to keep UBI wear
leveling information instead of erasing the NAND partition
beforehand. Given that the UBI support in U-Boot is not
particularly complete and stable, and specially if the NAND
partition table has been changed, this could result into
problems during the UBI volume initialization or during the
update process. To prevent such problems it is better that
the NAND partitions are erased.

This loses the UBI wear leveling information but provides
a more reliable deployment install script.

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

https://jira.digi.com/browse/DUB-718
2017-01-26 18:09:59 +01:00
Alejandro Navarro 2c7e8ade88 mca_tool: update checksums for version 1.2
Signed-off-by: Alejandro Navarro <alejandro.navarro@digi.com>

https://jira.digi.com/browse/DEL-3575
2017-01-25 19:48:05 +01:00
Javier Viguera 85efbb87e2 u-boot-fw-utils: clean compiler warning
Modify patch to clean compiler warning:

warning: passing argument 1 of 'sysfs_mmcboot_set_protection' discards
'const' qualifier from pointer target type

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-24 13:55:19 +01:00
David Escalona e0d6f4eda4 automount: add rule to automount update partition
https://jira.digi.com/browse/DEL-3512

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-01-24 11:17:21 +01:00
Alex Gonzalez 98808b5938 kernel-module-qualcomm: Initialize auxiliary p2p0 interface at boot
Remove the commit that removes the p2p0 interface at boot. This interface
is the one used to establish p2p connections. Configuring the wlan0 command
for p2p does not work.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-23 15:45:20 +01:00
Alex Gonzalez e55d83ba14 kernel-module-qualcomm: Bring the module up with the p2p0 interface too
The qualcomm wlan driver creates two interfaces at load time, wlan0 and
p2p0. Both of them should load the module if not already loaded.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-23 15:45:20 +01:00
Alex Gonzalez 5d332c7800 ccimx6ul: Add P2P support
This commit adds a wpa supplicant P2P configuration file and configures
the p2p0 interface automatically at pre-up.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-23 15:45:20 +01:00
Alex Gonzalez 0bb2cb005d meta-digi-arm: ccimx6ul: Use HAVE macros as in other platforms.
For consistency, use the HAVE macros instead of grepping the machine
features directly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-23 15:45:20 +01:00
David Escalona 2771549da3 uboot: install_script: add recovery image and wipe_update to DEY install script
https://jira.digi.com/browse/DEL-3513

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-01-20 13:25:36 +01:00
Alex Gonzalez 255030e94c meta-digi-arm: firmware-qualcomm: qcom_cfg.ini: Recover gRoamingTime
Even though this variable is documented as unused, removing it fails
wireless regression tests.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-18 18:31:42 +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
Javier Viguera 9448e9d994 ccardimx28: add missing leading space for append operator
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-17 18:24:37 +01:00
Javier Viguera 6269b20c9c kernel-module-qualcomm: cosmetic, no functional change
According to openembedded coding style.

Signen-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-17 18:24:05 +01:00
Javier Viguera 29af4bb088 kernel-module-qualcomm: remove virtual/kernel dependence
The dependence on virtual/kernel is added implicitly through the module
class, so there is no need to add it explicitly.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-17 18:23:33 +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
Alejandro Navarro caa932612d mca_tool: update checksums for the new version
Signed-off-by: Alejandro Navarro <alejandro.navarro@digi.com>

https://jira.digi.com/browse/DEL-3499
2017-01-16 16:19:53 +01:00
Alex Gonzalez 905ac5c483 meta-digi-arm: firmware-qualcomm: qcom_cfg.ini: Add debug bitmasks
Document as comments the enabling of the debug modules and levels

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-12 11:46:00 +01:00
Alex Gonzalez 6be939c535 meta-digi-arm: firmware-qualcomm: qcom_cfg.ini: Remove unused entries.
The following document,

JQCA61x4, QCA65x4, and QCA937x
Configuration Parameters Specification
80-Y7674-11 Rev. J
September 30, 2016

Contains a list of unused configuration arguments in page 29. This commit
removes those listed arguments that appeared on the default configuration
file to avoid confusion.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-12 11:35:08 +01:00
Alex Gonzalez 21209d4f36 meta-digi-arm: kernel-module-qualcomm: Pass BUILD_DEBUG_VERSION to kbuild.
Otherwise the module is built with debug as that is the Makefile's
default.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-12 11:30:48 +01:00
Javier Viguera f787a22ef1 u-boot-fw-utils: add patch with minimal U-Boot environment API
Implements functions to get and set variables from U-Boot's environment.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-11 15:00:16 +01:00
Alex Gonzalez 910b8761f0 meta-digi-arm: firmware-qualcomm: Update board calibration files.
These have been provided by the embedded hardware team and they are to
be used for certification testing. The calibration corresponds to the
internal antenna on the module. If using the current external antenna on the
CC6UL SBC they work fine, although they could be tweaked to improve.

The BDF files provided were generated from the original ones, by running a
test tree for output power calibration for QCA6564A-3 chip. This test
tree is called
‘FCCSP_Rome3.x_WLAN_CLPC_cal_and_WLAN_BT_Verify_Y8611-H341.xtt’ and it
belongs to the Qualcomm Design Package ‘DP25-WL420-100’.
The test tree is to be run in the QSPR software tool, part of the QDART
software tools set provided by Qualcomm.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-05 14:58:31 +01:00
Alex Gonzalez f5dac18ae5 meta-digi-arm: firmware-qualcomm: Match board file and UTF board file.
As discovered during certifications preparation work, calibration changes
applied only on the bdwlan30.bin file do not take effect.

Per QCA guidelines, the bdwlan30.bin and utfbd30.bin files should be the
same for the calibration changes to work.

This commit removes the current utfbd30.bin file, with an md5sum that
matches the original bdwlan30.bin file in QCA's chipcode
qca6564-le-1-0-3_qca_device repository, and creates a symbolic link to the
actual bdwlan30.bin board file used to certify Digi's module internal
antenna.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-05 14:58:31 +01:00
Hector Palacios dbe23328da alsa-state: ccimx6ul: enable speaker right channel
The speaker right channel was left disabled in the default
configuration.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-01-02 17:56:46 +01:00
Hector Palacios 96f6849668 alsa-state: ccimx6ul: add ALSA asound.state config file
The codec MAX98088 present on the ccimx6ulsbc only needs one
configuration file that can play and record.
The default file enables the interfaces present on the ccimx6ulsbc:
	- Headphones
	- Speaker
	- LineOut (in stereo mode)
	- LineIN-A
	- MIC2

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

https://jira.digi.com/browse/DEL-2352
2016-12-30 18:38:05 +01:00
Hector Palacios 8d9033138d alsa-state: ccimx6ul: add basic asound.conf for imxmax98088
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-2352
2016-12-30 16:58:00 +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
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 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 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 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
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
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 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