Commit Graph

1861 Commits

Author SHA1 Message Date
Arturo Buzarra 2d0da1cc55 imx-gpu-g2d: move imx-gpu-g2d out of imx-gpu-viv v6
This commit re-adds the imx-gpu-g2d recipe that was removed
from the imx-gpu-viv v6 driver.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00
Arturo Buzarra 7096238b08 mesa: remove parts provided by imx-gpu-viv v6 for ccimx6qpsbc
This commit adds a platform dependency to remove the parts
provided by the new GPU driver and maintain the compatibility
for other platforms using previous versions.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00
Arturo Buzarra 1fec236192 xf86-video-imxfb-vivante: Upgrade to 6.2.2.p0
https://jira.digi.com/browse/DEL-5234

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00
Arturo Buzarra e6f9137f7c imx-gpu-viv: Upgrade GPU driver to 6.2.2.p0
This commit adds the recipe to update the GPU driver
to the latest version.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:08 +01:00
Jose Diaz de Grenu a8eaa47b85 meta-digi: update support email address
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-10-30 17:02:33 +01:00
Hector Palacios 295bad2bbf ccimx6qpsbc: added device tree for CC6PLUS non-wireless variant
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5229
2017-10-25 19:28:28 +02:00
Hector Palacios 37e4a2f9c3 ccimx6qpsbc: added device tree for board ID=160
ARM: dts: added CC6PLUS id160 device tree

ID160 corresponds to ConnectCore 6 QuadPlus SBC with:
 - i.MX6QP, 1 GHz
 - 4 GB eMMC
 - 2 GB DDR3
 - Microcontroller Assist (MKL14Z32VFT4)
 - 802.11a/b/g/n/ac
 - Bluetooth 4.2
 - Gigabit Ethernet
 - CryptoAuth

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-10-25 10:53:39 +02:00
Hector Palacios 4b986b197c ccimx6ul: sync defconfig
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-10-24 11:41:22 +02:00
Jose Diaz de Grenu bb11717499 linux-dey-4.9: ccimx6qpsbc: sync defconfig
https://jira.digi.com/browse/DEL-5176
https://jira.digi.com/browse/DEL-5219

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-10-20 16:55:29 +02:00
Arturo Buzarra 3a5a92f542 kernel-module-imx-gpu-viv: update to recipe v6.2.2.p0
This commit adds the recipe to update the Vivante GPU
driver to the latest version and refresh patches.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-19 14:07:57 +02:00
Sebastian Pastor 9e00f02456 modemmanager: split udev rules for XBee Cellular
The XBee Cellular modem is expected to be at ttymxc1 on CC6UL and
at ttymxc4 on CC6. The changes are needed because in v4.9.11 kernel
the /sys/devices entry for CC6UL and CC6 are the same for the TTYs,
causing that on CC6UL ModemManager was also searching for modems on
ttymxc4.

Signed-off-by: Sebastian Pastor <sebastian.pastor@digi.com>
https://jira.digi.com/browse/DEL-5163
2017-10-18 14:21:13 +02:00
Arturo Buzarra e37138ac85 linux-dey: add support for ccimx6qpsbc to kernel v4.9
This commit adds the defconfig for the platform ccimx6qpsbc
to the kernel v4.9 and modifies the recipe.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 12:10:22 +02:00
Arturo Buzarra 5200bfc1b8 cryptoauthlib: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 11:58:20 +02:00
Arturo Buzarra d305a5dcc8 aws-iot-sdk: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra 8c14ae877f meta-digi recipes: adjust machine overrides for new platform
This commit modifies different recipes to support the new platform
ccimx6qpsbc and adapt it to maintain the support to ccimx6sbc.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra f36e8a94a1 hostapd: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra f1b47c1111 busybox: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra 3df334690f wpa-supplicant: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra 553337afc3 init-ifupdown: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra f1dd256c5b bluez5: add support for ccimx6qpsbc platform
https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra 1a3f22c9e4 u-boot-dey: add support for ccimx6qpsbc platform
This commit includes ccimx6qpsbc platform in the recipe and adds
U-Boot scripts for deploying and booting the system.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra 8e6ce42528 meta-digi-arm: add support for ccimx6qpsbc platform
Add initial support for Digi's ConnectCore 6 QuadPlus SBC.
The ccimx6qp platform has the QCA6564 chip instead of the
other Atheros chips and included the Atmel ECC508A cryptographic
chip.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Arturo Buzarra 957e8623a5 sysinfo: fix IOEXP and MCA kernel nodes
This commit modifies sysinfo tool to use the kernel symlinks for
the devices instead of using the full node path and maintain
compatibility with different kernel versions.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-17 14:03:21 +02:00
Arturo Buzarra 62588b9f3d linux-dey: add recipe for version 4.9
At the moment it only suppports ccimx6ul.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-16 18:01:21 +02:00
Arturo Buzarra df7225abfe pointercal-xinput: remove support for ccardimx28
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-16 18:01:21 +02:00
Isaac Hermida 16a99ac65c bluez5: update gatt server example to master version
https://jira.digi.com/browse/DEL-5023

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2017-10-16 13:00:34 +02:00
Isaac Hermida d434043447 bluez5: start bluetooth daemon with experimental flag
The experimental flag is needed to run the GATT server application.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2017-10-13 17:47:24 +02:00
Francisco Gil Martinez b06513e402 libdigiapix: add Digi APIX examples recipe
These examples show how to use the Digi APIX.

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

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2017-10-13 10:41:50 +02:00
Mike Engel b56c4ecc65 libdigiapix: Add platform board files
This commit adds the some platform board files and removes
the symbolic link to libsoc.conf

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

