Commit Graph

753 Commits

Author SHA1 Message Date
Javier Viguera eb5f07b154 kernel-module-atheros: 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:02 +02:00
Alex Gonzalez af4aefb2f1 meta-digi-arm: kernel-module-atheros: Update SRC_URI.
This updates the driver to upstream AR6003-ISC-v3.4p6-b3.4.0.225.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-06-26 15:58:13 +02:00
Javier Viguera 07866bdab1 linux-dey: sync defconfig for ccimx6adpt and ccimx6sbc
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 18:37:29 +02:00
Javier Viguera d5b236b4dc meta-digi-arm: use 'v3.10/master' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-23 18:49:57 +02:00
Javier Viguera dbf830b6a0 kernel-module-atheros: add calibration file for mx6
This adds the calibration file for US regulatory (still missing the
world-regulatory calibration file)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-12 18:36:40 +02:00
Javier Viguera 4cb49ab09d meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 14:13:23 +02:00
Javier Viguera 8514398726 meta-digi: update revisions for dey-1.6.1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 14:09:32 +02:00
Javier Viguera d8229f9f40 meta-digi-arm: reset linux 3.10 branch for MX6
Use 'v3.10/dey-1.6/maint' which has the stable fixes from upstream
merged.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 12:36:44 +02:00
Alex Gonzalez 19e1cbd9f3 meta-digi-arm: linux-dey-3.10: Sync defconfigs for ccimx6sbc and ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +02:00
Javier Viguera 140121d71c linux-dey: sync defconfig for ccimx6adpt
Synchronize with FSL 3.10 GA release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-22 11:11:44 +02:00
Alex Gonzalez 16f90dedb5 meta-digi-arm: kernel-module-atheros: Add ccimx6sbc init script.
This is a copy of the one for the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 10:29:19 +02:00
Alex Gonzalez 0900d9b5c1 meta-digi-arm: linux-dey-3.10: ccimx6sbc: Add defconfig.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 10:29:19 +02:00
Javier Viguera 3131cb6da8 meta-digi-arm: reset linux 3.10 branch for MX6
User-space has been updated in meta-fsl-arm for the general availability
(GA) FSL release, so use the kernel branch with the GA support.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-06 16:32:35 +02:00
Javier Viguera 52c741c9cb meta-digi-arm: revert to 'v3.10/dey-1.6/maint' branch for MX6
The 'v3.10/master' master branch has been updated with the latest
general availability (GA) release from FSL, but the user-space is not
ready yet, so using the new kernel the build is broken:

imx-lib: error: 'PXP_IOC_GET_CHAN' undeclared

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-28 14:36:12 +02:00
Javier Viguera bf0a75ade6 meta-digi-arm: reset linux 3.10 development branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-25 18:54:55 +02:00
Javier Viguera 2fd13737cb meta-digi-arm: remove SRCBRANCH support for external repos
Needing to set the branch where a specific SHA1 revision is contained is
a unnecessary constraint that can be bypassed setting 'nobranch=1' in
the SRC_URI.

We do that for all the external repos (GitHub) plus the internal ones
for the im-xbootlets and the atheros kernel module (as those two repos
are stable enough and we are not developing actively on them).

For U-Boot and Linux we keep the SRCBRANCH framework for internal repos
as this is needed for the AUTOREV yocto feature.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-25 16:56:27 +02:00
Javier Viguera 2769c4b7e4 meta-digi: revert internal repos to AUTOREV revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-22 12:53:02 +02:00
Javier Viguera c9c048a036 meta-digi: update revisions for dey-1.6.0.3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-11 17:27:25 +02:00
Javier Viguera efc8d4a5d9 meta-digi-arm: update maintenance branch for linux 2.6.35
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 80a1d912874caed44f5d02a02b1a15d9d1fbd92a)
2014-04-10 17:46:00 +02:00
Javier Viguera 99b153e30b meta-digi: revert internal repos to AUTOREV revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-09 12:34:20 +02:00
Javier Viguera d3e268dd53 meta-digi: update revisions for dey-1.6.0.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-07 17:23:55 +02:00
Javier Viguera 15983c8607 meta-digi-arm: update MXS platforms kernel maintenance branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-07 11:26:08 +02:00
Javier Viguera 65993e1e50 meta-digi-arm: add framework to set external branches for git repos
Starting with Yocto 1.6 there is a need to configure in which branch a
specific SHA1 revision is included. We need a framework to set such
branches both for internal git repos and for external ones (Github).

