Commit Graph

407 Commits

Author SHA1 Message Date
Mike Engel 58c5fe96c8 networkmanager: add unmanaged devices to NetworkManager config file
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-07-07 17:02:45 +02:00
Mike Engel 308cb251d3 wpa-supplicant: enable control socket interface when executed by D-Bus
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera 3834dd5065 networkmanager: disable IPv6 by default from connections
It's giving a periodic failure in the log file:

nm-lndp-rdisc.c:68] send_rs(): (wlan0): cannot send router solicitation: -101.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera d72c3019b9 networkmanager: disable features that depend on X11 library
So the package can be compiled in a non-X11 graphical system.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera fbc6b188f5 networkmanager: implement cellular configuration
https://jira.digi.com/browse/DEL-4289

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera e700b4d0c3 networkmanager: implement wireless configuration
https://jira.digi.com/browse/DEL-4289

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera 09b7d4f2b1 networkmanager: implement ethernet configuration
https://jira.digi.com/browse/DEL-4289

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera bb7202b413 networkmanager: add boot script and config file
https://jira.digi.com/browse/DEL-4289

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera 4c7829c239 networkmanager: configure compile time PACKAGECONFIG options
* Disabled: dnsmasq and netconfig
* Enabled: cellular related options and connectivity check

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-07 17:02:45 +02:00
Javier Viguera 57365612da bluetooth-init: cosmetic, boot message in one line
Avoid splitting the boot script message in two different lines:

Starting bluetooth hardware: [OK]
done.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-05-23 12:06:34 +02:00
Javier Viguera f8c2888529 wpa_supplicant: add missing leading space for 'append' command
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-05-22 09:40:02 +02:00
Diaz de Grenu, Jose b9d6f4406a modemmanager: rework udev rules for cellular XBee
After 0e7f5d3a47 both platforms probe both ports,
which is problematic (for example, ttymxc4 is the console in the 6UL based
platforms).

Use more concrete rules to avoid that problem.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-05-17 13:18:54 +02:00
Diaz de Grenu, Jose 0e7f5d3a47 modemmanager: generalize udev rules for XBee cellular
After the kernel update (v3.14 to v4.1) the sysfs path changed from:

/devices/soc0/soc.0/2100000.aips-bus/21f4000.serial/tty/ttymxc4

to:

/devices/soc0/soc/2100000.aips-bus/21f4000.serial/tty/ttymxc4

which caused the XBee Cellular not to be detected on the new kernel. These more
general rules are compatible with both kernels.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-05-16 13:26:48 +02:00
Tatiana Leon b1d3b02cd9 meta-digi-dey: add mbedtls recipe
mbedTLS is an open source, portable, easy to use, readable and flexible SSL
library.

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-11 19:10:10 +02:00
Salvador Penalva a2063b11a3 modemmanager: update to fix QMI bug and add Ublox patches for XBee
QMI modems didn't work with the version of
modemmanager that the dey-2.2-r1 release was
using.

We were using two patches for uBlox plugin to use XBee Cellular 3G
that are now merged in modemmanager master.

This updates modemmanager to use the commit where QMI
problem was fixed and also include uBlox patches.

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

Signed-off-by: Salvador Penalva <salvador.penalva@digi.com>
2017-05-11 09:55:41 +02:00
Javier Viguera c1762b40f5 modemmanager: add support for u-blox based XBee Cellular
Add patch to MM, so it detects the U-Blox modem connected to the XBee
socket.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-05-04 17:24:25 +02:00
Javier Viguera 3fa939fdc3 Merge tag 'dey-2.2-r1.4' into dey-2.2/master
Tweaked to maintain some recipes' revisions to AUTOREV instead of the
fixed SHA1s from the tag.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-05-04 13:58:33 +02:00
Javier Viguera b1f2b85197 modemmanager: delay the launch of MM for XBee Cellular
The XBee Cellular needs more time to settle down before MM is able to
detect it on boot. As this is connected to one of the 'ttymxc' serial
ports, use that port to conditionally delay the launch of MM.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-27 19:09:15 +02:00
Javier Viguera 7554f05b5f Revert "modemmanager: add more retries for port AT probing"
Adding more retries to the port AT probing has an impact in modems not
using serial drivers (for example using qmi, mbim). It takes longer for
MM to detect those modems and then user space gives up waiting for the
modems to be available.

This reverts commit 682d77e414.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-27 19:09:15 +02:00
Alex Gonzalez d776c9c282 meta-digi-dey: bluez5-5.41: ccimx6ul: Rewrite bluetooth-init
The following changes have been made to the bluetooth-init script:

* Remove "hciconfig hci0 up/down" and this is now deprecated and likely
to fail. We use the AutoEnable feature of bluetoothd for this now.
* Move setting the MAC address to hciattach instead of using hcitool.
* Remove resets performed by hcitool and hciconfig. The hciattach
application already performs a reset and that should suffice.
* Remove hciattach retries.

