Commit Graph

1269 Commits

Author SHA1 Message Date
Javier Viguera 449008366f meta-digi-dey: configure default video source for qtmultimedia apps
https://jira.digi.com/browse/DEL-2015

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-14 17:40:02 +01:00
Javier Viguera 0f4606386c meta-digi-dey: add desktop shortcut for qmlvideo player
We will use 'qmlvideo' application for QT5 media player demo, so just
create a desktop launcher.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-14 17:24:37 +01:00
Javier Viguera fef0cd8da3 qt5: remove desktop launchers of some not-provided applications
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-14 14:33:46 +01:00
Javier Viguera 6dc6cadb72 meta-digi-dey: remove FSL QT5 camera and media player demo apps
These demo applications are only distributed in binary form. We don't
have the source code as an example for customers, so just remove them.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-14 12:07:20 +01:00
Urko Nalda 3428eee3d1 build.sh: add support for dey-image-tiny and dey-image-tiny-initramfs
In order to build tiny or tiny-initramfs images, the script adds
the line:

 DISTRO_FEATURES_remove = "x11"

to 'conf/local.conf' file.

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

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-10 12:42:23 +01:00
Javier Viguera 0e1bf79e56 qt5: qtwebengine: reduce parallel make jobs
The aim is to reduce even more the memory used by the host at build time
to avoid the OOM killer killing the linker.

Otherwise it can fail in machines with few memory even though the linker
is configured with '--no-keep-memory'.

Notice that we also reduce the parallel jobs expanded by 'ninja' build
system configuring and exporting NINJAFLAGS variable. Otherwise this
build system does not honor PARALLEL_MAKE variable.

Fix:
  arm-dey-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
  ninja: build stopped: subcommand failed.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-10 10:30:31 +01:00
Javier Viguera 79cca553e5 meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:43:05 +01:00
Javier Viguera 4d0febe384 meta-digi: update changelog and release notes for dey-2.0.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:41:43 +01:00
Javier Viguera cd2e929c92 meta-digi: update revisions for dey-2.0.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:28:05 +01:00
Javier Viguera 35108d2c32 modemmanager: add intltool-native dependency
The autotools class is trying to execute:

intltoolize --copy --force --automake

so there is a intltool-native dependency.

Fix:
  run.do_configure: intltoolize: not found
  ERROR: Function failed: do_configure

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-03 14:06:58 +01:00
Javier Viguera 0732296873 dey-image: support building QT SDK for DEY images
The meta-qt5 layer provides a 'populate_sdk_qt5' class with all what's
needed to build a SDK based on an image recipe.

Inherit the class here so it's available for all DEY image recipes
depending on 'dey-qt' image feature.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-01 19:35:06 +01:00
Javier Viguera 2222240dd5 meta-digi-dey: remove 'ptest' distro feature from distro config
This distro feature adds a lot of dependences when building a
toolchain/SDK (maininly all the *-ptest packages but some more). One of
those dependences fails when building the toolchain:

warning: Removing procps-3.3.10-r0.1@cortexa9hf_vfp_neon due to file /etc/sysctl.conf conflicting with base-files-3.0.14-r89.1@ccimx6sbc
error: procps-dev-3.3.10-r0.1 requires procps = 3.3.10-r0.1

There is no functionality loss because the 'ptest' packages are just a
sort of unit testing script for each package, and we are not testing all
the open source and third party packages.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-01 19:35:06 +01:00
Hector Palacios d98714b9bb meta-digi-arm: fix busfreq include on external GPU driver
After the merge of the kernel's stability patches, the driver
uses the include for Freescale BSP beyond 3.14.28.
Despite having applied the kernel stability patches and having
a kernel version beyond 3.14.28, we still use Freescale's BSP
for 3.14.28, so let's keep the busfreq include for any 3.14.x
version.