If the branch is not specified in the SRC_URI, the do_fetch task may
fail even though the SHA1 revision exists in the repository.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-04 19:22:55 +02:00
Javier Viguera 7051b62726 atheros: use 'dey-1.6/maint' branch for all platforms
Otherwise building Yocto 1.6 for ccardimx28js fails with:

ERROR: Logfile of failure stored in:
/home/jviguera/projects/yocto/master/gui/ccardimx28js/tmp/work/ccardimx28js-dey-linux-gnueabi/kernel-module-atheros/1.0-r1/temp/log.do_fetch.38442

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-31 12:26:59 +02:00
Javier Viguera 26a3cef1b2 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-24 17:43:52 +01:00
Javier Viguera 838ba4b920 meta-digi: update revisions for dey-1.6.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-24 17:38:53 +01:00
Alex Gonzalez d533e3f994 meta-digi-arm: kernel-module-atheros: Update to fix stress test oops.
Fetch the source from the dey-1.6/maint branch which contains a fix
for a kernel oops introduced by the Yocto GCC 4.8.1 compiler.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-03-20 11:24:10 +01:00
Alex Gonzalez ae9dbeb973 meta-digi-arm: linux-dey-3.10: Set to mx6 maintenance branch.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-03-17 15:38:55 +01:00
Javier Viguera e6a97ac797 linux-dey: use a common LOCALVERSION for DEY kernels
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera c61e1698e2 linux-dey: update 3.10 defconfig for ccimx6adpt
Sync with FSL 3.10 BETA release.

https://jira.digi.com/browse/DEL-969
https://jira.digi.com/browse/DEL-979

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera 2479cbdf78 Revert "meta-digi-arm: set branch absolute path to overcome fetcher bug"
This workaround is not needed anymore as the git fetcher bug is fixed in
poky's master branch.

This reverts commit 982af63902.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:49:53 +01:00
Javier Viguera 64f5b1bd90 meta-digi-arm: remove PR from linux-dey recipes
PR was based on meta-fsl-arm's 'linux-imx.inc' INC_PR, but this was
removed after Dora, so we need to remove PR from our kernel recipes to
avoid a bitbake parser error:

${INC_PR}.0/git')} exception SyntaxError: EOL while scanning string literal

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:47:23 +01:00
Javier Viguera 379a44a891 meta-digi-arm: simplify linux-dey recipe
linux-dey.inc is a copy of meta-fsl-arm's linux-imx recipe file, so
instead of copying the whole recipe just use that (including the file)
and code the differences.

While on it, add RDEPENDS_kernel-base="" to remove the dependence of the
rootfs image recipes on the linux image. We don't need/use the kernel
image in the rootfs as we load it from a different partition. This makes
rootfs images a bit smaller.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-07 15:17:27 +01:00
Javier Viguera 9a83dcaad0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 14:46:51 +01:00
Javier Viguera f53848364a meta-digi: update revisions for dey-1.5.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 14:36:05 +01:00
Javier Viguera 52da486362 meta-digi-arm: simplify do_deploy in linux recipe
change the directory (cd) and make the symbolic link in a subshell to
preserve the current working directory for any subsequent command.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 13:36:57 +01:00
Alex Gonzalez 011460565f Revert "meta-digi-arm: Update SRCREVs for dey-1.5.0.0"
Go back to the AUTOINC SRCREVs.

This reverts commit 2b8d3197a8.
2014-02-26 19:22:01 +01:00
Alex Gonzalez 2b8d3197a8 meta-digi-arm: Update SRCREVs for dey-1.5.0.0
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-26 19:21:27 +01:00
Alex Gonzalez 346ad12fec meta-digi-arm: linux-dey: ccimx6adpt: Update 3.10 defconfig.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-25 17:19:36 +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 982af63902 meta-digi-arm: set branch absolute path to overcome fetcher bug
bitbake git's fetcher uses 'ls-remote' to get the branch revision to
checkout. If the repository has two branches ending equally the 'git
ls-remote' just picks the first one regardless of that being the correct
one.

In our case we were bitten by this bug because our git repo has:

...sha1-revision...  refs/heads/android/v3.10/master
...sha1-revision...  refs/heads/v3.10/master

and the fetcher was using the android branch instead of linux's
v3.10/master.

