Commit Graph

945 Commits

Author SHA1 Message Date
Alex Gonzalez f6febc28a0 meta-digi-arm: ccimx6sbc. Add machine configuration.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:29:48 +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
Alex Gonzalez 954a356d7d meta-digi-arm: u-boot-dey: ccimx6sbc: Add environment configuration.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 10:29:19 +02:00
Alex Gonzalez 98fe20dff1 meta-digi-arm: alsa-state: Add state for ccimx6sbc.
This is just a copy of the states for the ccimx6adpt.

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 e639db7ebf meta-digi-arm: rename kernel and fdt files to uboot defaults
https://jira.digi.com/browse/DEL-1057

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-06 14:09:03 +02:00
Javier Viguera f14807643c meta-digi-dey: handle dynamic layer configuration
Patch taken from meta-mentor and meta-fsl-arm.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-30 17:33:28 +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 5569e543d0 build.sh: make sure the clean command returns success
This is needed so jenkins jobs not using 'meta-digi-dey' (the layer
containing the cleaned recipe) can complete. Otherwise they fail with:

ERROR: Nothing PROVIDES 'packagegroup-dey-examples'

(for example using just the BSP layer 'meta-digi-arm' with standard
image recipes, e.g. core-image-minimal)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-25 12:11:29 +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 e4f9f9edb2 meta-digi: sync distro config file with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-11 15:31:27 +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 f18590fc62 bluez4: simplify bbappend
The bbappend was created mostly to install an old version of the
'simple-agent' test application (the one included in the package was
failing) but upstream (Poky) has fixed most of the issues, so our
bbappend is just needed now to enable 'health' profile support.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-10 13:44:07 +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 bbeca823aa meta-digi: sync distro config file with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-04 15:49:28 +02:00
Alex Gonzalez e5a2d8d8df meta-digi-dey: Change SDK_VERSION to 1.5.1
The 1.5+snapshot.new tag does not work, so until there is an official 1.6
release use the last 1.5.1 SDK.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-04-04 13:55:13 +02:00
Javier Viguera f7512c6d94 meta-digi-dey: add fsl-gui-extrafiles package
This packages was removed from 'meta-fsl-demos' and it's needed in our
graphical image, so for the moment add it to meta-digi-dey layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-04 13:39:18 +02:00
Javier Viguera be2bf5df10 init-ifupdown: make sure the exit value of the script is 0
Rework the conditional expression so the overall return value of the
script is not failure, because in that case the 'ifup' command fails
with:

run-parts: /etc/network/if-up.d/ifup exited with code 1

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-04 10:18:20 +02:00
Javier Viguera be88589716 meta-digi-arm: fix code to generate JFFS2 and UBIFS images
It was broken after the upgrade to Yocto 1.6 because the framework to
generate images in Yocto 1.6 changed.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-03 19:40:00 +02:00
Javier Viguera fa215a27b8 Revert "matchbox-keyboard: fix virtual keyboard on graphical images"
The fix was added upstream (Poky)

This reverts commit 67f5c8b103.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-03 11:46:31 +02:00
Javier Viguera aa6daab533 build.sh: purge the state-cache of problematic packages
In the buildserver we share the state-cache for all the different
platforms we build in a jenkins job. This may cause problems with
some packages that have different runtime dependencies depending on
the platform or variant.

Purge then the state-cache of those problematic packages between
platform builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-03 10:40:21 +02:00
Javier Viguera fb6b300acc cherokee: remove not needed mirror
This was needed in previous versions of Yocto, not anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-02 17:32:57 +02:00
Javier Viguera f2dcb7fea0 u-boot-fw-utils: support unlocking EMMC boot partition
By default EMMC boot partition is locked. This prevents fw_setenv
utility to configure the u-boot environment from Linux.

This commit adds a patch that unlocks the EMMC boot partition just
before writing into it and then locks it again once the environment is
written.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-01 19:14:22 +02:00
Javier Viguera 5f8a927f3a meta-digi: sync distro config file with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-01 16:18:58 +02:00
Javier Viguera 47f9a546e3 meta-digi: sync config templates with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-01 14:29:04 +02:00
Javier Viguera 5b9cb62599 u-boot: fix build of version 2009.08 for MX5
The setlocalversion script in u-boot 2009.08 did not have the
'--save-scmversion' parameter so the build was failing.

But for that version the whole do_compile_prepend can be removed because
it's not needed at all.

While on it, update the revisions for versions 2009.08 and 2013.01 to
include a fix done in 'setlocalversion' script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-31 17:25:45 +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 c8d1f48a9a meta-digi-arm: specify branch for git-based SRC_URI
This fix an error building 'nvram' for ccardimx28js:

ERROR: Fetcher failure: Unable to find revision ... in branch master even from
upstream

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-31 11:16:36 +02:00
Javier Viguera daba0679b2 meta-digi-dey: restrict SPIDEV warning for MXS platforms
https://jira.digi.com/browse/DEL-1022

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-28 18:48:33 +01:00
Javier Viguera 6044f0bac2 meta-digi-dey: enable can_test example for ccimx6adpt
https://jira.digi.com/browse/DEL-975

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-28 17:21:34 +01:00
Javier Viguera 9b370d5a79 meta-digi: remove PRINC from recipes and use a local PR server
This cleans following warning:

  Use of PRINC is deprecated.
  The PR server should be used to automatically increment the PR.
  See: https://wiki.yoctoproject.org/wiki/PR_Service

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-27 18:44:35 +01:00
Javier Viguera 4bc52ccbbe meta-digi-dey: remove packagegroup-core-x11-sato bbappend
The purpose of this bbappend was just to remove the 'connman-gnome'
network manager that is the default in sato.

This can be done also in the distro config file without the need for a
recipe bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-27 17:58:16 +01:00
Javier Viguera 9d7861c297 meta-digi: update boot partition name in udev rule
The boot partions name has been changed in u-boot, so change it also
here to match current u-boot.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-27 16:49:13 +01:00
Javier Viguera cb1818f7b6 meta-digi-arm: add u-boot script to boot from SD card
https://jira.digi.com/browse/DEL-980

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-26 19:53:08 +01:00
Javier Viguera 3f17dd091e meta-digi-arm: fix u-boot version string
Building u-boot with Yocto does not show the version string in the
u-boot header. This is due to how Yocto compiles u-boot. It creates a
.scmversion file which may contain LOCALVERSION strings but in our case
it's empty. Later at build time u-boot's setlocalversion script detects
that file exists and exits with no further action (because it assumes
the file contains the version string).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-25 15:42:12 +01: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
Alex Gonzalez 83b69de704 meta-digi-dey: Add eclipse-debug to sdk images.
This is needed in order to use eclipse as a graphical debugging IDE with
the Yocto eclipse plugin.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-03-14 18:24:29 +01:00
Javier Viguera 240ed81349 meta-digi: fix build util-linux-native on older hosts
The build was failing in our Jenkins server (Debian 6) with:

error: 'MS_PRIVATE' undeclared
error: 'MS_REC' undeclared

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 17:40:27 +01:00
Alex Gonzalez 87f306a0d5 meta-digi-dey: Change SDK_VERSION to a real tag in adtrepo.
The adt-installer will use this tag to access content from
http://adtrepo.yoctoproject.org/, so the tag must be an existing folder.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-03-14 16:19:24 +01:00
Javier Viguera 84eacbab7f meta-digi-dey: update distro config file for yocto 1.6
https://jira.digi.com/browse/DEL-996

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00