https://jira.digi.com/browse/DEL-5096
2017-10-10 14:09:06 +02:00
Mike Engel bba0c0d795 libsoc: Remove platform board.conf files
This commit removes the platform board.conf files from
libsoc.

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

https://jira.digi.com/browse/DEL-5096
2017-10-10 13:15:51 +02:00
Jose Diaz de Grenu 0e5ff61a79 cryptodev: fix compilation error for kernel v4.9
The patch is needed to match the API kernel changes. This fixes:

zc.c:68:44: error: passing argument 7 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
     (unsigned long)addr, pgcount, write, 0, pg, NULL);
                                             ^~
In file included from zc.c:28:0:
  kernel-source/include/linux/mm.h:1276:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
    long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
         ^~~~~~~~~~~~~~~~~~~~~
  zc.c:63:8: error: too many arguments to function 'get_user_pages_remote'
   ret = get_user_pages_remote(
         ^~~~~~~~~~~~~~~~~~~~~
 In file included from zc.c:28:0:
 kernel-source/include/linux/mm.h:1276:6: note: declared here
   long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
        ^~~~~~~~~~~~~~~~~~~~~
 cc1: some warnings being treated as errors

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-10-10 12:51:32 +02:00
Mike Engel a5cfaa921d cellular: Enable IPV6 support.
This commit enables the IPV6 support that is necessary for the
XBee Cellular LTE Cat1 modem.

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

https://jira.digi.com/browse/DEL-4839
2017-10-04 15:48:16 +02:00
Tatiana Leon 7d2a07cf2f dey-image: create an sdk/toolchain dey version file with params to identify it
This commit creates a new file called 'dey-version-${REAL_MULTIMACH_TARGET_SYS}'
(for example, 'dey-version-cortexa7hf-neon-dey-linux-gnueabi') at the same level
as 'version-${REAL_MULTIMACH_TARGET_SYS}',
'site-config-${REAL_MULTIMACH_TARGET_SYS}', and
'environment-setup-${REAL_MULTIMACH_TARGET_SYS}' files.

The file contains the following parameters:
   * Machine. The name of the platform the toolchain was built for (ccimx6sbc,
     ccimx6ulsbc, ccimx6ulstarter).
   * Version: A versioning system for the generated toolchains. Currently is the
     distro version followed by the timestamp on which the current build started.
   * Image: The name of the image that triggered the population of the SDK
     (core-image-base, dey-image-aws, dey-image-qt-${GRAPHICAL_BACKEND})

The purpose of the 'dey-version-*' file is to be parsed by Eclipse so toolchains
can be autodetected.

This file is packaged with the rest of SDK/toolchain resources ('version-*',
'site-config-*', and 'environment-setup-*' files, and 'sysroots' directory)
when creating the SDK tarball and later the installation script.

The 'dey-version-*' file could also be created in a 'meta-environment.bbappend'
appending to the 'create_sdk_files()'. But from this recipe there is no access
to the name of the image that triggers the creation of the SDK (core-image-base,
dey-image-aws, dey-image-qt, etc.).

Currently, we are redefining 'SDK_POSTPROCESS_COMMAND' (from
'poky/meta/classes/populate_sdk_base.bbclass') to insert the generation of the
'dey-version-*' file just before creating the SDK tarball.

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-10-03 15:18:52 +02:00
Francisco Gil 74b734f095 meta-digi-arm: firmware-atheros: update binary.
CC6 PS_ASIC_class_1.pst MD5SUM be8766069eed652449682d9006dd6ecd

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2017-09-29 14:05:05 +02:00
Javier Viguera bfdd5e5bfe dnsmasq: configure package to be used by NetworkManager
NM launches 'dnsmasq' using DBus, so enable DBus support at compile
time. Also remove the symlinks in the different runlevels, so it's not
launched by the included bootscript.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-27 13:31:16 +02:00
Javier Viguera 84b38d75b1 networkmanager: enable the use of 'dnsmasq' server
This is needed in the context of network failover, so when one physical
interface is lost, you can still resolve the connectivity-check URL
using the local DNS cache.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-27 13:31:16 +02:00
Javier Viguera 9aa7c620aa Revert "networkmanager: connectivity check: set interface for DNS resolution"
The implemented patch fails when NetworkManager uses a local DNS cache
underneath (like 'dnsmasq'). To access the local DNS cache it needs to
use the loopback interface and hardcoding the physical interfaces make
the connectivity check fail.

This reverts commit c9b02d6288.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-27 13:31:16 +02:00
fgilmar f68af9bda6 README: add supported digi APIX
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2017-09-27 09:47:13 +02:00
Arturo Buzarra ad5e9aa66a meta-digi-arm: firmware-qualcomm: Update QCA binary
Update to tag r110059.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-4993

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-09-27 08:46:12 +02:00
Alex Gonzalez 673f2553bd README: Add installation instructions
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-09-26 17:07:01 +02:00
Hector Palacios c9e81ed4ec mca_tool: update checksums for build 1.11
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-09-25 18:21:51 +02:00
Javier Viguera c9b02d6288 networkmanager: connectivity check: set interface for DNS resolution
Use the same interface that it's being checked for the DNS resolution.

This makes connectivity check work in an scenario where the primary
interface has lost connectivity (for example ethernet) but you still
have connectivity through a secondary interface (e.g. wireless).

What happens in that case is that even though you have correct
connectivity in the secondary interface the check fails because it does
not use that secondary interface to resolve the name of the test URL.
The result is that the connectivity check assumes that this secondary
interface is also failing and it penalizes the metrics in the routing
table.

This commit uses libcurl's CURLOPT_DNS_INTERFACE to set the DNS
interface. Notice that this requires 'libcurl' to be compiled with
'--enable-ares'.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-20 12:07:45 +02:00
Javier Viguera f64a59ba25 curl: enable 'ares' build time option
This is required to use '--dns-interface' runtime parameter to instruct
'curl' to use a specific interface for DNS resolution.

We need this in the context of the network failover support, where
NetworkManager does the connectivity check, by trying to connect to a
configured URL through the different interfaces available, and for this
check it uses 'libcurl' underneath.

If you try to use this functionality without this build time option
enabled, you get:

curl: (4) A requested feature, protocol or option was not found built-in
in this libcurl due to a build-time decision.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-20 12:07:45 +02:00
David Escalona 4320f0574f libsoc: update board configuration files to fix SPI definitions
Signed-off-by: David Escalona <david.escalona@digi.com>
2017-09-15 17:25:33 +02:00
David Escalona c3459a0fdc libsoc: update board configuration files to fix pwm definitions
Signed-off-by: David Escalona <david.escalona@digi.com>
2017-09-07 17:36:36 +02:00
Tatiana Leon 1f7920f7de meta-digi-dey: add libdigiapix package
This is the Digi APIX library.

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-09-06 11:01:26 +02:00
Tatiana Leon ef46270207 libdigiapix: add Digi APIX library recipe
This library will provide a common API to access Digi hardware interfaces and/or
other features.

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-09-06 11:01:26 +02:00
Jose Diaz de Grenu 7ef80dd7ad hostapd: generate unique SSID for SoftAP
If two or more targets are in the same environment, all of them will
broadcast the same SSID, which may be a problem when a client wants
to connect to a specific device.

Use the last bytes of the non-virtual wireless MAC for the name of the
SSID, a random value with no hexadecimal characters is used if the MAC
is not available.
Also drop 'wpa2aes' from the SSID.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-09-05 16:37:54 +02:00
David Escalona 1daf4d91d4 libsoc: extend libsoc recipe with configuration params and custom board files
https://jira.digi.com/browse/DEL-4816

Signed-off-by: David Escalona <david.escalona@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-05 14:18:26 +02:00
Javier Viguera 3f8c5bea06 libsoc: add generic recipe to build from GIT
Also configure DEY to build the GIT version of libsoc.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-05 14:18:26 +02:00