A patch has been sent upstream but while that gets applied to Dora
maintenance branch the workaround here is to set the absolute path in
the kernel's bitbake recipe.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:58 +01:00
Alex Gonzalez cfcc03beba meta-digi-arm: prepare linux v3.10 for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-21 14:33:52 +01:00
Javier Viguera 0f34d4907d meta-digi-arm: fix UBOOT_ENTRYPOINT for all platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 14:37:23 +01:00
Javier Viguera 09b632b740 meta-digi-arm: sync kernel recipes with meta-fsl-arm's
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 14:27:57 +01:00
Javier Viguera 7a82eab0c7 meta-digi-arm: rework device tree customization
The do_update_dts function was hardcoded for ccardimx28js. We need to
make it mxs specific so the recipe can be used for other platforms that
do not share the same device tree configuration (for example the
upcoming ccimx6js)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 12:24:29 +01:00
Javier Viguera 16b0ccf3e2 meta-digi-arm: parameterize the kernel branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-13 17:20:53 +01:00
Javier Viguera 5bbcd32eec meta-digi-arm: use AUTOREV to get latest revision for Linux kernel
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 14:51:12 +01:00
Javier Viguera dbddb73910 kernel-module-atheros: increase delay between modules load
To be sure the 'cfg80211' module is settled down before the
'ath6kl_sdio' module tries to use it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-16 14:53:04 +01:00
Javier Viguera 0ce3d19af7 meta-digi-arm: update kernel revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-16 12:05:28 +01:00
Javier Viguera f04b8c81aa kernel-module-atheros: revert to version v3.4p4 of the driver
Version v3.4p6 seems to have some problems with WEP encription. Version
v3.4p4 seems to work better with WEP, so revert to that version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-04 19:27:59 +01:00
Javier Viguera 91a9586afe meta-digi-arm: disable camera 2 on MX5 as it conflicts with VGA
https://jira.digi.com/browse/DEL-881

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-02 18:12:44 +01:00
Javier Viguera fdc3833167 meta-digi-arm: refresh defconfig files for kernel 2.6.35.14
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-02 18:10:50 +01:00
Javier Viguera 47de17cc2d kernel-module-atheros: workaround driver crashing on load
There seems to be a race condition in the load of the 'cfg80211' and
'ath6kl_sdio' modules. If we try to load the atheros module before the
cfg80211 is settled down, the driver crash.

The workaround is just separate the load of both modules in two separate
'modprobe' commands and add a small delay between them.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-27 14:41:00 +01:00
Javier Viguera 4471d862e5 kernel-module-atheros: disable 802.11w
Not well supported yet and cleans a debug line:

ath6kl: ath6kl_cfg80211_connect: sme->mfp = 0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-27 14:38:17 +01:00
Javier Viguera 6545748379 kernel-module-redpine: force short SHA1 revision length
So it matches what the bitbake recipe expects.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 12:54:21 +01:00
Javier Viguera 6861e5dfcc meta-digi-arm: update linux 3.10 revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-18 16:46:53 +01:00
Javier Viguera 05052c72d5 meta-digi-arm: remove linux-dey-rev files
The Linux kernel revision was splitted from main bitbake recipe to its
own linux-dey-rev file so that file could be used for linux-headers
recipe to build the toolchain using custom kernel headers (from our
repository).

That is not the recommended way to build a toolchain:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=babbf7a46acaefd9b36031483cafce053f607e66

and we are not using our kernel headers to build the toolchain anymore,
so just melt the linux-dey-rev files into the linux-dey bitbake recipes
for cleanness and easier maintenance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-18 16:33:43 +01:00
Hector Palacios 0808c56b7a atheros: reload the module if it fails during probe
The wireless module occasionally fails to load in kernel v3.10.
If that is the case, unload the driver and load it again (up to
five retries).

Notes:
- Only the ath6kl_sdio module needs to be unloaded and reloaded.
- The chip is not issued a power cycle via CHIP_PWD_L because
  this demonstrated to cause failure, instead of improving
  behaviour.
- The 2-seconds sleep after unloading the driver is a security
  measure to avoid other problems seen during test cycle.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-820
2013-11-18 10:20:21 +01:00
Javier Viguera 147bef647c perf: remove bbappend
Committed a patch in linux-dey repo to fix perf build. At the same
time update linux-dey revision to get the perf fix.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-15 16:49:13 +01:00
Javier Viguera b89f5f6911 meta-digi: remove wr21 platform
This needs to be supported in 'meta-digi-dlr' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-15 11:00:47 +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 1866f03b0a meta-digi: do not enable spidev when touch is enabled
They conflict.