https://jira.digi.com/browse/DEL-3711
https://jira.digi.com/browse/DEL-3436
https://jira.digi.com/browse/DEL-3636
https://jira.digi.com/browse/DEL-3955

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-04-20 17:37:55 +02:00
Alex Gonzalez ae8e695cf7 meta-digi-dey: bluez5-5.41: ccim6ul: Modify hciattach
This commits adds patches to hciattach for the following:

* Strict flow control setting

  The hciattach application has a flow | noflow command line argument that is
  currently only applied on the first configuration of the uart port. The
  hciattach_rome plugin ignores this setting and assumes hardware flow
  control is always supported. This commits makes hciattach obey the user flow
  control indication.

* Modify hciattach_rome to set MAC address. The MAC address setting
  feature in the rome plugin now works with the command line specified
  MAC.

* Reduce verbosity. hciattach now accepts a "-v" verbose flag. By
  default verbose output it omitted.

https://jira.digi.com/browse/DEL-3711
https://jira.digi.com/browse/DEL-3436
https://jira.digi.com/browse/DEL-3636
https://jira.digi.com/browse/DEL-3955

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-04-20 17:37:49 +02:00
Alex Gonzalez 3ab6c6caa5 meta-digi-dey: Add bluetooth main configuration files
Configure bluetoothd to enable the controller automatically.

https://jira.digi.com/browse/DEL-3711
https://jira.digi.com/browse/DEL-3436
https://jira.digi.com/browse/DEL-3636
https://jira.digi.com/browse/DEL-3955

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-04-20 17:37:43 +02:00
Javier Viguera b56bdf126c modemmanager: add B230400 and B921600 missing baudrates
So they can be used by MM to open the serial port (configured via udev
tags).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-20 13:56:52 +02:00
Javier Viguera 682d77e414 modemmanager: add more retries for port AT probing
Launching the MM on target's boot fails to detect the XBee cellular
because this needs more time to complete the initialization. So add some
more retries for the AT port probing to allow the XBee cellular to be
detected.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-20 13:56:52 +02:00
Javier Viguera 68df122989 modemmanager: enable log file
Instead of redirecting the MM logging to '/dev/null' use a file, so we
can see what's going on in case of failure.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-20 13:56:52 +02:00
Javier Viguera 3de76b2eae modemmanager: update revision to get flow control patches from repo
The flow control patches have been merged to the master branch, so
update the revision to remove those patches from our layer.

This reverts commit a7c51af5b8.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-20 13:56:52 +02:00
Javier Viguera a7c51af5b8 modemmanager: add flow control patch series
https://jira.digi.com/browse/DEL-3841

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-07 19:45:27 +02:00
Javier Viguera f67e7e949b modemmanager: add udev rules for XBee cellular
These rules are needed so the modem is detected.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-07 19:45:27 +02:00
Javier Viguera a774da80be modemmanager: new recipe to build from git repository
The XBee cellular support is at the moment only in modemmanager's git
repository (master branch).

Also remove one Telit patch from the bbappend because it's already
included in the git repo.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-07 19:45:27 +02:00
Javier Viguera ad122d2605 libqmi: new recipe for version 1.18.0
This version of libqmi is needed for newer versions of ModemManager.

Remove bbappend and patch to previous version as the patch is now
included in the new version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-04-07 19:45:27 +02:00
Hector Palacios 505eb19aa4 hostapd: let start-stop-daemon create PID and background process
The current script cannot launch the hostapd twice (for dual HostAP mode)
because start-stop-daemon finds an already existing PID for hostapd after
running the first instance.

The solution is:
 - Do not launch the hostapd in background (so that it does not fork the
   process, which assigns a different PID)
 - Use -b option of start-stop-daemon so that it launches the daemon in
   the background.
 - Let start-stop-daemon create the PID (since the hostapd will not fork
   now this PID will match the hostapd process, allowing to kill it later)

This solution also hides the hostapd log messages that appeared before.

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

https://jira.digi.com/browse/DEL-4045
2017-04-07 12:28:14 +02:00
Hector Palacios 2dcf33b283 hostapd: parametrize hostapd init script per interface
The original init script hardcodes the configuration file to use so it
cannot be re-utilized for concurrent AP/AP mode where two interfaces can
be used as SoftAP.

This commit uses the variable ${IFACE} to:
- select a specific configuration file per interface:
  /etc/hostapd_${IFACE}.conf
- create a specific PID file per interface:
  /var/run/hostapd.${IFACE}.pid

With this, the /etc/network/interfaces can use the script for using SoftAP
in different wireless interfaces.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-04-05 18:15:27 +02:00
David Escalona 5a2b538bcd bluetooth-init: force hardware-init script to be executed first
- The Bluetooth daemon was always executed before setting up the
  hardware, generating several problems specifically in the CCIMX6SBC.
  This was causing the Bluetooth driver to override the Bluetooth name
  and alias, as well as avoiding any host function on Bluetooth profiles.
  Only pairing and ping was working, as well as client profile sides.
