Commit Graph

54 Commits

Author SHA1 Message Date
Javier Viguera afbf2cd803 meta-digi: rework setting VIRTUAL-RUNTIME_dev_manager
As a result fix CRDA hard-dependence on busybox mdev.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 13:27:48 +02:00
Javier Viguera bb06677e47 meta-digi-del: simplify crda recipe
Yocto v1.3 (Danny) does *not* have python-m2crypto-native support so
enabling VIRTUAL-RUNTIME_crda_use_gcrypt breaks the build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-25 20:12:57 +02:00
Javier Viguera 7f3ad176b6 meta-digi: replace DESCRIPTION with SUMMARY
According to the Yocto reference manual[1] and some mails in the mailing
list[2] we should set SUMMARY always as DESCRIPTION takes the value of
SUMMARY if not explicitly set.

[1] <http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SUMMARY>
[2] <http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/36454>

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-25 19:02:23 +02:00
Alex Gonzalez 5903da28e4 meta-digi-del: Only include iw for mxs platforms.
It uses the nl80211 API which some drivers (like Redpine) do not support.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-24 17:49:22 +02:00
Alex Gonzalez c3c816ec52 Add support for variants
I have split the machine configuration in two:

-The module machine configuration include, for example ccimx53.inc
-The machine configuration (for example cimx53js.conf) which includes
the variant configuration.

This will allow for customers to create their own machine keeping the
module include file.

The variant can be configured in the local.conf file with a
MACHINE_VARIANT variable.

The variant names are made up of the interface initials as follows:

    w: wifi
    e: externel ethernel
    b: bluetooth
    1: 1-wire
    a: accelerometer
    g: GPU
    v: VPU
    128: 128MB RAM
    4k: 1024MB NAND (only for MX51 JTAG flash)

For details regarding the supported variants, each machine configuration
file contains a comment with a variants table.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-22 17:28:44 +02:00
Alex Gonzalez 890e235ee6 meta-digi-del: Replace VIRTUAL-RUNTIME_ntp for VIRTUAL-RUNTIME_ntp-client
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-22 10:45:07 +02:00
Javier Viguera 27cbea58e5 crda: remove not needed FILESEXTRAPATHS
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-19 19:02:22 +02:00
Alex Gonzalez 977f4d35e4 meta-digi-del: Implement code review changes.
iw, Remove summary and leave description.
packagegroup-del-bluetooth, remove trailing line.
vsftpd,pointercal-xinput, add colon at the end of FILESEXTRAPATHS_prepend
del-examples-*, add COMPATIBLE_MACHINE to some examples
packagegroup-del-qt, remove comments.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:32 +02:00
Alex Gonzalez b6b412e143 meta-digi-del: crda, use latest regulatory domain.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez 5c9b83094b meta-digi-del: crda, fix device manager virtual runtime.
VIRTUAL-RUNTIME_device_manager does not exist, it should be
IRTUAL-RUNTIME_dev_manager.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez c654f5798e meta-digi: Move inclusion of wireless drivers to del-wireless.
Remove the machine rdepends and move to del-wireless which is only
included for the wifi machine feature.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez 76a5325500 meta-digi: Add distro to all PRs.
https://jira.digi.com/browse/DEL-282

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Javier Viguera 8bc63584e6 btfilter: update to atheros version v3.4p4
https://jira.digi.com/browse/DEL-412

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-16 18:55:03 +02:00
Alex Gonzalez bc9c48b201 meta-digi: Use common template for recipes.
All recipes include:

# Copyright (C) 2013 Digi International.

DESCRIPTION=""
SECTION=""

DEPENDS = ""
LICENSE = ""
LIC_FILES_CHKSUM = ""

PR="rn"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez a0d00e4d76 meta-digi: Use the same template for include files.
They all have a copyright and the all do:

PR = "${DISTRO}.${INC_PR}.0"

Then recipes which include them include:

PR = "${DISTRO}.${INC_PR}.0"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:53 +01:00
Alex Gonzalez f31d9f880e meta-digi: Replace SUMMARY by DESCRIPTION in all recipes.
According to the Poky reference manual, SUMMARY inherits DESCRIPTION, so
it's better to have only a DESCRIPTION or both.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 15:53:32 +01:00
Alex Gonzalez 0cea6d53fd meta-digi: Unify bbappend files with template
All bbappend files will start as follows:

# Copyright (C) 2013 Digi International.

PRINC := "${@int(PRINC) + 1}"
PR_append = "+${DISTRO}"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 14:09:54 +01:00
Alex Gonzalez 994595da74 meta-digi-del: Remove del override.
We want customers that use meta-digi-del to be able to define their own
distros without breaking our recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 1b6cc41acf meta-digi-del: Add VIRTUAL-RUNTIME_ntp.
Move busybox-ntpd from del-core to del-network and allow for it to be
configurable via VIRTUAL-RUNTIME-ntpd.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez a344936238 meta-digi-del: btfilter, fix SRC_URI.
When adding the Digi premirror, there was a typo in the btfilter recipe.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 13:12:06 +01:00
Alex Gonzalez c2a9ce5a68 meta-digi: Use a single Digi premirror.
This commit adds a Digi premirror to the DEL distribution file. This
premirror will be tried first. It default to build-linux.digi.conf but
will be customized for the layer public release.

This still allows for a project to be customizes with a
SOURCE_MIRROR_URL which will be tried before the premirrors.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:05:27 +01:00
Alex Gonzalez 85e2644459 meta-digi-arm: Add cpx2 machine.
This fixes https://jira.digi.com/browse/DEL-190

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Javier Viguera fd30b58284 bluez: power cycle BT module if hciattach fails
Power cycle the Bluetooth module in the AR6233 if the Bluetooth driver,
hciattach, is unable to communicate with the Bluetooth module.

This change depends on a related change in the kernel GPIO configuration
code that makes the GPIO available to user space.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 16:11:20 +01:00
Javier Viguera cab3e32599 meta-digi-del: rework HTTP servers
Enable by default 'busybox-httpd'
Install Digi default page for both busybox-httpd and cherokee
Provide basic cherokee configuration

https://jira.digi.com/browse/DEL-151 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-26 14:33:08 +01:00
Javier Viguera 774b09b2d6 meta-digi-del: fix bluetooth-python applications
https://jira.digi.com/browse/DEL-224 #resolve
https://jira.digi.com/browse/DEL-276 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-21 17:07:46 +01:00
Javier Viguera 1e888be133 btfilter: rework package's recipe
- use Yocto's INITSCRIPT/update-rc.d infrastructure to install the
  bootscript.
- add patch that make cross-compilation easier and thus simplify bitbake
  recipe.
- launch 'abtfilter' with '-b' parameter (use only D-Bus filtering) to
  avoid alignment errors (when using hci filter mode):

Alignment trap: abtfilt (721) PC=0x00017f24 Instr=0xe1d330b0 Address=0x419fec91 FSR 0x013

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-15 19:26:32 +01:00
Alex Gonzalez 7b9672bb34 meta-digi-del: Update btfilter to v3.4.
This version matches the current HEAD of the master branch of the
kernel-module-atheros package.

Also, the init script bluez-bg.sh is now installed in rc5.S instead
of rcS.d. This fixes https://jira.digi.com/browse/DEL-185.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 10:54:41 +01:00
Alex Gonzalez 6042a70fbc meta-digi: Change xmx for imx.
Just a cosmetic name change for the merged wired and wireless platforms.