Warn the user about the problem and let they change the device tree
manually.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-29 18:13:52 +01:00
Javier Viguera 7ddeaa7f18 meta-digi-arm: update u-boot and linux revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-22 17:31:55 +02:00
Javier Viguera ae013f70ba meta-digi-arm: fix perf broken build
list.h: In function 'INIT_HLIST_NODE':
list.h:582:12: error: 'NULL' undeclared (first use in this function)

list.h: In function 'hlist_move_list':
list.h:661:15: error: 'NULL' undeclared (first use in this function)

list.h: In function 'hlist_move_list':
list.h:661:15: error: 'NULL' undeclared (first use in this function)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-22 17:18:58 +02:00
Javier Viguera 328a6cdb5e meta-digi: move helper variables to a common place
Those boolean helper variables can be used in different recipes so move
them to a common place.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 10:36:51 +02:00
Javier Viguera 8a93cf981c meta-digi: complete variants support for device trees
Also change the default ccardimx28js variant to 'web1' (wireless, second
ethernet, bluetooth and 1-wire)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 17:30:44 +02:00
Seth Bollinger 0817e87e61 URI: Change DIGI_LOG_GIT to something generic
Most SRC_URI defaults to DIGI_LOG_GIT. This patch sets a more generic
name (DIGI_GIT) that defaults to DIGI_LOG_GIT, but is configurable by
someone who might want to tune it (DIGI_MTK_GIT, etc.).

Signed-off-by: Seth Bollinger <sethb@digi.com>
2013-10-14 08:48:45 -05:00
Javier Viguera d6c78d1508 ccardimx28js defconfig: enable CONFIG_BRIDGE
https://jira.digi.com/browse/DEL-824

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 17:27:17 +02:00
Javier Viguera 8f9c31b14c meta-digi: update linux and u-boot revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 15:34:42 +02:00
Javier Viguera c1e524cb39 meta-digi-arm: use Yocto's default headers
Following advise from:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=babbf7a46acaefd9b36031483cafce053f607e66

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:19:24 +02:00
Javier Viguera 22f85285ad atheros: set correct revision depending on the kernel version
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:18:19 +02:00
Javier Viguera f1d8345c88 ccardimx28js defconfig: disable not used touchscreen device
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:25:31 +02:00
Javier Viguera bdfdee8035 linux-dey: enable SPIDEV depending on dey-examples
https://jira.digi.com/browse/DEL-629

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:51:48 +02:00
Javier Viguera 2ecf5a703a meta-digi-arm: update linux-dey revision
Add: spidev and wireless changes in the kernel

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:50:27 +02:00
Javier Viguera b76862a971 linux-dey: update device tree depending on variant
https://jira.digi.com/browse/DEL-641
https://jira.digi.com/browse/DEL-644

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-19 14:33:33 +02:00
Javier Viguera a55c6e96bd ccardimx28js defconfig: enable BINFMT_SCRIPT
Fix JIRAS:

https://jira.digi.com/browse/DEL-645
https://jira.digi.com/browse/DEL-646

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-18 14:33:08 +02:00
Javier Viguera 8bf9a739a5 meta-digi-arm: update linux-dey revision
To get the latest changes: logo, mac-address, wireless...

Also synchronize the defconfig with the one in the kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:57 +02:00
Javier Viguera 936fcc9151 atheros: rework to build with linux 3.10
https://jira.digi.com/browse/DEL-673

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:34 +02:00
Javier Viguera 735e36ce8e atheros: update script to get the mac from the device tree
https://jira.digi.com/browse/DEL-637

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-10 14:38:40 +02:00
Seth Bollinger 255b409288 meta-digi-arm: Make COMPATIBLE_MACHINE more flexible
If people are creating derivative machines in their layer, make
COMPATIBLE_MACHINE more flexible.  Use SOC_FAMILY instead of specific
machine types.  This allows users to more easily share these recipes.

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