- This change also fixes some issues in the CCIMX6UL platforms with the
  Bluetooth daemon failing to perform several bluetoothctl operations.

https://jira.digi.com/browse/DEL-4000
https://jira.digi.com/browse/DEL-4015

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-03-30 18:02:13 +02:00
Salvador Penalva 1e2ee0589f meta-digi-dey: support for old FWs of Telit HE910
The unlock retries feature from the Telit plugin does not work properly with
old versions of the Telit HE910 firmware. This has been fixed in upstream
commit: fbb607f0c25be3a4bb8692ee48445cf437345b6c

Signed-off-by: Salvador Penalva <salvador.penalva@digi.com>

https://jira.digi.com/browse/DEL-3863
2017-03-20 19:37:54 +01:00
Salvador Penalva 65a17c522c Revert "meta-digi-dey: Add fix to return correct error code."
This reverts commit 3123085e72.

we revert this commit because the patch was already applied on mm-1.6.4

Signed-off-by: Salvador Penalva <salvador.penalva@digi.com>
2017-03-20 19:37:54 +01:00
Tatiana Leon 5888479c75 cellularifupdown: redirect udhcpc output to '/dev/null'
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-20 14:47:21 +01:00
Alex Gonzalez 7ee00c1ae8 meta-digi-dey: recipes-connectivity: bluez5: Allow to override baudrate
Reviewing the patches while updating the QCA firmware to a new release,
I encountered this patch. On the original PR it says:

"Do not use hcitattach to reconfigure the baudrate but set it directly in the
Bluetooth FW file; this save us from some syncronism problems if we are not
using HW flow control."

Current spins of the module already use hw flow control. Also, not allowing
hciattach to override the baudrate does not seem right to me. It would be
enough with passing a 3M baudrate to hciattach to match the firmware
default.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-03-17 19:15:27 +01:00
Mike Engel 3123085e72 meta-digi-dey: Add fix to return correct error code.
This commit fixes an issue with ModemManager to return the correct
error code when an invalid QMI command is send to the modem.

There are two ways to get the UIM/SIM status, one with the "DMS"
service that works on most devices from 2015 and earlier, and a
new way with the "UIM" service that works on many 2015+ devices.
Perhaps the EC21 is new enough that it requires the UIM service,
but ModemManager doesn't recognize the error code that it's returning.
There are two ways to get the UIM/SIM status, one with the "DMS"
service that works on most devices from 2015 and earlier, and a
new way with the "UIM" service that works on many 2015+ devices.
Perhaps the EC21 is new enough that it requires the UIM service,
but ModemManager doesn't recognize the error code that it's returning.

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

https://jira.digi.com/browse/DEL-3748
2017-03-16 12:55:19 +01:00
Mike Engel a48e66c618 meta-digi-dey: Added libqmi patch to DMS version miss match.
This commit fixes an issue with the Quectel EC21/EC25 due to a wrong
reported DMS version which will cause ModemManager not to read the
SIM card.

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

https://jira.digi.com/browse/DEL-3748
2017-03-16 12:55:19 +01:00
Javier Viguera 33073a1589 meta-digi-dey: enhance BT interface initialization script
Implement:

* support to start, stop and restart interface
* states machine and retries system to recover from command failures
* overall simplification and code clean-up

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-15 19:01:06 +01:00
Javier Viguera 54bf7a0059 meta-digi-dey: fix bluetooth interface initialization
With the upgrade to Morty, there is a new bootscript that is provided
by Poky. This bootscript is just launching the generic bluetooth daemon,
but it's not doing any hardware initialization.

The fix is to split the hardware initialization to a different
bootscript 'bluetooth-init' and launch it also on boot.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-13 11:20:13 +01:00
Mike Engel f8237f6c7a meta-digi-dey: add libmbim runtime dependency
If you try to use libmbim (the API is used at least by mbim-network,
mbimcli and ModemManager applications) you get the following error:

 ModemManager: Error converting string: Conversion from character
 set 'utf-8' to 'utf-16le' is not supported

In order to solve this we need to integrate glibc gconv UTF16le library
in the build (and its dependencies).

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

https://jira.digi.com/browse/DEL-3830
2017-03-10 16:24:45 +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
Alex Gonzalez fe21367ccf meta-digi-dey: hostapd: clean configuration file
There is now a WLAN user guide with configuration examples so there is
no need to pollute the default file with comments.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-06 17:37:17 +01:00
Javier Viguera f785012063 morty migration: remove libqmi recipe
There is a new version in 'meta-openembedded/meta-oe'

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 a3f2fb8fab morty migration: modemmanager: update package
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 187ee9bdcd morty migration: packagegroups: remove explicit LICENSE variable
The LICENSE is added through the packagegroup bbclass and the checksums
were outdated making the build fail with:

The LIC_FILES_CHKSUM does not match for poky/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58

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 43877673d9 morty migration: bluez5: update package
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 b42756ee06 morty migration: crda: remove bbappend
The wireless regulatory database has been moved to its own recipe, so
the update cannot be done bbappending this recipe.

This reverts commit 8e69db8ac5.

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 c250365797 morty migration: hostapd: update package
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Alex Gonzalez 8d716dd0e0 meta-digi-dey: wpa-supplicant: Add commented out sched_scan_interval.
This parameter allows to set the time interval for scheduled scans in
seconds. This is usually managed by the wpa-supplicant dynamically, but
for example with DFS channels and non broadcasting SSIDs re-associations
take too long if the periodic scans time interval is not reduced.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-02-13 11:15:18 +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
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 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
Isaac Hermida 8e69db8ac5 recipes-connectivity: crda: update wireless regulatory DDBB to 2016-06-10
https://jira.digi.com/browse/DEL-3010

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-09-09 15:33:06 +02:00
Isaac Hermida 2cad47099d recipes-connectivity: hostapd-2.4: add defconfig with custom setup
Copy of the original defconfig in hostapd-2.4 and enabling next options:
    - CONFIG_LIBNL32
    - CONFIG_EAP_PSK
    - CONFIG_EAP_PWD
    - CONFIG_WPS
    - CONFIG_WPS_NFC
    - CONFIG_RADIUS_SERVER
    - CONFIG_IEEE80211N
    - CONFIG_IEEE80211AC
    - CONFIG_DEBUG_FILE

This means that the hostapd binary will have support for that features, but it
does not imply that the wireless chip does support it.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-09-01 14:27:22 +02:00
Isaac Hermida c164c462f1 recipes-connectivity: hostapd-2.4: removing machine dependency
The current applied patch is a backport of hostapd-2.5 so it is not any
machine dependency.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-09-01 09:27:32 +02:00
Javier Viguera ab5f50e16a meta-digi: trailing whitespace cleanup
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-08-31 13:52:15 +02:00
Isaac Hermida 51415b9e12 meta-digi: dey-wireless: add hostapd to the list of packages for ccimx6ul
https://jira.digi.com/browse/DEL-2913

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-08-25 18:42:56 +02:00
Isaac Hermida 5444d3e8f8 recipes-connectivity: add hostapd functionality
Do not autostart hostapd daemon on boot because because it will conflict with
wpa-supplicant process and add a custom hostapd.conf file with WPA2-AES
encryption.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-08-25 18:42:56 +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
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 04c3220bd9 hostapd-2.4: add support to compile hostapd for ccimx6ul
https://jira.digi.com/browse/DEL-2654

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-05 15:52:38 +02:00
Isaac Hermida 36e3a2c6c3 bluez5-init; redirect bluetooth daemon messages to a log file
https://jira.digi.com/browse/DEL-2632

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-30 10:06:03 +02:00
Isaac Hermida 552f9a4567 meta-digi: dey-wireless: add iw to the list of wireless packages
Add iw to the list of packages to be installed regardless the platform.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-24 16:06:49 +02:00
Isaac Hermida 32ae76e1cf bluez5-init: rename the CTS gpio name and make the code more robust
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-23 15:49:16 +02:00
Isaac Hermida a6d0a1d139 bluez5-init: reset bluetooth qualcomm chip before initialization
The power regulator connected to the qca6554 chip is always on, which causes
the Bluetooth part to not work correctly after a software-reset.
This commit asserts momentarily the BT_EN line during the start-up sequence
to reset the Bluetooth controller so that it is in a predictable state after a
reset.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-23 15:48:43 +02:00
Javier Viguera 1e16f6af66 meta-digi: global replace base_contains function
This function is deprecated in favor of bb.utils.contains. The same
change has been done in other layers.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-06-21 11:15:28 +02:00
Isaac Hermida 5308fad8bc bluez5-init: add support to set qca6564 mac address
The steps to set the bluetooth MAC address is send an specific hci command
and an hci reset, so the bluetooth interface need to be up in order to
configure it.
Additionally we have generalized the way to read the MAC address from the
device tree and removed some old code for getting the MAC address in
kernel version 2.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida 756ba7b8cf bluez5-init: disable the HW flow control for qca6564
Add a software workaround to disable the HW flow control because the SOM
revision 3 (and older) has swapped the bluetooth TX and RX lines so we need
to operate in DTE mode which implies that the HW control lines are swapped.
This also implies reducing the baudrate to avoid the need for HW flow control.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida 9765192fbd bluez5-init: add support for qca6564
Add initial support for the qca6564 chip.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-17 10:05:27 +02:00
Isaac Hermida 325c3b9da9 bluez5: add support for qca6564 bluetooth chip
Port the bluez5 qca6564 support based on 5.19 to the current version 5.33.
The ported version is based on qualcomm tag r110048.3.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-05-31 08:20:51 +02:00
Javier Viguera 2a8e1d7002 openssl: update cryptodev engine implementation
As of Yocto 2.0, the cryptodev module used as interface between
user-space and hardware encryption is the version 1.7.

