Commit Graph

1150 Commits

Author SHA1 Message Date
Javier Viguera e64abf4d17 meta-digi-dey: remove old minimal and graphical images
DEY provides a new dey-image-qt image (for fb and X11).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-04 19:56:22 +01:00
Javier Viguera 7fa60f80f9 meta-digi-dey: add new 'dey-image-qt' image
This image provides a demo rootfs with QT. It can be built for
framebuffer and also for X11.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-04 19:55:51 +01:00
Javier Viguera bb32e981dd build-github.sh: update to new github account 'digi-embedded'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-04 19:55:18 +01:00
Javier Viguera 76415ed99e meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:45:16 +01:00
Javier Viguera 529507ef0b meta-digi: update changelog and release notes for dey-2.0-r1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:43:10 +01:00
Javier Viguera 842c17a9b2 meta-digi: update revisions for dey-2.0-r1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:16:14 +01:00
Javier Viguera f4920f2837 meta-digi-dey: bump distro version to 2.0-r1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 16:21:40 +01:00
Hector Palacios a8d9d7a292 meta-digi-arm: ccimx6sbc: add *.dtb files for SBC IDs
There are different SBC boards IDs each one having a different
device tree file in the form imx6X-ccimx6sbc-idZZZ.dtb, where:
	X is the CPU family (q=Quad/Dual, dl=DualLite/Solo).
	ZZZ is the board ID number.

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

https://jira.digi.com/browse/DEL-2160
2016-02-02 12:22:21 +01:00
Javier Viguera 7915cc9c3f meta-digi: update to new github account 'digi-embedded'
As the plan is to use the same git objects (SHA1) in the internal and
github repos, also remove that internal/external SRCREV infrastructure.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-01 18:52:45 +01:00
Javier Viguera 2bc7e6b026 meta-dig-dey: remove BBMASK
We were masking meta-fsl-arm linux recipes to clean some warnings on
bitbake parsing. This does not happen anymore with new versions of
Yocto, so just remove this BBMASK.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-01 18:50:14 +01:00
Hector Palacios 607d703246 u-boot: select $fdt_file basing on $board_id (if defined)
Carrier board version is determined by U-Boot variable $board_id
which will be defined if a board ID has been burned on certain
OTP bits.
Use the value in this variable to create the $fdt_file variable
using the suffix "-id${board_id}" to point to the device tree
file that matches that board ID.

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

https://jira.digi.com/browse/DEL-2160
2016-01-29 13:26:12 +01:00
Javier Viguera f9d9544e5f packagegroup-dey-qt: add qtconnectivity-examples
Adds the QT5 bluetooth libraries and examples.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-25 16:18:24 +01:00
Javier Viguera d7b18512dc packagegroup-dey-bluetooth: add bluez5-obex package
This install the 'obexd' server which is needed for the QT5 bluetooth
file transfer example applications.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-25 16:17:53 +01:00
Javier Viguera 6a66656161 qtconnectivity, qtsystems: fix bluetooth support
Generalize bluetooth support so it can be used not only with bluez4 but
with bluez5 as well. Use EXTRA_QMAKEVARS_PRE to pass the packageconfig
options to the do_configure task.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-25 16:17:21 +01:00
Javier Viguera 0b07af3bef sysvinit: disable all cpu cores but cpu0 on halt/reboot
This is a user-space workaround for the reboot/poweroff problems we
are having in the ccimx6sbc. Seems that they are not reproducible when
only one core is enabled, so the workaround is to disable the rest of
the cores for rebooting/halting.

https://jira.digi.com/browse/DEL-2133
https://jira.digi.com/browse/DEL-2148

Signed-off-by: Javier Viguera <javier.viguera@digi.com>