Signed-off-by: Seth Bollinger <sethb@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-09-09 09:49:28 +02:00
Javier Viguera 0e2c436940 defconfig: enable centered custom logo
Custom logo support has been added to the kernel.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 18:07:04 +02:00
Alex Gonzalez 21490c8da4 meta-digi-arm: Update SRCREVs for dey-1.4.0.2 tags.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 11:03:39 +02:00
Alex Gonzalez 5005294004 meta-digi-arm: defconfig: ccardimx28js: Add W1 slave support.
Synch with kernel defconfig.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 10:55:09 +02:00
Alex Gonzalez 3e56a2632c meta-digi-arm: linux-dey-3.10, defconfig, add default blk device support.
https://jira.digi.com/browse/DEL-595

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 15:49:28 +02:00
Alex Gonzalez dbcb041fc9 meta-digi-arm: Update linux-dey_3.10 SRCREV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 12:26:21 +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
Alex Gonzalez 903a7f5cc2 meta-digi-arm: linux-dey-2.6.35: Update for user space suspend support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-14 16:44:02 +02:00
Alex Gonzalez f07edd2cca meta-digi-arm: Update linux-dey to support the pswitch driver.
https://jira.digi.com/browse/DEL-580

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:54:48 +02:00
Javier Viguera cb25e67665 kernel-module-atheros: apply load parameters to correct module
In Linux 2.6.35, the kernel module accepting the parameters on load
was 'ath6kl_sdio' while in 3.10 is 'ath6kl_core'.

So we need to apply the load parameters to either module depending on
the kernel version.

This is solved by configuring the modprobe configuration file
'/etc/modprobe.d/atheros.conf' with the parameters to the correct
module instead of passing them in the command line.

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 5cce293895 kernel-module-atheros: add 'kmod' runtime dependence
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Alex Gonzalez 9c49cdc60f meta-digi-arm: linux-dey-2.6.35.14, remove unneeded variable.
This kernel version has the U-Boot entry point hardcoded so the one in the
recipe is unused.

http://fisheye.digi.com:8060/cru/CR-DEL-105#CFR-2457

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-09 12:19:27 +02:00
Alex Gonzalez 5b5b0c7e84 meta-digi-arm: Update linux-dey-3.10 defconfig and SRC_REV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-09 12:04:12 +02:00
Alex Gonzalez 494c8a43a2 meta-digi-arm: Update atheros kernel driver SRCREV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 17:28:07 +02:00
Alex Gonzalez 7795aa736c meta-digi-arm: ccardimx28js: Add 3.10 kernel version.
The UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables are only used in
the kernel recipe, so remove from the machine configuration files.

Also, use the defconfig from the kernel tree which compiles all the
support by default and expects the device tree to be configured with
the desired support. Hence, remove all the empty configuration fragments
files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 14:27:12 +02:00
Javier Viguera 45f09436bf kernel-module-atheros: fix file-not-found error
ERROR: Fetcher failure: Unable to find file file://atheros anywhere

The FILESPATH variable (used as the search path for files referred to
in SRC_URI) is now (dylan) more restrictive, so move the files where
they can be found.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:47:17 +02:00
Javier Viguera 00e6d38ca5 kernel-module-redpine: update for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:46 +02:00
Alex Gonzalez 449fd76a03 meta-digi-arm: Append configuration fragments to linux recipe.
This is to work as in previous kernels. For now the fragments are empty
and they will have to be individually included and tested.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 2afd15d816 meta-digi-arm: Fix linux-dey do_deploy append
Copy including folders. This was causing problems in kernel version 3.10
as the directory included folders that were omitted in the copy and caused
the do_install to fail.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 17de27ff46 meta-digi-arm: Update ccardimx28js linux defconfig.
Remove support that is to be added as a config fragment:

- FB support.
- LCD backlight.
- Sound.

Add configuration that was also enabled in previous kernels.

- Serial, ethernet and storage USB gadgets.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez aa1f21aae2 meta-digi-arm: Add linux-dey_3.10.
This kernel will have support only for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 1cc0fddc44 meta-digi-arm: Set 2.6.35.14 as linux preferred version.
Also, make arrangements so support more than one kernel version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez f173f650e5 meta-digi-arm: Import linux-libc-headers into layer.
We need separate linux-libc-recipes if we want to support different
kernels.