According to that cryptodev's version documentation, the cryptodev
engine in openssh is outdated:

https://github.com/cryptodev-linux/cryptodev-linux/blob/cryptodev-linux-1.7/README

They provide an URL with two patches to update openssl. This commit
forward port those patches to the Openssl version used in this version
of Yocto.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 16:10:36 +02:00
Javier Viguera d7b18512dc packagegroup-dey-bluetooth: add bluez5-obex package
This install the 'obexd' server which is needed for the QT5 bluetooth
file transfer example applications.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-25 16:17:53 +01:00
Hector Palacios ee27c907d1 bluez-init: skip BT power GPIO toggling if undefined
The script toggles the BT power GPIO regardless of the value being
undefined.
Check that the GPIO is defined before trying to toggle it.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2015-12-28 17:08:18 +01:00
Hector Palacios 84e152f1ca bluez-init: get BT power GPIO basing on compatible module
The BT power GPIOgpio was determined basing on machine name on device tree.
This corresponds to the name of the board, and might be changed by a user
that designs his own carrier board to use the module on.
Besides, the BT power GPIO is a pin that's routed on the module (both on
the ConnectCore 6 and on the ConnectCard for i.MX28) not on the carrier
board.

This commit determines the BT power GPIO basing on the module string inside
the 'compatible' property. This must exactly match the module name and is
a required property for using Digi module's BSP.

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

https://jira.digi.com/browse/DEL-2109
2015-12-28 17:08:18 +01:00
Javier Viguera 35108d2c32 modemmanager: add intltool-native dependency
The autotools class is trying to execute:

intltoolize --copy --force --automake

so there is a intltool-native dependency.

Fix:
  run.do_configure: intltoolize: not found
  ERROR: Function failed: do_configure

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-03 14:06:58 +01:00
Urko Nalda b64908b88e meta-digi-dey: modify where gatttool is installed from in bluez5
Add BLUEZ5_NOINST_TOOLS to bluetooth packagegroup. Gatttool is
added to BLUEZ5_NOINST_TOOLS in bluez5.inc so it is not necessary
to add gatttooll to do_install_append function.

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-01 09:29:46 +01:00
Urko Nalda a8c4447358 meta-digi-dey: add experimental flag to bluez5 recipe
Add support for bluez5 profiles under experimental flag.
Health Device Profile is an experimental profile.

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

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-01 09:29:46 +01:00
Hector Palacios a10e2a774a bluetooth: bring interface up before launching bluetoothd
If the bluetoothd daemon is launched before the interface is ready
RFCOMM/L2CAP listening socket connections fail (apparently because
the channel is not ready) with BlueZ 5.

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

https://jira.digi.com/browse/DEL-2042
2015-11-30 11:57:34 +01:00
Jose Diaz de Grenu de Pedro 99f55af6d4 meta-digi-dey: add 'cellular' distro feature
Use cellular distro feature to install or not cellular related packages
in our rootfs images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:49:15 +01:00
Jose Diaz de Grenu de Pedro 75dd8c6cf3 ppp: add pppd config file for cellular devices
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:48:50 +01:00
Jose Diaz de Grenu de Pedro db1f1de590 meta-digi-dey: add modemmanager package
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:48:28 +01:00
Jose Diaz de Grenu de Pedro 42e0973f77 meta-digi-dey: add libqmi package
This is needed by modemmanager to support cellular devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:48:10 +01:00
Isaac Hermida be39d77093 bluez4: Added support for bluez4
yocto-2.0 (jethro) does not support bluez4 by default, it has been set
deprecated, but there is some functionality that does not work with bluez5
like bluetooth audio with alsa and some previous scripts like hdp.py are not
API compatible.
In order to compile a project with bluez4, just remove bluez5 from distro
features from your local.conf project.

	DISTRO_FEATURES_remove = "bluez5"

