Commit Graph

193 Commits

Author SHA1 Message Date
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