Commit Graph

32 Commits

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