https://jira.digi.com/browse/DEL-1943
https://jira.digi.com/browse/DEL-995

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 3b3a8effa6 packagegroup-dey-bluetooth: Do not include btfilter support by default
Do not include the btfilter support in the default images. Its support is
not required for bluetooth functionality.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 2767f5be7c recipes-connectivity: Splited bluez and btfilter support in two different init scripts
btfilter (abtfilt) and bluetoothd are two independent services. Break the
relationship between them and split the support in independent init scripts

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 599627f214 bluez-init: check on the device tree if the variant has bluetooth
The script was basing on the variant coded in the HWID to determine
if the variant had bluetooth, by comparing to an array of hard-coded variants.
This required the script to be updated with every new variant that supported
Bluetooth.
The patch checks instead if the node 'bluetooth' exists at all in the device tree
to determine if the variant supports Bluetooth.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 52b4cfe35c recipes-connectivity: moved bluez-init script to bluez recipe
We want to unlink the script from abtfilt application, so moved to a different
recipe (that includes hciattach).

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 0d5ab74c15 btfilter: bluez-init: Start bluetoothd daemon as service
blueoothd does not longer daemonize. It needs to be start-stop as a service

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
Isaac Hermida 15395448d5 bluez5: Adding gatttool to rootfs
gatttool is used for BLE. By default it is not installed.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
Javier Viguera 9dbc427651 meta-digi-dey: Add support for bluez5
https://jira.digi.com/browse/DEL-1941

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
Isaac Hermida 170a434f21 btfilter: Makefile: add -fgnu89-inline flag for gcc5
The problem is the change of the default C standard from gnu89 to gnu11
which changes the semantics of 'inline'. The issue is described in the
porting guide at https://gcc.gnu.org/gcc-5/porting_to.html.

Fix based on u-boot's commit dfc9c24

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:10 +01:00
Javier Viguera 59cc4b79c7 meta-digi-dey: update Digi logo used by webservers
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-06 16:20:35 +01:00
Javier Viguera 36f22aaf95 meta-digi-dey: update wpa_supplicant to 2.4
Used in Yocto 2.0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:35 +01:00
Javier Viguera d35ac42dd0 meta-digi: remove support for MX5X platforms
ccimx51js and ccimx53js are not supported in this version of DEY.
Support for those platforms is in previous versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 13:56:38 +01:00
Alex Gonzalez 71cc373ebc meta-digi-arm: Remove the ath-prop-tools package.
This is an atheros proprietary package that contains the athtestcmd and
wmiconfig applications.

Neither of them are currently used.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-21 13:33:10 +02:00
Javier Viguera afd194568f meta-digi: move WIRELESS_MODULE to machine config files
Which wireless module to use belongs more to the machine config files in
the BSP layer, than to the generic wireless packagegroup.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-15 18:01:15 +02:00
Javier Viguera 66853e465f meta-digi: disable atheros kernel module for ccimx6sbc
The external kernel module does not build with linux 3.14, and we want
to test the upstream driver included in the kernel tree.

So for the moment disable the external kernel module, to allow start
building images in the buildserver.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-07 15:59:40 +02:00
Alex Gonzalez ff946261ef meta-digi-dey: btfilter: ccimx6: Add variants 0x11/0x12 as bluetooth enabled.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-14 15:07:03 +02:00
Alex Gonzalez 269e7644cb packagegroup-dey-bluetooth: Add alsa bluez plugin for bluetooth audio support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:45 +02:00
Alex Gonzalez df93676695 bluez4: Configure bluetooth audio.
Add the following lines to add support for the HSP/HFP and A2DP profiles,
and to route the audio through the HCI SCO channel:

	Enable=Source,Sink,Headset,Gateway,Control,Socket,Media
	SCORouting=HCI

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:40 +02:00
Javier Viguera 43bd3f4e4e meta-digi: use recommended BP and BPN variables for FILESEXTRAPATHS
Also move files from generic 'files' folders to a more specific '${BP}'
or '${BPN}' folders. This is recommended to speed up the fetch of files
from the local machine, as the search is done in a certain order: ${BP},
${BPN}, and 'files'.

More info:
http://thread.gmane.org/gmane.linux.embedded.yocto.general/23550/focus=23576

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:12 +01:00
Javier Viguera 6c3e81825c meta-digi: remove deprecated PR from recipes
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 60ff626ed5 meta-digi-dey: update wpa_supplicant to 2.3
Remove the patch because it's now included in wpa_supplicant v2.3

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:43:51 +01:00
Hector Palacios b482e2201d btfilter: bluez-init: add support for ccardimx28 variant 0x12
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-1556
(cherry picked from commit cdea8187fe4e7f3e0359919cef057b379362730a)

Conflicts:
	meta-digi-dey/recipes-connectivity/btfilter/files/bluez-init
2015-03-03 12:48:55 +01:00
Javier Viguera cac6566d3b meta-digi: rename DIGI_MIRROR to DIGI_PKG_SRC
It has never been a mirror of upstream packages.