This and related commits fixes https://jira.digi.com/browse/DEL-188.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-13 10:43:50 +01:00
Javier Viguera 7aed3c49b9 crda: update to version v1.1.3
Older version does *not* build with new versions of libnl.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-12 16:50:13 +01:00
Alex Gonzalez b64b131465 meta-digi-del: Update SRC_URI for iw.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-06 12:46:42 +01:00
Javier Viguera 4b75c4a1c3 meta-digi-del: add 'iw' version 3.8
I had to increase the priority of 'meta-digi-del' layer, so our recipes
have precedence over the ones in 'meta-oe'. Otherwise it was always
using the 'iw' recipe of meta-oe, regardless of being a lower version
(iw-3.6).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 1f3cc3eb1f wpa_supplicant: update to version 2.0 and enable SoftAP
https://jira.digi.com/browse/DEL-220 #resolve
https://jira.digi.com/browse/DEL-225 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 97777f8363 btfilter: add patch to support libnl-3
Now that btfilter supports libnl-3, remove DEL's preferred version of
libnl on 2.0

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 6b261a3949 meta-digi-del: enable busybox' brctl applet
Also enable CONFIG_BRIDGE in kernel configs (which is required to use
brctl)

https://jira.digi.com/browse/DEL-156 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 13:40:59 +01:00
Alex Gonzalez 289a7f0dc7 meta-digi-del: btfilter, set mac address from kernel command line.
The bootloader is passing the mac address in the kernel command line.

The bluetooth startup script reads it and sets it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Javier Viguera cd8ee1eebc vsftpd: change boot messages
So they are more similar to the rest of the bootscripts.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 18:37:48 +01:00
Javier Viguera 309e9bd5a8 crda: fix error related to multiline comment
With latest changes in bitbake (post-danny), crda recipe was giving
following error:

ERROR: There is a confusing multiline, partially commented expression

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 10:57:43 +01:00
Alex Gonzalez f554d1f7a1 meta-digi-del: Replace wpa supplicant configuration files.
Use the ones in DEL instead.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 16:33:02 +01:00
Alex Gonzalez 5b0fd6a283 meta-digi-del: Add specific wpa-supplicant for ConnectCard.
We use a wpa-supplicant directly from Atheros with extra functionality.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 6d947648d8 meta-digi-arm: Add firmware-mxs.
This package contains firmware files for the MXS Digi family (Embedded and
boxed products).

Now it contains the bluetooth binary firmware files.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 576350a8b8 meta-digi-del: Change task-del-bluetooth to a packagegroup.
In danny, all tasks have been converted to packagegroups.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 5f6cfda2e1 meta-digi-del: Add btfilter package.
This is a bluetooth/wlan coexistance daemon included in the Atheros
driver release.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 14:06:58 +01:00
Alex Gonzalez bb4364365b meta-digi-del: Add del-bluetooth feature.
It will be included in all machines that include the bluetooth feature,
currently the ccardxmx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 11:12:07 +01:00
Javier Viguera 41ee1a135d meta-digi-del: rework vsftpd package
* clean compiler warning
* add bootscript and config files (from DEL)
* enable vsftpd in del-network packagegroup

https://jira.digi.com/browse/DEL-150 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-10 17:03:49 +01:00
Javier Viguera 767cb77672 meta-digi-del: symplify packagegroups
There is no need to explicitly set PACKAGES variable (it is
automatically handled by packagegroup.bbclass)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera 536e17549f meta-digi-del: rename tasks to packagegroups
For Yocto 1.3 'Danny' migration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Alex Gonzalez 1350ccacbc meta-digi-del: Add stunnel from openembedded classic.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 17:50:43 +01:00
Alex Gonzalez 86b50d065d meta-digi-del: Add iw package.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:19:13 +01:00
Alex Gonzalez 54b5f54e8f meta-digi-del: Add crda package.
This is based on the recipe found in the openembedded layer.

http://cgit.openembedded.org/openembedded/log/recipes/crda/crda_1.1.1.bb

It needs to compile with libnl 2.0, so we set a distro preferred version
for it.

Also, we make the recipe configurable to compile without gcrypt. The
Makefile is patched to compile without gcrypt.

Compiling with gcrypt would need the addition of the python-m2crypto-native
recipe which is not done so it is currently broken.

The compilation without gcrypt is how DEL is currently doing it so this
should be enough for our needs.

Also, the device manager is configurable and set to busybox-mdev by
default.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Alex Gonzalez fd7e53800d meta-digi: Replace folders naming format.
We have been using ${PN}-${PV}, change to use only the package name and
leave ${PN}-${PV} for actual recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00