Commit Graph

161 Commits

Author SHA1 Message Date
Javier Viguera 656e0cbfc5 pointercal-xinput: use generic bbappend
Use the wildcard for recipe matching. This makes easier the update of
recipe versions.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-29 18:58:27 +02:00
Javier Viguera cb47933305 pointercal.xinput: add empty calibration for ccimx6
Override the default from meta-fsl-arm for MX6 which is configured for
eGalax touchscreen.

We create an empty calibration file because the Fusion touch works just
fine without calibration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-29 18:54:28 +02:00
Javier Viguera d664364858 dey-examples: 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:34 +02:00
Javier Viguera b4a589e196 sysvinit: 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:29 +02:00
Javier Viguera 40c4b02ebd pointercal-xinput: 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:25 +02:00
Javier Viguera 6eb1fc7c4d wpa_supplicant: 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:21 +02:00
Javier Viguera 7e5c25fc70 sysvinit: use update-rc.d to remove bootlogd symlinks
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-09 18:36:25 +02:00
Javier Viguera c3e5f0d359 busybox: remove 'resume_storage_devices' function from suspend script
This was needed to overcome some corner cases with storage devices on
suspend/resume using MDEV as device handler.

Now we are using UDEV and after some tests done it seems that the
'resume_storage_devices' hack is not needed anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-26 10:38:51 +02:00
Javier Viguera f4857a582c busybox: disable '-R' udhcpc option from ifupdown
udhcpc's '-R' option means 'Release IP on exit'.

This fixes a strange corner case on reboot: if you configure your network
interface to DHCP in '/etc/network/interfaces' AND you have some NFS
share mounted on your system, then running reboot command fails to
complete and it hangs on:

'Unmounting local filesystem'

This happens because on reboot TERM and KILL signals are sent to all
the processes in the system before umounting the local filesystem. When
udhcpc daemon receives the signal it exits and releases the IP (because
it was launched with '-R') leaving an unconfigured network interface
that later is unable to umount a network filesystem (NFS), resulting on
'reboot' command being unable to complete.

Removing the '-R' option from udchpc allows to kill the process without
unconfiguring the network interface.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-25 17:32:43 +02:00
Javier Viguera e4dd8983ed busybox: tweak defconfig
The original defconfig came from DEL. Make the defconfig more similar to
the Yocto default one.

This restores the default udhcpc options when running via ifup to '-R
-n'. This is important because without '-n' the target can wait forever
to get an IP on boot while maybe the network is not available.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 17:22:31 +02:00
Javier Viguera da15544343 cherokee: remove not needed mirror
Finally OE added a copy of cherokee tarball in its own mirror:

http://sources.openembedded.org/cherokee-1.2.98.tar.gz

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 13:47:22 +02:00
Javier Viguera c726a9c0bb mplayer: remove bbappend
In Yocto Daisy mplayer is not supported. Trying to build it fails with:

ERROR: Nothing PROVIDES 'mplayer'
ERROR: mplayer2 PROVIDES mplayer but was skipped: Recipe is blacklisted: Requires newer libav which has negative D_P

This is because it has been blacklisted in commit:

http://cgit.openembedded.org/meta-openembedded/commit/?id=2e7f3ce93b2c9864037fba8cc68fde46aafac4b0

The reason is that is has a build-time dependence on libav being newer
than the one provided by Yocto.

We don't use mplayer on ccimx6 as it has accelerated video using
gstreamer, so just remove the bbappend for this release.

Probably we need to revisit this when we upgrade our ccardimx28 support
to new versions of Yocto and upstream has removed the recipe from the
blacklist.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-12 13:20:08 +02:00
Javier Viguera 3ac3f03242 dey-examples: add opengl example apps for mx6
https://jira.digi.com/browse/DEL-804

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-04 13:49:58 +02:00
Javier Viguera 6677b913b0 meta-digi: remove ALLOW_EMPTY hacks for libdigi and microwindows
Those hacks were added to fix a problem when building development images
(with 'dev-pkgs' image feature enabled). In that case the developemnt
packages (libdigi-dev and microwindows-dev) have a dependence on the
normal packages (libdigi and microwindows). But those packages are not
created by default because they are empty, thus the needed ALLOW_EMPTY hack.

Fix the problem by just resetting the runtime dependences of the -dev
packages. This allows to not create empty libdigi and microwindows
packages.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-29 17:20:45 +02:00
Javier Viguera 898d63947d dey.conf: bump distro version to 1.6.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 12:43:12 +02:00
Alex Gonzalez c60d314512 meta-digi-dey: dey-examples-v4l2: Add to mx6 platforms.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +02:00
Alex Gonzalez e98d5d826a meta-digi-dey: dey-examples-v4l2: Add YUYV pixel format as argument.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +02:00
Alex Gonzalez 0e4a6616e7 meta-digi-dey: Use videodev2.h for kernels from 2.6.38 onwards.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +02:00
Alex Gonzalez 45f09525f4 meta-digi-dey: dey-examples-v4l2: The VIDIOC_G_FMT syscall needs a format
type.

Newer kernels (3.x) return an error if this is not the case.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +02:00
Alex Gonzalez d0fc504a1e meta-digi-dey: dey-examples-v4l2: Remove dependency on ipu.h.
On newer kernels (3.x), including ipu.h brings in too many dependencies.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +02:00
Javier Viguera be2be26029 cherokee: add again a mirror for the SRC_URI
cherokee-project.de mirror is no longer available

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-20 10:28:46 +02:00
Alex Gonzalez 59f33e67c6 meta-digi-dey: wpa-supplicant: ccimx6sbc: Add defconfig and configuration.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:10 +02:00
Alex Gonzalez 7e5708b5fc meta-digi-dey: dey-examples: ccimx6sbc: Add examples.
This is the same as for the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:10 +02:00
Alex Gonzalez 6c96b14f99 meta-digi-dey: sysvinit: ccimx6sbc: Resize rootfs on boot.
This is the same as for the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:10 +02:00
Alex Gonzalez 7477b7d446 meta-digi-dey: btfilter: ccimx6sbc: Add bluez init script.
This is the same as for the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:01 +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 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 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 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 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 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 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 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
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
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 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 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 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 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 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