It's the URL of packages needed for the BSP. These packages are mostly
Digi specific and not provided in any other location.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit d4cf9a88c9db39c6ecfd0099437d82af81c96e85)
2015-02-05 16:40:03 +01:00
Javier Viguera d5f3361935 bluez init: add more HW variants for ccimx6
https://jira.digi.com/browse/DEL-1359

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 537803cb64809acbac243179d6d448ad6cd70b85)
2015-02-05 16:28:14 +01:00
Javier Viguera 217aadc7ae bluez init: rework script
Mostly coding style and simplifications. No functionality change.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-23 17:23:34 +01:00
Javier Viguera dbd966543e meta-digi: remove not supported ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-01 12:15:54 +01:00
Javier Viguera e0fcd4d199 meta-digi-dey: cosmetics, no functionality change
Indent SRC_URI values according to openembedded coding style.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-25 13:48:02 +01:00
Javier Viguera ecd4d11e94 wpa-supplicant: update to version 2.2 for yocto 1.7
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:32:40 +01:00
Javier Viguera a12152359c vsftpd: update bbappend for yocto 1.7
Remove the 'installed-vs-shipped' QA skip as it's not needed anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:30:40 +01:00
Javier Viguera 9a378a11bf bluez4: compile static version of the library
This installs 'libbluetooth.a' in the toolchain (needed to build static
binaries that use libbluetooth).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit f53ae4ab2af1bc5dd2f3f38f9d351d9eefd1f163)
2014-10-24 17:35:45 +02:00
Alex Gonzalez 9645162245 meta-digi-dey: wpa-supplicant: reduce verbosity
Do not log scan started events not to clutter the UI.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-10-24 11:48:29 +02:00
Javier Viguera f12cad7882 bluez4: use legacy pygobject instead of gobject-introspection
gobject introspection is not supported in Yocto, so there is not a
python binding package to use it.

Bluez4 uses such functionality in some of the test scripts. This patch
replaces it with the legacy pygobject, so they can work again.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 18:38:13 +02:00
Alex Gonzalez c89c0f8443 meta-digi-dey: wpa-supplicant: Remove example adhoc configuration.
Adhoc mode is no longer supported by Atheros.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-09 16:44:48 +02:00
Javier Viguera 22fd403eeb cherokee: enable SSL/HTTPS support
https://jira.digi.com/browse/DEL-1214

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-08 18:25:08 +02:00
Alex Gonzalez e3b71e90dd btfilter: Rewrite netlink listener code.
https://jira.digi.com/browse/DEL-1174

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-08-26 19:10:35 +02:00
Javier Viguera df97e28cbe bluez init: add HW variants for ccimx6
https://jira.digi.com/browse/DEL-1157

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-30 12:37:18 +02:00
Javier Viguera 6eb1fc7c4d wpa_supplicant: generalize using platform family
https://jira.digi.com/browse/DEL-1105

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-16 14:41:21 +02:00
Javier Viguera da15544343 cherokee: remove not needed mirror
Finally OE added a copy of cherokee tarball in its own mirror:

http://sources.openembedded.org/cherokee-1.2.98.tar.gz

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 13:47:22 +02:00
Javier Viguera be2be26029 cherokee: add again a mirror for the SRC_URI
cherokee-project.de mirror is no longer available

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-20 10:28:46 +02:00
Alex Gonzalez 59f33e67c6 meta-digi-dey: wpa-supplicant: ccimx6sbc: Add defconfig and configuration.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:10 +02:00
Alex Gonzalez 7477b7d446 meta-digi-dey: btfilter: ccimx6sbc: Add bluez init script.
This is the same as for the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:01 +02:00
Javier Viguera f18590fc62 bluez4: simplify bbappend
The bbappend was created mostly to install an old version of the
'simple-agent' test application (the one included in the package was
failing) but upstream (Poky) has fixed most of the issues, so our
bbappend is just needed now to enable 'health' profile support.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-10 13:44:07 +02:00
Javier Viguera fb6b300acc cherokee: remove not needed mirror
This was needed in previous versions of Yocto, not anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-02 17:32:57 +02:00
Javier Viguera 9b370d5a79 meta-digi: remove PRINC from recipes and use a local PR server
This cleans following warning:

  Use of PRINC is deprecated.
  The PR server should be used to automatically increment the PR.
  See: https://wiki.yoctoproject.org/wiki/PR_Service

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-27 18:44:35 +01:00
Javier Viguera e11af0bec2 vsftpd: workaroud build failure
'/run/vsftpd/empty' directory is created at runtime via volatiles
bootscript under /run TMPFS.

Workaround error:

ERROR: QA Issue: vsftpd: Files/directories were installed but not shipped
  /run
  /run/vsftpd
  /run/vsftpd/empty
