Commit Graph

760 Commits

Author SHA1 Message Date
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
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 b940f25eee meta-digi: update config templates for yocto 1.6
Codename not known at the moment

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera 5f5d88e853 busybox: rework bootscripts
So the output of 'reboot' command does not spread over different lines.
This is basically a cosmetic change to make target's output on reboot a
bit more beautiful.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera 2d2013e8da meta-digi: install mtd-utils-ubifs only in machines with flash memory
The ccimx6 does not have flash memory so there is no need to install
mtd-utils.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera 7fc50ada0f image_types_digi.bbclass: fix boot.vfat image creation
The way to create rootfs images has changed in poky master. The whole
process has been reworked in python and the hook to create a new image
is the IMAGE_CMD variable. The old 'runimagecmd' shell function has
been deleted so we cannot override it in our custom class.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera e11af0bec2 vsftpd: workaroud build failure
'/run/vsftpd/empty' directory is created at runtime via volatiles
bootscript under /run TMPFS.

Workaround error:

ERROR: QA Issue: vsftpd: Files/directories were installed but not shipped
  /run
  /run/vsftpd
  /run/vsftpd/empty
ERROR: QA run found fatal errors. Please consider fixing them.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:26 +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 60feecd578 meta-digi-arm: use xserver-xorg 1.14.4 for MX6
Currently Vivante does not provide a valid GL API so Xorg fails to link
against it, we cannot workaround it easily in newer Xorg version so
instead of maintaining a pile of patches for it we use 1.14.4 version
as an interim solution.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:49:49 +01:00
Javier Viguera 814b145ef5 meta-digi-dey: upgrade busybox
https://jira.digi.com/browse/DEL-996

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:47:38 +01:00
Javier Viguera 0a21196689 meta-digi-dey: upgrade wpa_supplicant
https://jira.digi.com/browse/DEL-996

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:47:35 +01:00
Javier Viguera e8361c176d meta-digi-dey: upgrade e2fsprogs
https://jira.digi.com/browse/DEL-996

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:47:29 +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 6a475f245f meta-digi-dey: rename PACKAGE_GROUP variable to FEATURE_PACKAGES
Clean bitbake warning:
WARNING: PACKAGE_GROUP is deprecated, please use FEATURE_PACKAGES instead

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:47:13 +01:00
Javier Viguera fc1ac720c0 meta-digi-arm: use 'nl80211' wpa_supplicant driver for MX6
The Atheros wifi chip uses 'nl80211'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-11 19:25:22 +01:00
Javier Viguera 6b7f1b2492 Revert "qt4-x11: workaround QT/EGL mismatch for MX6"
Similar patch sent upstream (meta-fsl-arm) was accepted.

This reverts commit b29a00fea6.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-11 15:43:56 +01:00
Javier Viguera a3f3d6125f meta-digi: mount boot partitions read-only
https://jira.digi.com/browse/DEL-949

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-10 11:53:20 +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 6e5501a24f meta-digi-arm: remove udev bbappend
It was added to fix [DEL-898] but it is no longer needed after the
underlying changes in the rootfs hierarchy (added '/run' mountpoint)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-06 17:17:26 +01:00
Javier Viguera 987418e5ee meta-digi: remove not needed files
These files were needed in previous versions of Yocto to overcome
different problems. Remove them as the default ones in current Yocto
version are good enough for our platforms.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-06 14:25:29 +01:00
Javier Viguera b29a00fea6 qt4-x11: workaround QT/EGL mismatch for MX6
Fix following error:

Warning: EGL suggested using X Visual ID 33 (ARGB0888) for EGL config 28 (ARGB0444), but this is incompatable
Unable to find an X11 visual which matches EGL config 28

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-06 10:30:18 +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 5651ce96f1 build.sh: support ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 11:48:43 +01:00
Javier Viguera a0c2099ec4 mkproject.sh: fix sed command to set concurrency parameters
With the update to Dora, the BB_NUMBER_THREADS and PARALLEL_MAKE entries
in the template config file changed slightly (added a '?'), but enough
so our mkproject script failed to match and configure them properly at
project creation time.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 18:59:05 +01:00
Javier Viguera 77be150871 meta-digi-arm: add new package u-boot-dey-fw-utils
Provides fw_printenv/fw_setenv utilities to read/write the u-boot
environment from Linux.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 13:43:02 +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
Javier Viguera 49c4bf8951 meta-digi-dey: drop ALLOW_EMPY from packagegroup recipes
This is not needed anymore after:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/packagegroup.bbclass#n14

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-26 10:44:39 +01:00
Javier Viguera 6e3694565e busybox: remove mdev extensions
We use udev as device manager both for minimal and graphical images so
there is no need for these mdev extensions anymore.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-26 10:31:39 +01:00
Javier Viguera 6fd93d7157 meta-digi-arm: do not create static nodes in rootfs images
We have all the kernels configured with DEVTMPFS support, so there is
no need to have static nodes in the image files. They are not used at
runtime because a TMPFS is mounted at '/dev'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-25 18:46:19 +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 0bcc1acb8c meta-digi-arm: Add asound states for imxhdmisoc.
The default alsa state for the i.MX6 HDMI audio driver.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-25 16:44:36 +01:00
Javier Viguera 2660a0da27 meta-digi-arm: implement 'boot.vfat' image type
At the moment this image is a VFAT file system containing the kernel
and the device tree blobs.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 14:31:46 +01:00