This patch may need to be reverted if the BSP is moved to a
newer one by Freescale.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2015-12-01 11:46:40 +01:00
Urko Nalda b64908b88e meta-digi-dey: modify where gatttool is installed from in bluez5
Add BLUEZ5_NOINST_TOOLS to bluetooth packagegroup. Gatttool is
added to BLUEZ5_NOINST_TOOLS in bluez5.inc so it is not necessary
to add gatttooll to do_install_append function.

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-01 09:29:46 +01:00
Urko Nalda 54ba526157 meta-digi-dey: hdp-test: port HDP test application to bluez5
https://jira.digi.com/browse/DEL-1936

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-01 09:29:46 +01:00
Urko Nalda a8c4447358 meta-digi-dey: add experimental flag to bluez5 recipe
Add support for bluez5 profiles under experimental flag.
Health Device Profile is an experimental profile.

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

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
2015-12-01 09:29:46 +01:00
Javier Viguera dfa8f5db18 packagegroup-dey-qt: add a selection of QT5 demos and examples
Adding these demo apps allows to install the base QT libs as well,
because they are resolved automatically by bitbake.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:29:14 +01:00
Javier Viguera f608985ed5 qt5: add FSL QT camera and media player demo apps
This is copied verbatim from the 'meta-fsl-bsp-release' layer. FSL
distributes these applications in binary-only form.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:29:12 +01:00
Javier Viguera c98cd2dde1 qt5: qtmultimedia: enable gstreamer backend at build time
Otherwise at run time there is no service available that is able to
manage the multimedia files and there is a failure:

requestService(): no service found for - "org.qt-project.qt.camera"
requestService(): no service found for - "org.qt-project.qt.mediaplayer"

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +01:00
Javier Viguera c3c2410aee qt5: qtbase: add more build-time configuration options
Otherwise the package fails to build with:

error: 'QAccessible' has not been declared

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +01:00
Javier Viguera eaa2fdb9d4 qt5: qtwebengine: decrease memory used by the linker
This is a build-time option, nothing to do with runtime. Decrease the
memory used by the linker to avoid being killed due to out-of-memory.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +01:00
Javier Viguera 1240e259c1 meta-digi-dey: remove QT4 support
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +01:00
Javier Viguera 93a2e115db meta-digi: add 'meta-qt5' layer to bblayers config file
https://jira.digi.com/browse/DEL-1972

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-30 19:27:04 +01:00
Hector Palacios a10e2a774a bluetooth: bring interface up before launching bluetoothd
If the bluetoothd daemon is launched before the interface is ready
RFCOMM/L2CAP listening socket connections fail (apparently because
the channel is not ready) with BlueZ 5.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-2042
2015-11-30 11:57:34 +01:00
Hector Palacios dbeab04bcf linux-3.14: build kernel from v3.14/dey-2.0/maint branch
This branch now contains stability patches v3.14.57

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2015-11-30 10:25:45 +01:00
Alex Gonzalez 8599227cd8 meta-digi-dey: busybox: acpi: Modify the behaviour of power key button.
We switch to the way it works in Android, short press (<2s) takes the target
to suspend and long press, >2s but <9s, performs a software controlled
power down.

Pressing longer than 9 seconds does the uncontrolled hardware power off
directly from the PMIC.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-11-24 19:36:10 +01:00
Jose Diaz de Grenu de Pedro 3549a999fc meta-digi-arm: image_types_digi: use TARGET_ARCH instead of ARCH
ARCH is not a documented variable in yocto, use the documented
TARGET_ARCH instead.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-11-24 16:27:20 +01:00
Javier Viguera eac12b6172 gstreamer1.0-plugins-bad: add patches from FSL official release
Patches from 'meta-fsl-bsp-release' branch 'fido_3.14.38_6UL_patch'.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-24 10:14:39 +01:00
Javier Viguera 1b041de0c3 gstreamer1.0-plugins-good: add patch from FSL official release
Patches from 'meta-fsl-bsp-release' branch 'fido_3.14.38_6UL_patch'.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-24 10:13:43 +01:00
Javier Viguera 922d474199 gstreamer1.0-plugins-base: add patch from FSL official release
Patches from 'meta-fsl-bsp-release' branch 'fido_3.14.38_6UL_patch'.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-24 10:13:08 +01:00
Javier Viguera ab91b0af5a gstreamer1.0: add patch from FSL official release
Patches from 'meta-fsl-bsp-release' branch 'fido_3.14.38_6UL_patch'.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-24 10:12:36 +01:00
Alex Gonzalez 71e1c61f8a busybox: pswitch-release: Fix incorrect return value.
For Busybox's ash, -1 is an Invalid Number.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-11-19 16:08:34 +01:00
Alex Gonzalez f9884afc12 meta-digi-arm: Remove the RTC pre/post actions in the suspend script.
These were historically needed for other platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-11-13 16:24:46 +01:00
Alex Gonzalez a77cd1406d meta-digi-arm: Remove wifi pre/post actions from suspend script
The suspend script did a ifup/ifdown on wlan0 to workaround issues we
had using wireless drivers on some platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-11-13 16:24:04 +01:00
Jose Diaz de Grenu de Pedro 99f55af6d4 meta-digi-dey: add 'cellular' distro feature
Use cellular distro feature to install or not cellular related packages
in our rootfs images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:49:15 +01:00
Jose Diaz de Grenu de Pedro 3cb3c7c03b init-ifupdown: add support for cellular interfaces
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:49:03 +01:00
Jose Diaz de Grenu de Pedro 75dd8c6cf3 ppp: add pppd config file for cellular devices
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:48:50 +01:00
Jose Diaz de Grenu de Pedro db1f1de590 meta-digi-dey: add modemmanager package
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:48:28 +01:00
Jose Diaz de Grenu de Pedro 42e0973f77 meta-digi-dey: add libqmi package
This is needed by modemmanager to support cellular devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-12 16:48:10 +01:00
Isaac Hermida be39d77093 bluez4: Added support for bluez4
yocto-2.0 (jethro) does not support bluez4 by default, it has been set
deprecated, but there is some functionality that does not work with bluez5
like bluetooth audio with alsa and some previous scripts like hdp.py are not
API compatible.
In order to compile a project with bluez4, just remove bluez5 from distro
features from your local.conf project.

	DISTRO_FEATURES_remove = "bluez5"

