Commit Graph

898 Commits

Author SHA1 Message Date
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
Sebastian Pastor 8a9e333086 mca_tool: update checksums for build 1.6
Signed-off-by: Sebastian Pastor <sebastian.pastor@digi.com>
2017-04-25 18:37:04 +02:00
Hector Palacios 71323796fd mca_tool: update checksums for v1.5
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-20 20:30:18 +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 2f47dfb48c meta-digi-arm:gpu: Add GPU memory reserved configuration.
This commit adds support to read the GPU reserved memory
from the DT.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-3868
2017-04-12 11:54:07 +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
Mike Engel fae66340dd mca: Fix build error when binary is already-stripped.
This commit fixes a build error issue for the MCA because the
binary is stripped.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-04-12 11:45:47 +02:00
Alejandro Navarro ff82ecdf87 mca_tool: update checksums for build 1.5
Signed-off-by: Alejandro Navarro <alejandro.navarro@digi.com>
2017-04-11 14:11:34 +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
Alex Gonzalez 6377c0c13d meta-digi-arm: firmware-qualcomm: Update board data files.
These new US and world board data files contain new settings updated
with the latest certification results including the 2 dB power reduction
from DVT.

md5sums:

a5635e39aaaa220094e0d07f7a4f4567  bdwlan30_US.bin
cabebad84a6afc1c2a7d795d31dda480  bdwlan30_World.bin

https://jira.digi.com/browse/CC6UL-740

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-04-11 10:40:13 +02:00
Hector Palacios 68a1940d7f ccimx6ulstarter/sbc: select correct fdt_file for variant 0x04
Variant 0x04 has wireless and must select the '-wb' device tree.

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

https://jira.digi.com/browse/DEL-4100
2017-04-10 11:27:22 +02:00
Hector Palacios 80e5756770 ccimx6ulstarter/sbc: add support for CC6UL 1GB DDR3 variants
Add support to build U-Boot for variants with 1GB DDR3.
Add support in U-Boot install firmware script to select the
U-Boot artifact to use basing on variant.

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

https://jira.digi.com/browse/DEL-3970
2017-04-06 10:32:39 +02:00
Alex Gonzalez 5d2d0011d0 meta-digi-arm: qualcomm: Move cfg.dat and qcom_cfg.ini to module recipe
The firmware configuration and the driver configuration are part of the
driver repository. Stop duplicating the content in meta-digi so they
are updated with the driver itself.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-31 18:29:00 +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
Alex Gonzalez 4b5fe291f0 meta-digi-arm: kernel-module-qualcomm: Use single SRCREV for both external
and internal compilation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-24 09:45:52 +01:00
David Escalona 748ffed314 trustfence-sign-kernel: fix the IVT table address padding
- The IVT table address inside the kernel image must be aligned at 0x1000
  bytes. The calculation of this offset was not working when the kernel image
  size was multiple of 0x1000 bytes. In this case the IVT table was moved an
  extra offset of 0x1000 bytes, causing U-Boot to fail to validate the image
  as the IVT table was not in the expected location.

  This fix uses the same offset calculation algorithm as U-Boot, ensuring both,
  the sign script and U-Boot will look for the IVT at the same address.

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

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-03-23 14:16:33 +01:00
Alex Gonzalez 70f7c013da meta-digi-arm: firmware-qualcomm: Update board data files.
These new US and world board data files contain new settings updated
with the latest certification results.

md5sums:

386475740ad0e41f4387eebdf2931c16  bdwlan30_US.bin
d349985b51353f430183f1bf9f6d90d1  bdwlan30_World.bin

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-23 13:04:49 +01:00
Javier Viguera 116d532813 trustfence-cst-native: add premirror for CST package
This will allow to get the package from a premirror in case it is not
already downloaded in the DL_DIR.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-23 12:36:57 +01:00
Javier Viguera 165f58e9df trustfence-cst-native: coding style, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-23 12:36:57 +01:00
Javier Viguera 846f07b7ac meta-digi: change Freescale references to NXP
Mostly in config templates and readme files.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-22 19:58:32 +01:00
Diaz de Grenu, Jose 4850d0ffa9 conf: machine: use weak assignment for SERIAL_CONSOLES
This allows to override the console using the local.conf.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-03-22 11:36:46 +01:00
Tatiana Leon a1eeb71f24 automount: add rule not to automount 'recovery' partition
https://jira.digi.com/browse/DEL-3934

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-20 14:57:11 +01:00
Tatiana Leon 3aeb49cce1 meta-digi-arm: use DHCP IPs by default
The main purpose is to improve our kits usability. This way users do not need
to follow the steps in the documentation to change from static to DHCP IPs.

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-20 14:47:21 +01:00
Alex Gonzalez 30c253e108 meta-digi-arm: kernel-module-qualcomm: Build from Digi source repositories
The amount of patches to this driver maintained in meta-digi is
substantial, so we are moving to a git repository release model.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-20 10:43:24 +01:00
Alex Gonzalez fd7239da8a meta-digi-dey: Add LDFLAGS to do_compile override
This is to avoid the following QA error:

ERROR: fbtest-1.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/usr/local/ssd/dey-2.2/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/fbtest/1.0-r0/packages-split/fbtest/usr/bin/fbtest' [ldflags]
ERROR: fbtest-1.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: fbtest-1.0-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /usr/local/ssd/dey-2.2/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/fbtest/1.0-r0/temp/log.do_package_qa.6755
ERROR: Task (/usr/local/ssd/dey-2.2/sources/meta-digi/meta-digi-dey/recipes-digi/fbtest/fbtest.bb:do_package_qa) failed with exit code '1'

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-17 19:15:27 +01:00
Alex Gonzalez 395f047493 meta-digi-arm: firmware-qualcomm: Update QCA binary
Update to tag r110055.1 from
https://chipmaster2.qti.qualcomm.com/home2/git/digi-international-inc/qca6564-le-1-0-3_qca_device.git

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-17 19:15:27 +01: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
David Escalona 42856f87aa boot-script: merge 'recovery' and 'boot' scripts into 'boot'
- Instead of using a different boot script when booting from linux
  and from recovery, merge them into one script that checks the
  boot source.

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

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-03-14 18:45:53 +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
Mike Engel 19563821d2 ccim6ul_sbc: Add wireless concurrent as default setup
This commit adds the wireless concurrent mode as a default
configuration to the CC6UL machine.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-3818
2017-03-07 17:20:12 +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 01ee764fcf u-boot-fw-utils: rework patches to fix broken build
Patches added in 'meta-swupdate' (backported from U-Boot) broke our
layer. We also had those patches, so remove them and make sure the
rest or our patches are applied after the ones from 'meta-swupdate'
by using an anonymous python function instead of appending to the
SRC_URI variable.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-06 12:18:37 +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 9701cd9494 morty migration: kernel-module-imx-gpu-viv: refresh patches
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +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
Javier Viguera 0cb35907cd morty migration: meta-digi-arm: update image_types bbclass
* Transfer dependences from base types 'boot' and 'recovery' to the
  actual image types 'boot.vfat', 'boot.ubifs', 'recovery.vfat' and
  'recovery.ubifs' using IMAGE_TYPEDEP variable.

* Now the images are created in a per image recipe deploy directory
  (IMGDEPLOYDIR), so use that instead of the final DEPLOY_DIR_IMAGE.

* Remove manual creation of symbolic links and let Poky create them. For
  this, we need to remove the default 'rootfs' image suffix using the
  imgsuffix variable flag for the corresponding do_image_* functions.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 41b3631934 morty migration: image_types_digi: fix initramfs Trustfence signing
As of Yocto 2.2, the way to generate images has changed. Now the image
fstypes have a basetype and then conversion types that define functions
that apply sequentially.

So implement the TrustFence initramfs sign process as a conversion type
of the base initramfs type (cpio).

This fixes following build issue:

mv: cannot stat ‘dey-image-recovery-initramfs-ccimx6ulstarter-20170220152625.rootfs.cpio.gz.u-boot’

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 989e9585f9 morty migration: u-boot-fw-utils: update package
https://jira.digi.com/browse/DEL-3451

Also backport patch to fix:

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera f778c69b98 morty migration: sync machine config files with meta-freescale
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Javier Viguera dcdab46080 morty migration: meta-digi: update FSL layer name
meta-fsl-arm is no longer used for Morty release. Now the community
support is implemented in 'meta-freescale' layer.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-24 20:06:29 +01:00
Alex Gonzalez 8ff3bdeb0f Merge branch 'dey-2.0/maint' into dey-2.0/master
The SRCREVS for u-boot, linux and trustfence-tool remain as AUTOREV.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-24 18:06:37 +01:00
Alex Gonzalez 42b5bd2c10 meta-digi-arm: firmware-qualcomm: Update board data files.
These new US and world board data files contain new calibration settings
updated with the latest certification results.

md5sums:

bdwlan30_US.bin: f2c414adb682a8cd95e72593fad7fa08
bdwlan30_World.bin: 12e2bae1a871e2a3dfa6ded0ee675c09

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-24 17:57:37 +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
Javier Viguera c8d17d4a93 Merge tag 'dey-2.0-r5.3' 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>
2017-02-15 13:25:35 +01:00
Javier Viguera 6c44621ad8 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-13 12:07:06 +01:00
Javier Viguera 99afac66f4 meta-digi: update revisions for dey-2.0-r5.3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-13 12:05:13 +01:00
Pedro Perez de Heredia e7f590350c kernel-module-qualcomm: fix issue with _scan_callback at module unload
Protect the invocation of the _scan_done() callback function with the
global lock to avoid that it is called while the module is being unloaded
and the data structures have been freed.

Additionally, the commit also adds a patch to reduce the log level of the
driver that is logging some annoying messages.

https://jira.digi.com/browse/DEL-3607
https://jira.digi.com/browse/DEL-3393

Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
2017-02-13 11:59:45 +01:00
Javier Viguera bbc03c5935 trustfence-cst: refresh patches with git
Refresh the patches with GIT so they apply cleanly using "git am".
Otherwise they fail with:

Applying: openssl_helper: use /dev/urandom as seed source
error: corrupt patch at line 16
Patch failed at 0003 openssl_helper: use /dev/urandom as seed source

Applying: hab4_pki_tree.sh: usa a random password for the default PKI generation
warning: keys/hab4_pki_tree.sh has type 100755, expected 100644

Notice that they were not failing in Yocto, as it does not use "git am"
to apply patches, but it's better to have the patches correctly done.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-10 19:37:55 +01:00
Alex Gonzalez 44ae297ea8 meta-digi-arm: firmware-qualcomm: Update board data files.
Use bdf with a -2db gain.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-10 19:00:03 +01:00
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