(cherry picked from commit a9e36a74bb20ab38f220116ba2742dca3d80c293)
2016-01-22 10:36:31 +01:00
Javier Viguera ef230a3616 gst-player: support setting the video sink from environment var
Also initialize the video sink to 'glimagesink' in case it has not been
configured from the environment, but only for the X11 application
(gtk-play). This recipe also provides a command line application for
framebuffer (gst-play) that is not affected by this change.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-15 17:25:19 +01:00
Isaac Hermida 7a71e12e47 meta-digi-arm: Enable DMA_CMA option in ccimx6sbc defconfig
Sync defconfig with kernel sha1 d1795451fe97a8498bde9c5bff727adb481f7379

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-01-13 17:14:10 +01:00
Javier Viguera 407c87688b meta-digi: sync config templates with yocto 2.0
This disables images prelink, which according to the mailing lists it's
broken for ARM and other architectures. It's also reported to make gdb
fail sometimes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-07 12:01:43 +01:00
Javier Viguera 93864cc3c4 gstreamer packagegroup: add gstreamer1.0-rtsp-server
Adds the library and the example applications.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-29 16:52:00 +01:00
Javier Viguera 3605d12627 gstreamer1.0-rtsp-server: create examples package
The example applications are not packaged by default, so extend the
recipe to create a package with the example applications.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-29 16:50:19 +01:00
Hector Palacios ee27c907d1 bluez-init: skip BT power GPIO toggling if undefined
The script toggles the BT power GPIO regardless of the value being
undefined.
Check that the GPIO is defined before trying to toggle it.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2015-12-28 17:08:18 +01:00
Hector Palacios 84e152f1ca bluez-init: get BT power GPIO basing on compatible module
The BT power GPIOgpio was determined basing on machine name on device tree.
This corresponds to the name of the board, and might be changed by a user
that designs his own carrier board to use the module on.
Besides, the BT power GPIO is a pin that's routed on the module (both on
the ConnectCore 6 and on the ConnectCard for i.MX28) not on the carrier
board.

This commit determines the BT power GPIO basing on the module string inside
the 'compatible' property. This must exactly match the module name and is
a required property for using Digi module's BSP.

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

https://jira.digi.com/browse/DEL-2109
2015-12-28 17:08:18 +01:00
Javier Viguera 52c8fb836a meta-digi-dey: remove X11 limitation for dey-image-graphical
So we can build a 'dey-image-graphical' image for framebuffer with
support for QT5.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-22 14:35:04 +01:00
Javier Viguera eb01102976 meta-digi-dey: clean dey-image-graphical image
No functional change, as 'package-management' is added via the included
dey-image-minimal recipe, and 'pointercal-xinput' is a dependence of
xinput-calibrator which is added for X11 images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-22 14:35:04 +01:00
Javier Viguera e3b4c006f5 qt5: configure EGLFS platform automatically for non-X11 images
By default QT5 applications use 'xcb' platform plugin but this can be
changed using the QT_QPA_PLATFORM environment variable. On non-X11
images the 'xcb' platform plugin obviously does not work, so just
configure 'eglfs' for non-X11 images.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-22 14:35:04 +01:00
Javier Viguera 4ca14779ca qt5: qt5everywheredemo: update to latest from upstream
It has been adapted to work with more recent versions of QT5.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-21 19:05:56 +01:00
Javier Viguera 616b933e7b qt5: qtbase: enable sqlite build-time configuration
There are some demo apps that otherwise fail with:
  QSqlDatabase: QSQLITE driver not loaded
  QSqlDatabase: available drivers:

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-21 19:05:24 +01:00
Javier Viguera 9248b31956 Revert "meta-digi-dey: add desktop shortcut for camera demo app"
This demo app is very generic and does not play well with FSL gstreamer
plugin, so using it just crashes in different ways (doing a camera zoom,
recording a video, etc)

This reverts commit 2776dcd654.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-16 18:50:04 +01:00
Javier Viguera 8b93981e40 meta-digi-arm: remove 256MB u-boot configuration
That's the u-boot configuration used by variants 0x07 and 0x09, which
have been cancelled and are no longer supported by DEY.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-16 12:05:48 +01:00
Javier Viguera 83a80bb9ce meta-digi: add support for CC6 variant 0x13
https://jira.digi.com/browse/DEL-2100

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-15 18:05:23 +01:00
Javier Viguera 2776dcd654 meta-digi-dey: add desktop shortcut for camera demo app
https://jira.digi.com/browse/DEL-2015

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-14 17:48:06 +01:00
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