ERROR: QA run found fatal errors. Please consider fixing them.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:26 +01:00
Javier Viguera 0a21196689 meta-digi-dey: upgrade wpa_supplicant
https://jira.digi.com/browse/DEL-996

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:47:35 +01:00
Javier Viguera 49c4bf8951 meta-digi-dey: drop ALLOW_EMPY from packagegroup recipes
This is not needed anymore after:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/packagegroup.bbclass#n14

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-26 10:44:39 +01:00
Alex Gonzalez 4c79ce2429 meta-digi: add bluetooth support to ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 14:31:06 +01:00
Alex Gonzalez 854910d3c0 meta-digi-dey: allow to compile wpa_supplicant for ccimx6adpt
Add the machine specific files for the ccimx6adpt platform. Initially
they are copied form the ccardimx28js as it is also planned to use
an Atheros chipset.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 43b0d201d8 meta-digi: add atheros wireless support for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:58 +01:00
Javier Viguera 1e2f8f98b1 meta-digi: add athtestcmd tool
This is a proprietary tool from Atheros to test wifi.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-23 15:07:03 +01:00
Javier Viguera bf6a924c26 meta-digi-dey: remove overlayed recipes
crda, stunnel: meta-networking
iw: meta-oe

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-27 14:03:18 +01:00
Javier Viguera f21f84127a vsftpd: upgrade bbappend version
package was upgraded upstream

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:26:11 +01:00
Javier Viguera 1ee0e7b503 wpa_supplicant: convert recipe to bbappend
wpa_supplicant v2.0 was not available in Danny so we needed the whole
recipe, but it was updated in Dylan, so now we just need the bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 14:51:31 +01:00
Javier Viguera 1f4cc31331 cherokee: change again the mirror for the SRC_URI
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-13 19:32:29 +01:00
Javier Viguera 1cb6073749 meta-digi: remove cpx2 platform
This needs to be supported in the DBL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 14:21:09 +01:00
Javier Viguera 7778e60b0e net-snmp: remove bbappend
Patch was accepted/included upstream.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-07 16:25:29 +01:00
Javier Viguera b0247e7e05 meta-digi: add wmiconfig package for MXS
wmiconfig is Atheros proprietary code so the recipe builds from source
if DIGI_INTERNAL_GIT is defined or uses a prebuilt binary otherwise.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 14:06:37 +02:00
Javier Viguera bc033c071d bluez4: add python runtime dependences
'simple-agent' python script included with this package depends on
python-pygobject and python-dbus

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 10:53:43 +02:00
Javier Viguera 9ad3ccc496 bluez: update init script to get the mac from the device tree
https://jira.digi.com/browse/DEL-635

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-06 17:54:56 +02:00
Javier Viguera d94a57ae0a cherokee: use mirror for package SRC_URI
The package is no longer available in the official cherokee site,
so download it from a mirror.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:30:51 +02:00
Javier Viguera a62f836601 net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
snmpd.c: undefined reference to `netsnmp_sd_listen_fds'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:27:45 +02:00
Javier Viguera 376f7672b6 vsftpd: remove fixes applied upstream
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:53:43 +02:00
Alex Gonzalez 4e76f14e42 meta-digi: Use proc device tree information for hwid information.
Modify the atheros and bluetooth init scripts to fetch the hwid details
from the device tree.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:06:34 +02:00
Javier Viguera 0907a087c1 meta-digi: update bluetooth to support Japan
Similar commit was done in DEL.

Japanese law limits the maximum transmit power for Bluetooth to 3 mW.
The cert field in OTP will be set to 2 when units are manufactured
for Japan.

Updated the bluez init script to configure Bluetooth for class 2
operation if the cert field is set to 2, and to delete the class 1
configuration file since it would be illegal to use it in Japan.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 0f0a76a6f4 meta-digi: fix atheros recipes for new linux version
With the old version of the kernel (2.6.35) we build an external atheros
kernel module, while with the new kernel (3.10) the atheros driver is
included with the kernel sources.

However, the new driver needs the firmware files and the driver load
scripts that are stored with the old driver.

So put a dependence on kernel-module-atheros regardless of the kernel
version and then rework the kernel-module-atheros recipe to build the
whole driver for the old kernel or only the firmware for the new kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 84a66ee287 meta-digi-dey: simplify packagegroup recipes
The MACHINE_ESSENTIAL_EXTRA_* vars need to be only in the
'packagegroup-dey-core' recipe not in the rest of the packagegroups.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera cacf212fc4 btfilter: fix build with libnl-3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:48:17 +02:00
Javier Viguera 91291212b9 meta-digi-dey: clean bitbake warnings
QA Issue: Variable ALLOW_EMPTY is set as not being package specific
QA Issue: Variable RPROVIDES is set as not being package specific

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:16 +02:00
Alex Gonzalez ee8e198c16 meta-digi-dey: Only include external atheros module for 2.6.35 kernel.
The 3.10 kernel uses the upstream atheros driver.

Also, rationalize the RDEPENDS in the recipe to use the wireless
module variable instead of hardcoding values.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 2eeb39fb72 meta-digi-dey: Use a different download location for cherokee.
The official cherokee project page has repacked the source and broken
backwards compatibility. They also erase old images when new ones are
released.

This commit changes the download location to a mirror with the original
tarball that also keeps the archives.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 6101d5925f meta-digi-dey: Update stunnel to version 4.56.
They removed old versions from the download location so 4.54 now fails.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00