https://jira.digi.com/browse/DEL-1943
https://jira.digi.com/browse/DEL-995

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 3b3a8effa6 packagegroup-dey-bluetooth: Do not include btfilter support by default
Do not include the btfilter support in the default images. Its support is
not required for bluetooth functionality.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 2767f5be7c recipes-connectivity: Splited bluez and btfilter support in two different init scripts
btfilter (abtfilt) and bluetoothd are two independent services. Break the
relationship between them and split the support in independent init scripts

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 599627f214 bluez-init: check on the device tree if the variant has bluetooth
The script was basing on the variant coded in the HWID to determine
if the variant had bluetooth, by comparing to an array of hard-coded variants.
This required the script to be updated with every new variant that supported
Bluetooth.
The patch checks instead if the node 'bluetooth' exists at all in the device tree
to determine if the variant supports Bluetooth.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Isaac Hermida 52b4cfe35c recipes-connectivity: moved bluez-init script to bluez recipe
We want to unlink the script from abtfilt application, so moved to a different
recipe (that includes hciattach).

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-11 19:54:08 +01:00
Javier Viguera 545c92d8b4 meta-digi-arm: add GPU frequency patch to external gpu driver
This commit adds the minimum GPU frequency patch to the community
Vivante GPU driver repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-10 17:56:23 +01:00
Javier Viguera 16b2740fd5 build.sh: generate tarballs from git repositories
This is needed when you use a PREMIRROR (as we usually do in buildserver
builds). Otherwise there is a strange corner case where the do_fetch
task fails when the upstream git repo has been rebased and the old mirror
tarball does not have the new SHA1 revision.

ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/matchbox-window-manager'. Unable to fetch URL from any source.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-10 13:47:45 +01:00
Javier Viguera 000ad17184 meta-digi: remove machine specific WPA_DRIVER
Now that the MX5 platforms have been removed the only value for
WPA_DRIVER is 'nl80211' (used by Atheros wireless driver), so there is
no need to have a platform specific value.

Just initialize the value in the init-ifupdown recipe with a weak
assignment so it can be override from the project's local.conf.

https://jira.digi.com/browse/DEL-1890
https://jira.digi.com/browse/DEL-1969

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-09 17:40:11 +01:00
Isaac Hermida 0d5ab74c15 btfilter: bluez-init: Start bluetoothd daemon as service
blueoothd does not longer daemonize. It needs to be start-stop as a service

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
Isaac Hermida 15395448d5 bluez5: Adding gatttool to rootfs
gatttool is used for BLE. By default it is not installed.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
Isaac Hermida 4dbb6185d7 Revert "meta-digi-dey: disable dey-bluetooth image feature temporarily"
This reverts commit e745219eb2.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00