Commit Graph

235 Commits

Author SHA1 Message Date
Alex Gonzalez c2da364830 meta-digi-arm: Add CPX2 wireless support.
Fix the kernel wireless configuration fragment, and add a couple of kernel
patches to set up the mmc0 interface to be used with the wireless and
remove an incorrect pin configuration.

There are similar patched to this on the gateways/master branch related to
the vehicle bus adapter product.

meta-digi-arm/conf/machine/cpx2.conf

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 13:26:29 +02:00
Alex Gonzalez ffd1561423 meta-digi-arm: Update cpx2 kernel defconfig.
It is now based on the ConnectCard defconfig instead of the gateways
product one. This makes more sense in this layer, and upper layers
can overwrite it if needed.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 13:26:16 +02:00
Alex Gonzalez 163810b9f4 meta-digi-arm: Update redpine module.
There is a revert on the redpine source that fixes
https://jira.digi.com/browse/DEL-456

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-14 11:03:47 +02:00
Javier Viguera 7ee47e607e meta-digi-arm: rework variants support
Mostly cosmetic changes to clear it a bit so customers can use it as
documentation for what variant they need to configure in their projects.

Also a couple of minor fixes: 'ext-eth' typo and duplicated 'e' variant
for ccimx53js.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-14 10:16:26 +02:00
Alex Gonzalez d176828980 Revert "meta-digi-arm: Avoid udev loading firmware files for atheros."
This manually reverts commit ecfdf6ae23.

Once mdev was removed as a dependency from del-image-graphical, we need
udev to load the firmware files for the wireless drivers. This job was
being done by mdev.

The reason for the commit in the first place was that both mdev and udev
were attempting to load the firmware files, so we changed the udev
rule to ignore the atheros driver. This was only needed when mdev and
udev were both running.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-10 18:37:19 +02:00
Javier Viguera 3874c057e2 meta-dig-arm: fix variant names
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-10 17:56:03 +02:00
Javier Viguera 592d4dc75f meta-digi-arm: fix u-boot config variant for ccimx53
https://jira.digi.com/browse/DEL-443

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:49:26 +02:00
Javier Viguera e0fed036fa config templates: set default platform variants
https://jira.digi.com/browse/DEL-438

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:18:07 +02:00
Javier Viguera 3bf4819f83 ccimx51js: add missing kernel configuration
https://jira.digi.com/browse/DEL-442

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 15:20:08 +02:00
Alex Gonzalez bf9d25f939 meta-digi-arm: Update Linux kernel to latest hotfix.
Update with del-5.9/main on the del-5.9.4.2 tag.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-06 09:50:32 +02:00
Javier Viguera e59768cd49 meta-digi: move DIGI_MIRROR to meta-digi-arm
If you don't want to use meta-digi-del and use only the BSP layer
(meta-digi-arm) to build a generic image (like core-image-minimal) you
need the DIGI_MIRROR variable in this layer because some of the BSP
recipes (kernel, u-boot) use it to get the source.

So this allows to build core-image-minimal for Digi platforms without
using meta-digi-del.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:39 +02:00
Alex Gonzalez 4590397b13 meta-digi-arm: Change variant image naming to match u-boot's.
Fixes https://jira.digi.com/browse/DEL-386

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-03 17:31:33 +02:00
Alex Gonzalez ca70358bc7 meta-digi-arm: Update u-boot SRCREVs to meta-digi-1.0.0.2 revisions.
Change to use the master instead of the DUB-1.5/main branch.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 18:23:53 +02:00
Alex Gonzalez 5c04568f09 meta-digi-arm: Update SRCREVs to meta-digi-1.0.0.2 revisions.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 15:35:21 +02:00
Alex Gonzalez 091e921db6 READMEs: Update layers README files for meta-digi-1.0.0.2
They contain the sha1s of the upstream poky, meta-fsl-arm and
meta-openembedded we are basing this drop on. These sha1s are also
included in the manifest file for the drop so they could safely be removed
from here once we are building release images on the Jenkins server.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 13:42:15 +02:00
Javier Viguera 0bc9f87e2f meta-digi: fix corner case broken build
Running:

bitbake -c cleanall packagegroup-machine-base

was failing due to those trailing backslashes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-29 18:35:40 +02:00
Alex Gonzalez daee2f556d meta-digi-arm: Separate wireless and bluetooth into configuration
fragments

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-26 15:53:39 +02:00
Javier Viguera 229dad5e1b meta-digi-arm: fix soundcard name for ccimx53js
https://jira.digi.com/browse/DEL-331