On the 1.4 meta-fsl-arm layer this recipe will disappear, so review then.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 9274b5e254 meta-digi-arm: Make linux-dey and linux-libc-headers share an include.
Placing all of the revision info in a common include we avoid the common
issue of forgetting to update the linux-libc-headers append recipe when
the kernel is updated.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-08 10:23:44 +02:00
Alex Gonzalez faee124d4b meta-digi-arm: Update external SRCREVs for linux and u-boot.
The external repositories have been cleaned up and commits have been
squashed so the sha1s need to be updated.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 12:31:37 +02:00
Alex Gonzalez 539af61c3c meta-digi-arm: Update external SRCREVS of atheros and imx-bootlets.
The public branches of those repositories have been cleaned up so
the external sha1s have changed.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 11:37:15 +02:00
Alex Gonzalez 021e42527e meta-digi-arm: Force the override of SRCREV in linux-libc-headers.
Otherwise the SRCREV in the append file is not used.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 11:26:21 +02:00
Alex Gonzalez 993fa4eed4 meta-digi-arm: Fix linux-libc-headers to work from outside the intranet.
Also, set the SRCREV to the same as the linux recipe for dey-1.3.0.6.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 10:06:13 +02:00
Alex Gonzalez ad31cd6149 Update SRCREVs for dey-1.3.0.6.
Synch all internal and external SRCREVS.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-04 18:05:36 +02:00
Alex Gonzalez b0e42820a1 meta-digi-arm: Fix the license on atheros driver.
The Checksum says ISC but the license BSD. Checking with Atheros the
correct license is ISC.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-03 10:59:20 +02:00
Alex Gonzalez 4c14df9620 meta-digi-arm: Update SRCREVs to revision dey-1.3.2.3.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-13 13:36:18 +02:00
Javier Viguera 89cd759503 redpine: use global variable to use internal git repo
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-12 17:06:07 +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
Javier Viguera 7e64629187 meta-digi: use global variable for github url
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-07 15:52:19 +02:00
Javier Viguera 10c7594119 meta-digi: use global variable to use internal git repos
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 18:08:02 +02:00
Javier Viguera ce54d81e66 linux: get code from github
https://jira.digi.com/browse/DEL-472

While on it, fix minor bug: uImage-<platform> symbolic link was not
being created on deployment directory.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Javier Viguera ac80d686f7 kernel-module-atheros: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Francis Sreeves 6db91dc1a3 meta-digi: add WR21 machine
https://jira.digi.com/browse/DEL-455

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Alex Gonzalez cc17072c91 meta-digi-arm: Update atheros init script to make it platform independent.
Another option would be to split it up in machine folders, but it is
similar enough in all platforms not to need this for the time being.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 09:23:31 +02:00
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
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 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
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 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 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 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 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 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 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 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
Alex Gonzalez 79394ea92c Revert "meta-digi-1.0.0.1: Change SRCREVS to release sha1s."
This reverts commit 0aaa3b492e.
2013-03-11 09:50:56 +01:00
Alex Gonzalez 0aaa3b492e meta-digi-1.0.0.1: Change SRCREVS to release sha1s.
This commit is to be reverted next.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-11 09:43:15 +01:00
Javier Viguera aca2ec95e3 atheros: initial support for CPX2
Not yet finished as not all the cpx2 variants support wireless.

This has to be enabled per-variant.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-08 11:02:23 +01:00
Javier Viguera 9185fb24c9 meta-digi: fix some issues in kernel config fragments
* pmic-battery package name
* accelerometer config (missing INPUT_MISC)
* battery config (missing POWER_SUPPLY)
* rework/simplify bitbake recipe

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:52:33 +01:00
Javier Viguera 383dda0a06 redpine: build from objects tarball by default
Also use git revision (SHA1) as part of the tarball name.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:43 +01:00
Javier Viguera 4f0067f8d4 atheros: build from objects tarball by default
Also use git revision (SHA1) as part of the tarball name.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:43 +01:00
Javier Viguera 1d31774d66 kernel-module-atheros: use BSD license
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:42 +01:00
Alex Gonzalez ecfdf6ae23 meta-digi-arm: Avoid udev loading firmware files for atheros.
This was causing module loading issues on del-image-graphical.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-07 18:15:05 +01:00
Alex Gonzalez 11bb2bbca7 meta-digi: Do not hardcode distro in PR_appends.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Javier Viguera 7c894ce3d7 kernel-module-redpine: separate Kbuild part
Following the guidelines in kernel documentation:

linux-tree/Documentation/kbuild/modules.txt

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Javier Viguera a9767aa5ff kernel-module-atheros: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Alex Gonzalez 0e0b599c48 meta-digi-arm: Fix overrides for linux-del.
The overrides need machine_family.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 9c2567021e meta-digi-arm: Create an extra kernel symlink.
Create a symlink on the deploy folder that matches the standard uboot
name for the kernel.

Fixes partially https://jira.digi.com/browse/DEL-283

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Javier Viguera 1226554932 meta-digi-arm: fix linux kernel broken build with dash shell
Due to the use of a bashism (shopt).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 15:38:50 +01:00
Javier Viguera a952a61288 kernel-module-redpine: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:22:09 +01:00
Javier Viguera 8201c36178 kernel-module-redpine: remove patch
Integrated into redpine repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:21:50 +01:00
Alex Gonzalez bc3a4b663c meta-digi-arm: Avoid udev loading atheros kernel module.
udev will attempt to load the atheros kernel modules because it defines
a modalias that matches an sdio bus event.

In a race condition with the script in if-pre-up, the module will crash.

Recent versions of udev have lost the ability to add an ignore_device
option to the rules, and mdev in del-image-minimal has no module
autoloading ability.

The commit adds a modprobe install rule that does nothing, and allows
the if-pre-up script to load the module as it used to.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez 766b99f0c6 meta-digi-arm: Move atheros init script to machine folder.
This allows for different platforms to use their own version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez 2e73bd974d meta-digi: Add battery configuration and module autoload for CCIMX51JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b71d8395d5 meta-digi: Add camera support kernel configuration and module autoloading.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 43682a2d84 meta-digi: Automate the sahara kernel module loading.
The del-examples-sahara now depends on the kernel modules it needs to
work and these are autoloaded at boot.

Fixes DEL-274.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b4ff11cf9e meta-digi: Autoload kernel-module-mma7455l with del-examples-accelerometer.
For this the CCIMX51 and CCIMX53 kernels are configured to build the
mma7455l module and it is included as a dependency of the del-examples-
accelerometer application.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez a6f0aeaefc meta-digi-arm: Remove UART1 support from MX28 defconfig.
This conflicts with user led 2 used in the GPIO example add and with
other interfaces needed in the del-image-graphical image.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez e6043243e5 meta-digi-arm: Configure kernel sound with the alsa machine feature.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +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
Alex Gonzalez ffa592299e meta-digi-arm: Add configuration fragments support.
Fixes https://jira.digi.com/browse/DEL-122
Fixes https://jira.digi.com/browse/DEL-264

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Javier Viguera a2c0a78035 kernel-module-redpine: add driver load script
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 19:39:20 +01:00
Javier Viguera 5e63bd0e9e kernel-module-redpine: provide tarball with object files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 17:59:01 +01:00
Javier Viguera a7752aa067 kernel-module-redpine: simplify recipe
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 17:58:50 +01:00
Hector Palacios 3c3aac2628 ccardxmx28/config: enable USB suspend by default
Wakeup interrupts were not happening upon USB stick plug
events during normal work. This had the effect of the
interrupt happenign when going to suspend and usually when
the driver is not able to handle it, causing a nobody cared
message from the kernel.

https://jira.digi.com/browse/CCIMX28-326

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2013-02-19 11:23:46 +01:00
Alex Gonzalez 51f75c56ad meta-digi-arm: All git sources now point to the head of refs/heads/master.
All of the Yocto branches have finally been merged.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 18:22:24 +01:00
Alex Gonzalez 48e3cc4b99 meta-digi-arm: Use master for kernel-module-redpine.
The agonzal/yocto branch has now been merged to the master.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 18:52:42 +01:00
Alex Gonzalez d668f92834 meta-digi-arm: Use master for linux-imx and linux-libc-headers-imx.
The agonzal/yocto kernel branch has now been merged to the master.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 18:52:05 +01:00
Alex Gonzalez b3435cd892 meta-digi-arm: Synchronize defconfigs with kernel's.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 18:09:05 +01:00
Alex Gonzalez 171379f61b meta-digi-arm: Update kernel-module-atheros to master.
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
Alex Gonzalez 34831fe690 Revert "del-6.0.1-sprint4: Change SRCREV to sprint tags."
This reverts commit 5afd7a29d4.

Development will continue on branches.
2013-02-11 18:54:57 +01:00
Alex Gonzalez 5afd7a29d4 del-6.0.1-sprint4: Change SRCREV to sprint tags.
These are to be reverted after the SA drop.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-11 18:53:26 +01:00
Javier Viguera 0363754c32 meta-digi-arm: add 'gpio' kernel module
https://jira.digi.com/browse/DEL-241 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 13:51:04 +01:00
Alex Gonzalez 72bf617ff7 ccxmx51: Fix audio include in defconfig.
Fixes https://jira.digi.com/browse/DEL-223

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-01 13:10:17 +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
Javier Viguera b3d401779c meta-digi-arm: refresh/update kernel configs
Enable RFKILL. Otherwise on boot we get an error message:

rfkill: Cannot open RFKILL control device

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 12:41:57 +01:00
Alex Gonzalez e54bc6182f meta-digi-arm: Add kernel configuration file also for non dev images.
We need the kernel configuration file in /boot for some of the postint
scripts that aim to do smart things like autoconfigure the interfaces file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez a68c0ae54d kernel-module-redpine: Set mac address and wdmode from kernel command line.
The bootloader is passing the mac address and wdmode in the kernel command
line.

The driver startup script reads and and sets them.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez ad9436f733 kernel-module-atheros: Set mac address from kernel command line.
The bootloader is passing the mac address in the kernel command line.

The driver startup script reads it and sets it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez a14994bf80 kernel-module-redpine: Use agonzal/yocto branch.
This branch supports the new merged CCXMX platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-23 13:02:23 +01:00
Alex Gonzalez 2d5a01974e meta-digi-arm: Add kernel defconfigs for merged wireless and non wireless.
These new defconfigs are needed after merging the wireless and non wireless
products in the linux kernel source.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-23 13:00:07 +01:00
Alex Gonzalez b3116d67ff meta-digi-arm: Update kernel-module-redpine to 3.2.10
This also fixes https://jira.digi.com/browse/DEL-198

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 17:27:48 +01:00
Alex Gonzalez a8561208a0 meta-digi-arm: Fix redpine preup script for the ccxmx51.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 13:47:24 +01:00
Alex Gonzalez cec5fe3904 meta-digi-arm: Add atheros wireless module.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Javier Viguera 646702aadd meta-digi-arm: fix redpine build with gcc-4.7
Added patch that allows to build the driver with GCC-4.7 (used in Yocto
"Danny")

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 11:22:26 +01:00
Javier Viguera 9930e99124 meta-digi-arm: update kernel defconfigs
Synchronize with DEL's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:57:34 +01:00
Javier Viguera 69a72f1990 linux-imx: override SRC_URI for ccardxmx28js
This is done so the generic 'mxs' patches from FSL layer are not
applied.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:21:40 +01:00
Alex Gonzalez aa422599ff meta-digi-arm: Fix kernel-module-redpine compilation.
We need to split the EXTRA_OEMAKE flags as the do_make_scripts stage
fails if we pass a "M=" argument.

We override module_do_compile and module_do_install to add the extra
make flags as I have not found a working way of overriding EXTRA_OEMAKE.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:19:13 +01:00
Javier Viguera 7dfc09b818 recipes-kernel: fix soc-family SRCREV override
So it uses our own revision instead of FSL's.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-14 10:22:45 +01:00
Alex Gonzalez 77428b3f76 meta-digi: Replace the PR append.
Use +del.rn instead of +digi.n.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Alex Gonzalez f305d31d6f meta-digi: Add the redpine wireless driver.
This included the recipe where the driver is cloned from git and compiled
from source.

The recipe also copies the firmware files and the if-pre-up scrip.

Pending is the recipe to link from precompiled objects in a .tar.gz file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 17:00:18 +01:00
Alex Gonzalez 0778e10d3e meta-digi-arm: Add new variable DIGI_LOG_GIT.
And use it in all files that need it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 15:52:47 +01:00
Alex Gonzalez fa35263ffc meta-digi-arm: linux-libc-headers-imx bbappend.
Construct the headers from our own overriden linux-imx git and not the
default freescale one.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:41:56 +01:00
Alex Gonzalez 98114fb6bd meta-digi-arm: linux-imx, update recipe to use meta-fsl-arm/denzil.
Set machine specific SRCREV and LOCALVERSION.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:41:03 +01:00
Alex Gonzalez fa47770a80 meta-fsl-arm: Use the meta-fsl-arm linux-imx recipe.
Add a bbappend file and the corresponding defconfigs for all platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez d1ada2510e meta-fsl-arm: Rename linux-digi-2.6.35 folder to linux.
This is the same as the meta-fsl-arm layer and allows for more recipes
for different kernel versions to be considered.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez 48e88d93ea recipes-kernel: Add kernel recipe.
http://jira/jira/browse/DEL-93

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-29 16:11:07 +01:00