While on it, fix whitespace problems (mixed tabs + spaces) in the
bitbake recipe.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-26 14:07:19 +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 c83eed3126 meta-digi-arm: Use append format for variant override.
The previous "+=" format was doing a complete variable override instead
of an append. Features like usbhost or usbdevice were disappearing.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-25 15:20:17 +02:00
Alex Gonzalez b88e571358 meta-digi-arm: imx-audio, fix smixer controls for ccimx53
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-24 10:06:07 +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 264737dde3 meta-digi-arm: Update linux kernel
The del-5.9/meta-digi branch is now based on the del-5.9.4.1 tag on
del-5.9/main.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:32 +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 d88b0270ff atheros: minor fixes on modules load script
* don't use a login shell to run the script. It overrides the
  environment that comes from the caller script.

* optimize MAC address parsing

* enable 'P2P' and softmac on driver's load

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-16 18:21:33 +02:00
Javier Viguera 1061489a62 atheros: update to GPL driver v3.4p4
This version of the driver can be redistributed, so remove the
build-from-objects part of the recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-16 17:24:02 +02:00
Alex Gonzalez 1846d5d09d meta-digi-arm: ccimx53js defconfig, enable SATA support.
As with DEL, enable SATA support by default.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-08 16:51:17 +02:00
Alex Gonzalez f13c201ff7 meta-digi-arm: Add short sha1 to kernel image name.
When compiling from a tarball, the git short sha1 will also be appended
to the Linux banner.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-08 16:51:17 +02:00
Alex Gonzalez 468e24becd meta-digi-arm: Use del-5.9 based kernel.
https://jira.digi.com/browse/DEL-363

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-08 16:51:17 +02:00
Alex Gonzalez 86655fb24e imx-audio: Remove redundant lines.
http://fisheye.digi.com:8060/cru/CR-DEL-6#CFR-358

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-03 13:13:06 +02:00
Alex Gonzalez 3b4d289ed5 meta-digi-arm: Fix imx-audio
The append files were not being chosen and the ccimx51js file needed
adjustment.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 14:00:55 +01:00
Alex Gonzalez ef8b6f5262 meta-digi-arm: firmware-mxs, use DIGI_EULA_FILE variable.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 11:41:24 +01:00
Alex Gonzalez 7de306fc26 meta-digi-arm: U-Boot recipe requires UBOOT_MAKE_TARGET override.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 11:06:02 +01:00
Alex Gonzalez 969c1fc214 kobs-ng: Rename folder with patches so that it is parsed.
It needs to be ${PN}-${PV} instead of ${PN}_${PV}.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 10:33:18 +01:00
Alex Gonzalez f04579d9d9 meta-digi-arm: Review kobs-ng recipe.
Do not duplicate patches in platform specific folder, use a common
folder instead.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 14:01:33 +01:00
Alex Gonzalez 23f2ccfc65 meta-digi-arm: Review u-boot-imx recipe.
- Merge SRCREVS
- Remove UBOOT_MAKE_TARGET_paltform as they already are in machine
configuration files.
- Merge DEPENDS_mxs_platform as they are equal.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 14:01:33 +01:00
Alex Gonzalez ec9ae14194 meta-digi-arm: Review imx-bootlets_del recipe.
Use COMMON_LICENSE_DIR variable.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez fc9d6faa33 meta-digi-arm: Review firmware-mxs recipe.
Use the DIGI_EULA and redo indentation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01: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 7979fd788c meta-digi-arm: Remove incorrect INC_PR
INC_PR is used in include files to that the recipes that include them
can use it to increment the PR.

In this recipe what we need is to set the PR.

An example from the Yocto dev manual:

recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
recipes-graphics/xorg-font/encodings_1.0.4.bb:PR = "${INC_PR}.1"
recipes-graphics/xorg-font/font-util_1.3.0.bb:PR = "${INC_PR}.0"
recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 14:11:27 +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 d970f5ba57 meta-digi: Add imx-audio package.
This recipe install an init script that allows to set some alsa audio
parameters without having to touch the default alsa states.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 10:24:47 +01:00
Alex Gonzalez bb4edfc2a4 meta-digi: Move kernel-module-gpio dependency to example recipe.
Before it was a machine dependency which it not really is.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 09:34:55 +01:00
Alex Gonzalez e14ec79443 READMEs: Remove EULA acceptance variable.
This variable is finally not being used so remove mentions of it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-20 17:36:46 +01:00
Alex Gonzalez a7391593d7 meta-digi-arm: Add tarball build for imx-bootlets.
https://jira.digi.com/browse/DEL-362

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Alex Gonzalez fee69491de meta-digi-arm: Add tarball build for u-boot-imx.
https://jira.digi.com/browse/DEL-362

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Alex Gonzalez 745cdf990f meta-digi-arm: Add tarball build for linux-del.
On a release, the kernel will not be built from a git repo but
from a source tarball.

Make the default to build from a tarball.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00