Commit Graph

2511 Commits

Author SHA1 Message Date
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 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
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 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
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
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
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
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 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
Javier Viguera 9dbc427651 meta-digi-dey: Add support for bluez5
https://jira.digi.com/browse/DEL-1941

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
Isaac Hermida 170a434f21 btfilter: Makefile: add -fgnu89-inline flag for gcc5
The problem is the change of the default C standard from gnu89 to gnu11
which changes the semantics of 'inline'. The issue is described in the
porting guide at https://gcc.gnu.org/gcc-5/porting_to.html.

Fix based on u-boot's commit dfc9c24

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:10 +01:00
Javier Viguera 59cc4b79c7 meta-digi-dey: update Digi logo used by webservers
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-06 16:20:35 +01:00
Javier Viguera e745219eb2 meta-digi-dey: disable dey-bluetooth image feature temporarily
It has a hard-coded dependence in bluez4 and this has been removed from
openembedded-core.

There is a different Jira for the bluez5 migration.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera 8e22cd80a9 meta-digi: remove gstreamer 0.10 support
Also remove QT4 phonon patches and qtmediaplayer demo as they depend on
gstreamer-0.10.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:29 +01:00
Javier Viguera cb28528da6 Revert "meta-digi-dey: fix overlay sink in FSL gst1.0 plugins"
This reverts commit f7e2e8bd2c.

FSL has updated this package to version v4.0.7 in meta-fsl-arm.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:35 +01:00
Javier Viguera 3c609650f5 Revert "meta-digi-dey: alsa-utils: Fix for pcm read return value"
This reverts commit d4fb6a238e.

The patch we were backporting to alsa-utils 1.0.28 is included in
alsa-utils 1.0.29 (which is used in Yocto 2.0).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:35 +01:00
Javier Viguera 36f22aaf95 meta-digi-dey: update wpa_supplicant to 2.4
Used in Yocto 2.0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:35 +01:00
Javier Viguera 23ebc6951b meta-digi-dey: update busybox to 1.23.2
Used in Yocto 2.0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:35 +01:00
Javier Viguera d35ac42dd0 meta-digi: remove support for MX5X platforms
ccimx51js and ccimx53js are not supported in this version of DEY.
Support for those platforms is in previous versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 13:56:38 +01:00
Javier Viguera 6506ee17c2 meta-digi-dey: update distro config for yocto 2.0
https://jira.digi.com/browse/DEL-1890

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 13:56:38 +01:00
Javier Viguera f7e2e8bd2c meta-digi-dey: fix overlay sink in FSL gst1.0 plugins
The mutex locking was not well resolved and a basic pipeline like:

  gst-launch-1.0 playbin uri=file:///run/media/mmcblk0p5/big_buck_bunny_480p_h264.mov

was failing with:

  Attempt to unlock mutex that was not locked

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-23 12:38:43 +02:00
Javier Viguera 2b53d7ffe7 meta-digi-dey: fix video sink in qt4 phonon patches
The FSL gstreamer-0.10 plugin has renamed the video sink from
'mfw_v4lsink' to 'imxv4l2sink' so the phonon patches need to be updated
accordingly.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-23 12:38:38 +02:00
Javier Viguera 7bdd639621 meta-digi: add gstreamer-1.0 to DEY images
https://jira.digi.com/browse/DEL-1850

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-23 11:23:28 +02:00
Alex Gonzalez 71cc373ebc meta-digi-arm: Remove the ath-prop-tools package.
This is an atheros proprietary package that contains the athtestcmd and
wmiconfig applications.

Neither of them are currently used.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-21 13:33:10 +02:00
Paul Osborne 35c0f5b8da meta-digi-dey: include microcom with busybox
Microcom is a minimal version of minicom and is extremely useful
for doing basic testing on target (for instance, talking to a modem
or other serial connected device).

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
(cherry picked from commit 90c6708e948c9b9942b48d425ff21e0affc2f8d7)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-19 14:50:12 +02:00
Jose Diaz de Grenu de Pedro f857ec87d2 meta-digi-dey: Use the timestamp from the name of the image as buildname
In yocto 1.8 if the BUILDNAME is empty, it gets filled with a timestamp
during the build. However the value and format of this timestamp are
different from the ones used in the name of the image.

This change matches the formats and values, setting the value of BUILDNAME
to the timestamp used in the name of the image.

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-10-15 19:59:54 +02:00
Javier Viguera afd194568f meta-digi: move WIRELESS_MODULE to machine config files
Which wireless module to use belongs more to the machine config files in
the BSP layer, than to the generic wireless packagegroup.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-15 18:01:15 +02:00
Isaac Hermida d4fb6a238e meta-digi-dey: alsa-utils: Fix for pcm read return value
Duration (-d) option was broken.

cherry pick from 8f361d83cfcb39887f5fc591633e68d9448e3425.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-10-13 17:52:20 +02:00
Javier Viguera 51a3bdb25f meta-digi: remove Linux preferred versions
There is only one kernel supported for each platform, so there is no
need to explicitly set the kernel preferred version.

Also:

* Remove IS_KERNEL_2X variable which is no longer needed.
* Simplify jenkins build script, now that we do not need to build two
  kernel versions for ccardimx28.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-07 16:44:26 +02:00
Javier Viguera 549371af11 meta-digi-dey: remove oracle java license from distro config
Not needed since we removed the oracle java recipe.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-06 18:30:33 +02:00
Javier Viguera ad0d0b7bfc meta-digi: cosmetic, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b52786156a43eb7b3c51a114797be5bf2896f313)
2015-09-29 11:53:10 +02:00
Jose Diaz de Grenu de Pedro 7084920cb4 meta-digi-dey: busybox: Moved bridgeifupdown into the version specific path.
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-09-18 13:17:33 +02:00
Jose Diaz de Grenu de Pedro 323de7c1b6 meta-digi-dey: dey-examples-rtc: added argument for selecting device node
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
https://jira.digi.com/browse/DEL-1701
2015-09-17 12:38:43 +02:00
Jose Diaz de Grenu de Pedro 7d8955430a meta-digi-dey: Add bridging support.
Add the networking configuration to support the creation of a bridge
interface.

Signed-off-by: Jose Diaz de Grenu de Pedro Jose.DiazdeGrenudePedro@digi.com
2015-09-17 10:45:45 +02:00
Javier Viguera ee1bf7d441 meta-digi-dey: remove sares-image bbclass
This was used just for SARES testing and according to the SA team it is
not needed anymore, so just remove it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-27 11:10:15 +02:00
Jose Diaz de Grenu de Pedro 952a8db5a3 meta-digi-dey: dey-examples: Moved dey-examples-adc and dey-examples-gpio
dependences for consistency

The GPIO and ADC examples are not meant for the mx6 familiy, so make their
dependences platform dependent

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-08-13 10:02:55 +02:00
Jose Diaz de Grenu de Pedro a288517471 meta-digi-dey: dey-examples: Fixed individual examples recipes
https://jira.digi.com/browse/DEL-1698

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
(cherry picked from commit 42997de56cf3f3943518e782332effad66965b21)

Conflicts:
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-bt.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-btconfig.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-can.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-hdp.bb
2015-08-13 10:01:59 +02:00
Javier Viguera 66853e465f meta-digi: disable atheros kernel module for ccimx6sbc
The external kernel module does not build with linux 3.14, and we want
to test the upstream driver included in the kernel tree.

So for the moment disable the external kernel module, to allow start
building images in the buildserver.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-07 15:59:40 +02:00
Javier Viguera 262957995c pointercal-xinput: remove PREFERRED_VERSION_linux-dey override
Now each platform is only supported in one kernel version, so there is
no need to have multiple calib files per linux kernel version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-05 11:56:51 +02:00
Javier Viguera 6a7f06b410 meta-digi-arm: remove support for kernel 2.6.35 on ccardimx28js
https://jira.digi.com/browse/DEL-1747

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-05 11:54:55 +02:00
Alex Gonzalez 90a6730c54 DIGI_EULA: Correct part number.
PN 90001132 is marked as obsolete. It was deprecated along with the
ConnectCore for i.MX51 EAK.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-30 16:06:33 +02:00
Alex Gonzalez ff946261ef meta-digi-dey: btfilter: ccimx6: Add variants 0x11/0x12 as bluetooth enabled.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-14 15:07:03 +02:00
Alex Gonzalez c014df997f packagegroup-dey-gstreamer: Add bluetooth plugin.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:49 +02:00
Alex Gonzalez 269e7644cb packagegroup-dey-bluetooth: Add alsa bluez plugin for bluetooth audio support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:45 +02:00
Alex Gonzalez df93676695 bluez4: Configure bluetooth audio.
Add the following lines to add support for the HSP/HFP and A2DP profiles,
and to route the audio through the HCI SCO channel:

	Enable=Source,Sink,Headset,Gateway,Control,Socket,Media
	SCORouting=HCI

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:40 +02:00
Javier Viguera 6dd31598d0 meta-digi: clean PACKAGE_ARCH from some recipes
Those packages are not machine specific, so there is no need to set
PACKAGE_ARCH to ${MACHINE_ARCH}.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-04-16 18:10:20 +02:00
Javier Viguera 43bd3f4e4e meta-digi: use recommended BP and BPN variables for FILESEXTRAPATHS
Also move files from generic 'files' folders to a more specific '${BP}'
or '${BPN}' folders. This is recommended to speed up the fetch of files
from the local machine, as the search is done in a certain order: ${BP},
${BPN}, and 'files'.

More info:
http://thread.gmane.org/gmane.linux.embedded.yocto.general/23550/focus=23576

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:12 +01:00
Javier Viguera 7f3e1a4d1a meta-digi-dey: use 'extrausers' class to set root password
This simplifies the code and as an extra allows to override the default
root password from the project's local.conf (setting MD5_ROOT_PASSWD
variable)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:12 +01:00
Javier Viguera ef92164fb2 meta-digi-dey: use 'image-buildinfo' to create '/etc/build'
Poky added a new class that provides the same functionality we
implemented in our 'dey-image' class. So just use that class instead
of reimplementing it in our layer.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:12 +01:00
Javier Viguera 8b2e4812fc meta-digi-dey: create sares-image bbclass
Remove 'dey-test' image feature and create a SARES bbclass with the
same functionality. This makes easier the creation of images suitable
for SARES testing just adding:

INHERIT += "sares-image"

to your project's local.conf

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 6c3e81825c meta-digi: remove deprecated PR from recipes
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 26d41b7d09 meta-digi-dey: update dey-image-graphical for yocto 1.8
owl-video and gpu-viv-bin packages have been removed

Fix:

ERROR: Nothing RPROVIDES 'owl-video'
ERROR: Nothing RPROVIDES 'gpu-viv-bin-mx6q'
ERROR: Nothing RPROVIDES 'gpu-viv-g2d'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 60ff626ed5 meta-digi-dey: update wpa_supplicant to 2.3
Remove the patch because it's now included in wpa_supplicant v2.3

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:43:51 +01:00
Javier Viguera b224ff2dd4 meta-digi-dey: update busybox to 1.23
Used in Yocto 1.8

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:43:18 +01:00
Javier Viguera 938fdefdb3 meta-digi-dey: update distro config for yocto 1.8
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:41:38 +01:00
Hector Palacios b482e2201d btfilter: bluez-init: add support for ccardimx28 variant 0x12
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-1556
(cherry picked from commit cdea8187fe4e7f3e0359919cef057b379362730a)

Conflicts:
	meta-digi-dey/recipes-connectivity/btfilter/files/bluez-init
2015-03-03 12:48:55 +01:00
Alex Gonzalez cdec338906 dey-examples: v4l2_test: Set capture mode.
Now it depends on the last set capture mode which may be not compatible.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-02-24 13:45:22 +01:00
Javier Viguera 66dc64f9f2 dey-image-graphical: fix QT support in toolchain/sdk
Changes in Poky (Dizzy) made our SDK unable to build QT applications.
This commit syncs again with upstream so the toolchain is able to build
QT apps.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-02-19 13:46:26 +01:00
Javier Viguera 0a51761163 meta-digi-dey: add Digi mirror
Add a Digi mirror for packages that have dissapeared upstream.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 0a01d3a5d0203d1ce75482677739bf0113da624d)
2015-02-05 16:40:40 +01:00
Javier Viguera cac6566d3b meta-digi: rename DIGI_MIRROR to DIGI_PKG_SRC
It has never been a mirror of upstream packages.

It's the URL of packages needed for the BSP. These packages are mostly
Digi specific and not provided in any other location.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit d4cf9a88c9db39c6ecfd0099437d82af81c96e85)
2015-02-05 16:40:03 +01:00
Javier Viguera d5f3361935 bluez init: add more HW variants for ccimx6
https://jira.digi.com/browse/DEL-1359

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 537803cb64809acbac243179d6d448ad6cd70b85)
2015-02-05 16:28:14 +01:00
Javier Viguera e46757c866 meta-digi: remove os-release from base-files
Yocto 1.7 Dizzy added support for os-release file in a new recipe, so
we need to remove it from our base-files bbappend in order to avoid
conflicts between both packages.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-16 16:48:26 +01:00
Javier Viguera ab2a23f427 packagegroup-dey-core: cosmetic (alphabetical order)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-16 16:41:22 +01:00
Javier Viguera 7469df6e2e busybox: enable rtcwake applet
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-09 15:28:05 +01:00
Alex Gonzalez 64cb390862 meta-digi-dey: Remove oracle-jse-jre recipes.
Customers will have to use the meta-oracle-java layer directly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-01-09 15:02:30 +01:00
Javier Viguera 217aadc7ae bluez init: rework script
Mostly coding style and simplifications. No functionality change.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-23 17:23:34 +01:00
Javier Viguera dbd966543e meta-digi: remove not supported ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-01 12:15:54 +01:00
Alex Gonzalez 0514d03e0e meta-digi-dey: Add a dey-image-tiny initramfs image.
To boot from TFTP/NFS you need something like:

    setenv uimage uImage-ccimx6sbc
    setenv initrdimg dey-image-tiny-initramfs-ccimx6sbc.rootfs.initramfs
    setenv fdt_file uImage-imx6q-ccimx6sbc.dtb
    setenv initrdaddr 0x22000000
    setenv bootargs console=ttymxc3,115200 rdinit=/sbin/init
    saveenv

    tftp $loadaddr $uimage
    tftp $initrdaddr $initrdimg
    tftp $fdt_addr $fdt_file

    bootm $loadaddr $initrdaddr $fdt_addr

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-01 11:51:51 +01:00
Alex Gonzalez d3d1b88cd5 meta-digi-dey: Add dey-image-tiny, a busybox only image.
This can be used as a template for size optimized images. It constraints
the use of X11 related packages and the image types used.

To build, add the following to your conf/local.conf:

DISTRO_FEATURES_remove = "x11"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-11-28 09:44:38 +01:00
Javier Viguera 23a677a355 shadow-securetty: remove bbappend
Custom 'securetty' not needed anymore as a patch sent upstream was
accepted.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-26 18:21:30 +01:00
Javier Viguera d5f41bbf58 init-ifupdown: add missing gateway patterns for eth1 and wlan0
Also remove config entries in '/etc/network/interfaces' if corresponding
variable is not defined.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-25 14:39:35 +01:00
Javier Viguera e0fcd4d199 meta-digi-dey: cosmetics, no functionality change
Indent SRC_URI values according to openembedded coding style.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-25 13:48:02 +01:00
Javier Viguera e1d95f25cc meta-digi-dey: provide DNS configuration at build time
Allows to configure static DNS servers in resolv.conf setting following
variables in your project's config file:

ETH0_STATIC_DNS, ETH1_STATIC_DNS, WLAN0_STATIC_DNS

Those variables accept multiple dns servers (separated by spaces)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-25 11:02:07 +01:00
Javier Viguera 4301bfc736 meta-digi-dey: rework rootfs resize on first boot
Use the package manager postinst framework to run the rootfs resize
script on first boot after the image has been flashed to the EMMC.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-20 18:01:29 +01:00
Javier Viguera f450cb3017 microwindows: fix build error
microwindows makefiles override some environment variables set by
bitbake. This makes the build fail with:

fatal error: gnu/stubs-soft.h: No such file or directory

Force those variables by passing them via the make command line.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-19 19:16:11 +01:00
Javier Viguera 919200e1aa busybox: update defconfig
* CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP to support 'connmand' for dhcp.
* CONFIG_CTTYHACK to make easier boot from an initramdisk.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:35:40 +01:00
Javier Viguera 1437c0c0cd nativesdk-packagegroup-sdk-host: remove bbappend
No longer needed because a patch with the same functionality was
accepted upstream (meta-fsl-arm).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:34:10 +01:00
Javier Viguera a779fb6ce6 initscripts: remove runtime dependency on util-linux umount
This was added in the past (dey-1.4) as a workaround for reboot/poweroff
issues not completing properly [DEL-633]. At that time the util-linux
umount command worked while the one from busybox didn't. Now this
workaround is not needed anymore. The reboot/poweroff commands complete
correctly with busybox' umount, so just remove the runtime dependence.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:33:40 +01:00
Javier Viguera 952bb005f9 meta-digi-dey: update distro config file for yocto 1.7
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:33:10 +01:00
Javier Viguera ecd4d11e94 wpa-supplicant: update to version 2.2 for yocto 1.7
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:32:40 +01:00
Javier Viguera 1a368aee2d shadow-securetty: update bbappend for yocto 1.7
ERROR: No recipes available for: shadow-securetty_4.1.4.3.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:31:40 +01:00
Javier Viguera a12152359c vsftpd: update bbappend for yocto 1.7
Remove the 'installed-vs-shipped' QA skip as it's not needed anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:30:40 +01:00
Javier Viguera 4de5782fe9 packagegroup*: set PACKAGE_ARCH before packagegroup inherit
This is now needed in yocto 1.7. Otherwise it fails with:

ERROR: Please ensure recipe packagegroup-dey-gstreamer.bb sets PACKAGE_ARCH before inherit packagegroup
ERROR: Please ensure recipe packagegroup-dey-examples.bb sets PACKAGE_ARCH before inherit packagegroup

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:30:10 +01:00
Javier Viguera 9a378a11bf bluez4: compile static version of the library
This installs 'libbluetooth.a' in the toolchain (needed to build static
binaries that use libbluetooth).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit f53ae4ab2af1bc5dd2f3f38f9d351d9eefd1f163)
2014-10-24 17:35:45 +02:00
Alex Gonzalez 9645162245 meta-digi-dey: wpa-supplicant: reduce verbosity
Do not log scan started events not to clutter the UI.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-10-24 11:48:29 +02:00
Javier Viguera bbb2758a79 v4l2_test: reset rotate to ROTATE_NONE on application launch
Start the application with a well known rotation value that works with
all the resolutions. Otherwise the rotation value is unknown because it
could have been changed in a previous run of the application.

Also in the kernel driver support was added to report EINVAL to
user-space in case the requested rotation is not supported. We use that
to not return from the 'v4l2_rotate' function without enabling again
the overlay preview.

https://jira.digi.com/browse/DEL-1068
https://jira.digi.com/browse/DEL-1205

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 2f7547a1b810683b813b708ba67e53ba156a9337)
2014-10-23 18:35:09 +02:00
Javier Viguera 45de4d6943 meta-digi-dey: add static libraries to generated toolchain
https://jira.digi.com/browse/DEL-1291

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-17 18:51:56 +02:00
Javier Viguera 411839713d v4l2_test: filter out invalid cropping height and width
The camera/driver does not support a cropping rectangle with height and
width less than 8 pixels. Add those limits to the sanity check of the
values in the user-space test application.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-09 16:05:33 +02:00
Javier Viguera bb66738f05 v4l2_still: add option to specify video source
https://jira.digi.com/browse/DEL-1225

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-08 16:47:03 +02:00
Javier Viguera cae66238d2 meta-digi-dey: fix distro name
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-06 17:54:43 +02:00
Javier Viguera 4f2af4505f meta-digi-dey: add QT4 host tools to DEY toolchain
This allows to easily build QT applications sourcing the toolchain
environment setup script and then running:

$ qmake -project
$ qmake
$ make

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-06 17:03:10 +02:00
Javier Viguera 6a725b31fc meta-digi-dey: blacklist adt-installer for DEY distro
The adt-installer hardcodes the distro version in URL paths to
yoctoproject website. This is ok if you control the website and the
versioning of the distro (for example using Poky as distro).

In DEY the versioning is not compatible with the content of the website,
so just blacklist the recipe. If anyone needs the adt-installer they can
download it from the Yoctoproject.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-03 17:23:33 +02:00
Javier Viguera 41feae9ad6 nativesdk-packagegroup-sdk-host: add nativesdk-u-boot-mkimage
Add the 'mkimage' host tool to the toolchains generated with 'bitbake
meta-toolchain' or with 'bitbake -c populate_sdk <image>'.

This allows to use the standalone toolchain to build kernel images of
type uImage (with u-boot header)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 19:08:05 +02:00
Javier Viguera 04c8925ded meta-digi-dey: remove poky references from DEY distro
We used to have these poky references to make 'adt-installer' happy when
built using DISTRO=dey.

But this has side effects on the standalone toolchain created with
'populate_sdk'. The standalone toolchain installer has:

* default install path referring to poky instead of dey
* default toolchain version not matching our DEY version

This is misleading for customers, so rework the distro config file
prioritizing the standalone toolchain over the adt-installer.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 18:35:54 +02:00
Javier Viguera 794f9f58dc meta-digi-dey: remove dey-gui distro
We used to have two distros:

  DEY: without X11 support
  DEY-GUI: with X11 support

After the change, we have just one DEY distro with X11 support. At the
same time add a CONFLICT_DISTRO_FEATURE to dey-image-minimal so it
cannot be built with X11 distro feature enabled. So now in order to
build 'dey-image-minimal':

DISTRO_FEATURES_remove = "x11"

needs to be added to your project's local.conf file.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:22:37 +02:00
Javier Viguera 5e3c8b3e13 meta-digi-dey: move NETWORK_MANAGER variable to x11-sato bbappend
NETWORK_MANAGER is a packagegroup-core-x11-sato recipe variable, so
override it in a bbappend instead of at a distro level.

At the same time remove a useless WEB variable from the image recipe.
WEB is a packagegroup-core-x11-sato local variable as well, and
overriding it in another recipe does not have any effect, so just
remove it.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:21:35 +02:00
Javier Viguera 9b59e02dea initscripts: recover support for static device table
This was working in dey-1.4 because there was a basic support for static
nodes in poky. They removed it in Yocto 1.6.

We still need this functionality, so add it here in the bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-19 15:50:47 +02:00
Javier Viguera f12cad7882 bluez4: use legacy pygobject instead of gobject-introspection
gobject introspection is not supported in Yocto, so there is not a
python binding package to use it.

Bluez4 uses such functionality in some of the test scripts. This patch
replaces it with the legacy pygobject, so they can work again.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 18:38:13 +02:00
Javier Viguera b67ad75565 dey.conf: bump distro version to 1.6.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 16:38:43 +02:00
Javier Viguera 15bc6db536 meta-digi-dey: rework dey-image-graphical image to save space
* Remove inconditional inclusion of dey-gstreamer: dey-image-minimal
  includes dey-gstreamer if MACHINE_FEATURES contains 'accel-video'
  so dey-image-graphical inherits this from dey-image-minimal.
  This does not make any difference for IMX platforms but allows to
  remove inconditional inclusion of dey-gstreamer for MXS. To allow
  'gaku' (sato audio player) playing MP3 files COMMERCIAL_AUDIO_PLUGINS
  is added to the distro config file.

* Only include 'owl-video' if MACHINE_FEATURES contains 'accel-video'.

* Remove inconditional inclusion of qt4-examples from dey-qt
  packagegroup. Package qt4-examples is part of the RRECOMMENDS for
  package qt4-demos, so it will be included anyway and not having it
  hard-coded allows to bad-recommend it for some platforms and not
  for others.

* Use BAD_RECOMMENDATIONS to avoid inclusion of 'qt4-demos-doc' package
  for all platforms (this package does not add any value and weights
  about 50MB) and 'qt4-examples' for ccardimx28js.

With all those changes, we get a graphical image with GTK + QT that fits
in the standard rootfs partition for ccardimx28js.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 12:09:58 +02:00
Javier Viguera 8d4656a978 qt4: integrate deprecated fsl-gui-extrafiles package
This package was used in 'meta-fsl-demos' layer, but was deprecated and
removed. It includes desktop launchers for QT4 demo/example apps. We
still show those demo apps, so integrate the launchers directly into a
qt4 bbappend.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 09:49:59 +02:00
Javier Viguera 9c98226892 dey-image-graphical: include QT
https://jira.digi.com/browse/DEL-1145

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-12 18:49:45 +02:00
Alex Gonzalez 8e7e7124d9 meta-digi-dey: init-ifupdown: Allow to configure interfaces file.
The interfaces file is now dynamically created for eth0, eth1 and wlan0. By
default they are configured if enabled in the machine features, and have
the same static configuration as before.

The static IPs can be configured as follows:

ETHn_STATIC_IP = "<ip address>"
ETHn_STATIC_NETMASK = "<netmask>"
ETHn_STATIC_GATEWAY = "<gateway>"

WLAN0_STATIC_IP = "<ip address>"
WLAN0_STATIC_NETMASK = "<netmask>"

To configure dynamic IPs you can use the following configuration in your
local.conf:

ETHn_DHCP = "dhcp"
WLAN0_DHCP = "dhcp"

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-11 18:01:59 +02:00
Alex Gonzalez c89c0f8443 meta-digi-dey: wpa-supplicant: Remove example adhoc configuration.
Adhoc mode is no longer supported by Atheros.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-09 16:44:48 +02:00
Javier Viguera 22fd403eeb cherokee: enable SSL/HTTPS support
https://jira.digi.com/browse/DEL-1214

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-08 18:25:08 +02:00
Alex Gonzalez e3b71e90dd btfilter: Rewrite netlink listener code.
https://jira.digi.com/browse/DEL-1174

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-08-26 19:10:35 +02:00
Javier Viguera 0d42da6e12 meta-digi: cosmetic, fix typos
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-05 16:07:11 +02:00
Alex Gonzalez f0222aba8d kernel-module-atheros: Remove atheros wireless before suspend.
By removing the driver on ifdown and loading it on ifup we workaround some
problems found in long run suspend stability testing.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-08-05 09:45:12 +02:00
Javier Viguera 0afd50c1d8 dey-examples: add bluetooth examples for ccimx6
https://jira.digi.com/browse/DEL-1141

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-30 13:39:35 +02:00
Javier Viguera df97e28cbe bluez init: add HW variants for ccimx6
https://jira.digi.com/browse/DEL-1157

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-30 12:37:18 +02:00
Javier Viguera 9e8c3630de meta-digi-dey: remove splash support
This removes the Openembedded logo and leaves the kernel splash until
the desktop is ready.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-29 19:36:50 +02:00
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
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 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 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
Alex Gonzalez 4c79ce2429 meta-digi: add bluetooth support to ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 14:31:06 +01:00
Javier Viguera 8e8cafb227 meta-digi: dynamically resize EXT4 filesystem to the partition size
https://jira.digi.com/browse/DEL-935

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Javier Viguera 0a7b0619d0 meta-digi-dey: sync local checkroot.sh script with upstream's
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 03e440ca9f dey-examples-rtc: add minutes resolution mode
rtc_test now can run with minutes instead of seconds resolution. This
is needed for RTCs that trigger the alarm on the minute register.

It also allows to override the default timeout from the command line.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 765bc52bda meta-digi-dey: add evtest, i2c-tools and tcpdump to dey-debug
While on it sort alphabetically.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 38a8b8b461 meta-digi-dey: support dey-examples for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 461b010e10 meta-digi-dey: add gpu binaries to graphical image
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 854910d3c0 meta-digi-dey: allow to compile wpa_supplicant for ccimx6adpt
Add the machine specific files for the ccimx6adpt platform. Initially
they are copied form the ccardimx28js as it is also planned to use
an Atheros chipset.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 43b0d201d8 meta-digi: add atheros wireless support for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:58 +01:00
Javier Viguera 1e2f8f98b1 meta-digi: add athtestcmd tool
This is a proprietary tool from Atheros to test wifi.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-23 15:07:03 +01:00
Alex Gonzalez 36cdf24425 meta-digi-dey: move packagegroup definitions to distro configuration
After the upstream commit in d63c8a1597c9bd0a838cb59ca461ac432b630a90,
bitbake checks to see if the image feature has a valid packagegroup
associated.

For this check to work dey features need to be defined for all images,
not only dey images, so the definitions need to move to the distro
configuration file.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-17 13:27:37 +01:00
Javier Viguera 9a681704d4 meta-digi-dey: remove support for wayland
Also make DEY image recipes more robust to misconfigurations, by setting
explicitly the required and conflict distro features.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-16 15:41:08 +01:00
Javier Viguera 0dc6b44dee meta-digi: do not hardcode machine related utilities
nvram, ubootenv and update_flash are machine related utilities. They
need to be configured per-platform via MACHINE_EXTRA_RDEPENDS and thus
leaving packagegroup-dey-core as much platform-agnostic as possible.

This also allows to skip these utilities for platforms not using them.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 17:32:30 +01:00
Javier Viguera e0aa5003d5 meta-digi: move libdigi and update-flash to BSP layer
These utilities are very tight to the hardware so they need to be in
the BSP layer. This way they can also be installed in a poky distro
core-image-minimal without meta-digi-dey layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 17:03:54 +01:00
Javier Viguera 55ead71345 meta-digi: use SERIAL_CONSOLES instead of SERIAL_CONSOLE
SERIAL_CONSOLE variable has been deprecated in poky. The new
SERIAL_CONSOLES allows to configure multiple devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 17:19:38 +01:00
Alex Gonzalez d3726ffff7 meta-digi-dey: add dey-test to the image features valid items
Features without a valid packagegroup need to be added to the
validitems list.

This needs to be in the distro configuration file as it needs to be
available to all images from all layers.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 14:21:10 +01:00
Javier Viguera 2d185c858d meta-digi-dey: update touchscreen calibration files
https://jira.digi.com/browse/DEL-910

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-09 13:14:09 +01:00
Javier Viguera 67f5c8b103 matchbox-keyboard: fix virtual keyboard on graphical images
Virtual keyboard was not showing up when clicking on the keyboard icon
in the menu bar. The reason was the keyboard xsession script was not
being run on X startup due to the extension '.shbg' of the original
script.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 19:18:31 +01:00
Javier Viguera fc5de6c6b4 matchbox-session-sato: use SHOWCURSOR from environment
Instead of using a SHOWCURSOR variable hardcoded from the
HAVE_TOUCHSCREEN environment var, allow to set it freely in formfactors
config file and use it to show (or not) the cursor in the graphic
session.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 14:05:58 +01:00
Javier Viguera bf6a924c26 meta-digi-dey: remove overlayed recipes
crda, stunnel: meta-networking
iw: meta-oe

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-27 14:03:18 +01:00
Javier Viguera 57ff70da45 meta-digi: use udev for all images (minimal and graphical)
https://jira.digi.com/browse/DEL-856
https://jira.digi.com/browse/DEL-898

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-27 14:03:01 +01:00
Javier Viguera 92beaacbda meta-digi-dey: update distro config files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 16:18:24 +01:00
Javier Viguera 7033be548c meta-digi: update busybox to version 1.21
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:27:48 +01:00
Javier Viguera 0a490894f7 meta-digi: remove packages removed upstream (meta-fsl-arm)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:26:43 +01:00
Javier Viguera f21f84127a vsftpd: upgrade bbappend version
package was upgraded upstream

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:26:11 +01:00
Javier Viguera 62f3fd298c libsoup: remove bbappend
The missing dependence was fixed upstream (poky).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:25:37 +01:00
Javier Viguera d7cfeb0fd3 meta-digi: update README files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-18 15:49:38 +01:00
Javier Viguera 5bd6bae9ca meta-digi-dey: enable again pulseaudio
This comes from the old Danny release where pulseaudio in minimal image
was giving a build failure (probablye due to dependences on X libraries)

This is not true anymore in Dylan, so just remove it for easier
maintenance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-29 11:43:54 +01:00
Javier Viguera 2817c51daa gst-fsl-plugin: increment FSL AAC decoder rank
Give priority to FSL AAC decoder over others from the community when
using gstreamer's playbin2 or gplay

This allows to play some videos that fail otherwise.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 19:36:12 +01:00
Javier Viguera dab4595df7 gst-fsl-plugin: fix patch that sets defaults for vssconfig
Without the fix if we only configure *one* display in the vssconfig file
(i.e. we set just one entry in that file) the patch was discarding that
configuration and overwriting the configuration with dual display
defaults.

But configuring a single display in vssconfig should be doable, so fix
the patch to allow that.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 19:23:28 +01:00
Javier Viguera 6fcd94fb98 gst-fsl-plugin: synchronize with DEL's package
We found that the gst-fsl-plugin package from Yocto is not exactly the
same than the one we used in DEL even though they have the same
version.

We think the one we used in DEL (released by FSL via LTIB) is more
recent and has some fixes, so create a first patch that applies on top
of the one in Yocto and convert it to the one in DEL.

Also instead of appending new patches to meta-fsl-arm SRC_URI, override
completely the variable and add the patches from meta-fsl-arm layer in
our own layer.

The final result is: we use the yocto tarball, then apply a first patch
that converts it to the one in DEL/LTIB, then apply the patches from
meta-fsl-arm and finally the ones added by us.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 19:03:23 +01:00
Javier Viguera 1bc9e7efae meta-digi: add video player to graphical image
Also remove 'gplay' utility from dey-image-graphical. It's a command
line application suitable to be used on minimal (non-X) images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 16:01:48 +01:00
Javier Viguera 141ecc0698 gst-fsl-plugin: fix mfw_v4lsink on secondary display patch
Fix the patch that adds support to select the framebuffer for
mfw_v4lsink. This used to work on non-graphical images (non-X), but it
had the side effect of breaking playing accelerated videos on graphical
images (using X) with graphica applications (QT, GTK).

This fix simplifies the patch so it still adds the dual display
functionality while not breaking the graphic media player applications.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 13:58:01 +01:00
Javier Viguera b0890b7566 gst-plugins-base: fix warning (ivorbis conflict)
Disable integer vorbis plugin as it conflicts with other vorbis
plugins. Error:

error: GLib-GObject-WARNING **: cannot register existing type `GstVorbisDec'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 13:02:12 +01:00
Javier Viguera 0dc21d460d meta-digi-dey: install most of the gstreamer plugins
This fixes a bunch of gstreamer related jiras:

https://jira.digi.com/browse/DEL-871
https://jira.digi.com/browse/DEL-873
https://jira.digi.com/browse/DEL-874

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 19:37:19 +01:00
Javier Viguera 1ee0e7b503 wpa_supplicant: convert recipe to bbappend
wpa_supplicant v2.0 was not available in Danny so we needed the whole
recipe, but it was updated in Dylan, so now we just need the bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 14:51:31 +01:00
Javier Viguera fed71f0ce3 rtc_test: do platform specific compilation
The source has machine specific code, so it needs the machine passed
in the compiler command line.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-14 11:36:36 +01:00
Javier Viguera 1f4cc31331 cherokee: change again the mirror for the SRC_URI
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-13 19:32:29 +01:00
Javier Viguera 301bd662d6 meta-digi: move udev-extraconf to BSP layer
So the IMX udev rules can be used without meta-digi-dey layer. For
example when building core-image-minimal with poky distro.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-11 13:20:14 +01:00
Javier Viguera 98de9212f0 busybox: enable WATCHDOG applet
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 18:15:19 +01:00
Javier Viguera 1cb6073749 meta-digi: remove cpx2 platform
This needs to be supported in the DBL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 14:21:09 +01:00
Javier Viguera 7778e60b0e net-snmp: remove bbappend
Patch was accepted/included upstream.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-07 16:25:29 +01:00
Javier Viguera 1866f03b0a meta-digi: do not enable spidev when touch is enabled
They conflict.

Warn the user about the problem and let they change the device tree
manually.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-29 18:13:52 +01:00
Javier Viguera c2055a5383 meta-digi-dey: remove legacy IMAGE_BASENAME
Fix: SDK graphical images '-sdk' being created with a filename without
'-sdk' suffix.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-28 14:38:10 +01:00
Javier Viguera 0c6eb85b0c meta-digi-dey: add bootscript to create static device nodes
Some test applications (e.g. gpio_test) use static device nodes. This
commit adds a bootscript that creates such device nodes reading from a
config file.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-21 17:12:14 +02:00
Javier Viguera 8bf9636ae9 meta-digi-dey: remove not needed BBMASK
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-18 16:00:38 +02:00
Javier Viguera a137f4f190 init-ifupdown: rework whole package
Simplify the package for maintainability and fix some minor things.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 11:36:48 +02:00
Javier Viguera f21718153c packagegroup-dey-core: add mtd-utils-ubifs package
This package provides 'ubiformat' command which is needed by
'update_flash' for UBI images.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 13:25:31 +02:00
Javier Viguera 05e143eeb0 meta-digi-dey: removed not needed gst-plugins-base bbappend
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:58:23 +02:00
Javier Viguera 1681b1fa6d meta-digi-dey: removed not needed gst-plugins-good bbappend
We are now using the standard yocto kernel headers so the patch to build
the plugin with new kernel headers is not needed.

The rest of the changes in the bbappend (removing gconf dependence) were
needed in yocto-danny, but not in yocto-dylan because the gconf package
does not depend on libx11 anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:57:51 +02:00
Javier Viguera 84aa411dec meta-digi-dey: removed not needed gst-plugins-ugly bbappend
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:57:18 +02:00
Javier Viguera c196ede975 gsf-fsl-plugins: fix loading some FSL gstreamer elements
(gst-plugin-scanner:1295): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_isink.so' : /usr/lib/libmfwvss.so.0:
undefined symbol: shm_open

(gst-plugin-scanner:1295): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_vpu_enc.s o':
/usr/lib/libmfwvss.so.0: undefined symbol: shm_open

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:56:45 +02:00
Javier Viguera bc664fde50 meta-digi-dey: support MP3 audio files
https://jira.digi.com/browse/DEL-663

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-09 18:22:44 +02:00
Javier Viguera 6b937bfa5a meta-digi-dey: mdev.conf: remove existing symlinks
https://jira.digi.com/browse/DEL-817

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-09 14:09:38 +02:00
Javier Viguera 4d0244409c libsoup: add missing build-time dependence
This is hidden using Poky distribution because Poky has X11 distro
feature and then other x11-related dependences pulls in intltool-native.

In our case DEY distro does not have X11 feature and thus
intltool-native is not part of libsoup dependences. Then sometimes fails
and sometimes not depending on the bitbake threads (BB_NUMBER_THREADS)
and other race conditions.

Adding the dependence explicitly fixes:

run.do_configure: intltoolize: command not found

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 13:56:43 +02:00
Javier Viguera 2efbca849d packagegroup-dey-examples: add virtual/kernel dependence
The availability of some examples depends on the kernel version, so we
need to add the dependence to the packagegroup as well.

This allows to build two ccardimx28 projects one for kernel 2.x and the
other for 3.x sharing the state-cache. Otherwise the first project
builds correctly but the second one fails.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 14:02:54 +02:00
Javier Viguera c33540030b meta-digi-dey: ccardimx28: use standard serial port for console
In ccardimx28 depending on the kernel version the console is on 'ttyAM0'
or 'ttyAMA0'. Use the standard serial port name ttyS0 for login (through
inittab) and let the device handlers create the symlink to the correct
device.

This allows to boot the same rootfs regardless of the kernel version.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:57:32 +02:00
Javier Viguera 684c6ea6e9 meta-digi-dey: add ttyAM[0-3] serial devices to securetty
Depending on the kernel version the serial device is created ttyAM0 or
ttyAMA0.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:55:51 +02:00
Javier Viguera b0247e7e05 meta-digi: add wmiconfig package for MXS
wmiconfig is Atheros proprietary code so the recipe builds from source
if DIGI_INTERNAL_GIT is defined or uses a prebuilt binary otherwise.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 14:06:37 +02:00
Javier Viguera b381473a0f dey-examples: use kernel staging include files
This allows to build dey-examples while using the linux-libc-headers
provided by Yocto.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:18:51 +02:00
Javier Viguera 82a0937ff6 meta-digi-dey: add tslib dependence only for non-X11 images
X11 graphical images do not use tslib. They use the 'evdev' X11 driver
to handle input events.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:21:55 +02:00
Javier Viguera e82f2105c2 pointercal.xinput: add calibration for ccardimx28js in linux 3.10
https://jira.digi.com/browse/DEL-670

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 16:43:56 +02:00
Javier Viguera e10600ea69 meta-digi-dey: rework mdev touchscreen handler
So it creates '/dev/input/touchscreen0' symbolic link for well known
touch screen devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-23 16:34:20 +02:00
Javier Viguera bc033c071d bluez4: add python runtime dependences
'simple-agent' python script included with this package depends on
python-pygobject and python-dbus

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 10:53:43 +02:00
Javier Viguera 090c8754f6 packagegroup-dey-examples: remove redundant override
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:25:05 +02:00
Javier Viguera 8ca43c4a78 initscripts: add runtime dependency on util-linux umount
The initscripts package includes a '/etc/init.d/umountfs' script used
for reboot/poweroff purposes. That script calls the 'umount' command
but seems that the combination of busybox' umount + linux-3.x fails in
this script (it hangs without completing the reboot/poweroff).

So as a workaround use the umount command from util-linux package

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:17:10 +02:00
Javier Viguera dc1499bd78 meta-digi: add IS_KERNEL_2X variable to be used in recipes
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:32:35 +02:00
Javier Viguera b1f76723a7 libdigi: support is_nand_oob_atomic for ccardimx28 in linux 3.x
Actually this is a workaround that probably needs to be generalized. But
at the moment the ccardimx28 is the only platform we have in linux 3.x
so it's enough.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-11 10:27:00 +02:00
Javier Viguera 9ad3ccc496 bluez: update init script to get the mac from the device tree
https://jira.digi.com/browse/DEL-635

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-06 17:54:56 +02:00
Javier Viguera d94a57ae0a cherokee: use mirror for package SRC_URI
The package is no longer available in the official cherokee site,
so download it from a mirror.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:30:51 +02:00
Javier Viguera a62f836601 net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
snmpd.c: undefined reference to `netsnmp_sd_listen_fds'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:27:45 +02:00
Javier Viguera 376f7672b6 vsftpd: remove fixes applied upstream
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:53:43 +02:00
Alex Gonzalez 2fbd3d55e7 meta-digi-dey: dey-examples, add linux-dey version dependency.
The dey-examples-adc and dey-examples-gpio packages are not meant to work
with a 3.10 kernel.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 10:17:48 +02:00
Alex Gonzalez d4df2750d4 meta-digi-dey: mdev, udev: Add serial and bluetooth devices.
https://jira.digi.com/browse/DEL-572

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:07:17 +02:00
Alex Gonzalez 4e76f14e42 meta-digi: Use proc device tree information for hwid information.
Modify the atheros and bluetooth init scripts to fetch the hwid details
from the device tree.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:06:34 +02:00
Alex Gonzalez cfd04a953b meta-digi-dey: Add acpid support for power key suspend/poweroff.
The acpid applet will run at startup and will listen for power input
events.

On arrival, it will timestamp the press event, wait for the release event
and decide whether to suspend or poweroff based on the time elapsed.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:50:04 +02:00
Javier Viguera 0907a087c1 meta-digi: update bluetooth to support Japan
Similar commit was done in DEL.

Japanese law limits the maximum transmit power for Bluetooth to 3 mW.
The cert field in OTP will be set to 2 when units are manufactured
for Japan.

Updated the bluez init script to configure Bluetooth for class 2
operation if the cert field is set to 2, and to delete the class 1
configuration file since it would be illegal to use it in Japan.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 1e248b81ac packagegroup-dey-audio: remove some alsa-utils dependences
Alsa-utils tools once compiled are distributed between a bunch of
different subpackages. Then 'alsa-utils' as a final package is just
a meta-package that depends on all of the different subpackages.

So instead of RDEPEND'ing on the alsa-utils metapackage, depend on just
a few of the alsa-utils subpackages.

This removes for example the 'alsa-utils-alsaconf' package that was
bringing bash into our rootfs.

Removing bash solves the problem of the lines-not-wrapped on the serial
console because now we use busybox' shell in the serial console.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera a47d7f73a4 gst-plugins-good: fix build with new kernel headers
In function 'gst_v4l2_fill_lists':
error: 'V4L2_CID_HCENTER_DEPRECATED' undeclared (first use in this function)
error: 'V4L2_CID_VCENTER_DEPRECATED' undeclared (first use in this function)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 97755ea730 meta-digi: fix build graphical image for ccardimx28
https://jira.digi.com/browse/DEL-585

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 9a7841e346 meta-digi-dey: remove fsl-mm-core bbappend
The bbappend was only cleaning-up some bitbake warnings. A patch has
been accepted upstream (meta-fsl-arm) to do the same.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 0f0a76a6f4 meta-digi: fix atheros recipes for new linux version
With the old version of the kernel (2.6.35) we build an external atheros
kernel module, while with the new kernel (3.10) the atheros driver is
included with the kernel sources.

However, the new driver needs the firmware files and the driver load
scripts that are stored with the old driver.

So put a dependence on kernel-module-atheros regardless of the kernel
version and then rework the kernel-module-atheros recipe to build the
whole driver for the old kernel or only the firmware for the new kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 84a66ee287 meta-digi-dey: simplify packagegroup recipes
The MACHINE_ESSENTIAL_EXTRA_* vars need to be only in the
'packagegroup-dey-core' recipe not in the rest of the packagegroups.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera e5ef733383 packagegroup-dey-core: add MACHINE_EXTRA_RRECOMMENDS
This is needed so the kernel modules configured in the kernel defconfig
get added to the rootfs image.

At the same time there is no need to add the usb gadget modules
separately because they are added in the machine extra recommends as
well.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:27 +02:00
Javier Viguera cacf212fc4 btfilter: fix build with libnl-3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:48:17 +02:00
Javier Viguera b971f39ac3 fsl-mm-codeclib: clean bitbake warnings
WARNING: File was already stripped ...
WARNING: QA Issue: debug files not shipped ...

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:46:16 +02:00
Javier Viguera 0d7e90319a meta-digi: rework gstreamer support for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:45:46 +02:00
Javier Viguera 1aa3e88855 netbase, init-ifupdown: rename bbappend
The 'netbase' package in poky's meta layer was splitted in netbase +
init-ifupdown.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:16 +02:00
Javier Viguera f47915f45a meta-digi: remove udev-173 bbappend
That version of udev was removed from 'meta-oe' and thus bitbake fails
to parse the recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:46 +02:00
Javier Viguera a81f5d0153 meta-digi-dey: remove libdvdread bbappend
The bbappend was done only to set the correct SRC_URI. This has been
fixed in upstream layer (meta-oe)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:16 +02:00
Javier Viguera cbb4ad1f39 meta-digi-dey: update distro config file for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:46 +02:00
Javier Viguera 91291212b9 meta-digi-dey: clean bitbake warnings
QA Issue: Variable ALLOW_EMPTY is set as not being package specific
QA Issue: Variable RPROVIDES is set as not being package specific

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:16 +02:00
Alex Gonzalez f5aa5e1a74 meta-digi-dey: Define different USB gadgets for 3.10 kernel.
The g-file-storage kernel has been replaced by the g-mass-storage.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez ee8e198c16 meta-digi-dey: Only include external atheros module for 2.6.35 kernel.
The 3.10 kernel uses the upstream atheros driver.

Also, rationalize the RDEPENDS in the recipe to use the wireless
module variable instead of hardcoding values.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 038f782d33 meta-digi-del: Add ttyAMA0 to mdev.
This is the serial name in the 3.x kernels for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 12f7017b58 meta-digi-dey: Add oracle-java for mxs and mx5 platforms.
https://jira.digi.com/browse/DEL-532

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-15 14:06:30 +02:00
Javier Viguera a4c6472815 meta-digi-dey: allow to mount the rootfs with 'noatime'
Remount the rootfs with 'noatime' option to minimize writes (avoiding
wearing-out the flash).

This also improves slightly the system performance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-04 11:48:24 +02:00
Javier Viguera 966753e404 dey-examples: restrict the compatible machines
Restrict the compatible machines to the ones we have tested the examples
on.

The rationale of this is to remove the compatibility with CPX2 where
we have not tested the DEL examples and actually adding 'dey-examples'
feature to a CPX2 project fails to build with:

ERROR: Nothing RPROVIDES 'dey-examples-adc' ..
ERROR: dey-examples-adc was skipped: incompatible with machine cpx2 (not in COMPATIBLE_MACHINE)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-02 17:26:23 +02:00
Javier Viguera cf67280cee microwindows: simplify and fix recipe
This recipe was way too complicated for what we need. Moreover there was
a build error in jenkins daily build due to this recipe:

WARNING: QA Issue: microwindows: Files/directories were installed but not shipped
  /usr/bin
  /usr/bin}
  /usr/bin}/fonts
NOTE: Tasks Summary: Attempted 2628 tasks of which 2469 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-dey-debug-dev:
|  * 	microwindows (= 0.91-dey.r0.0) *
|  * opkg_install_cmd: Cannot install package packagegroup-dey-debug-dev.

So simplify it and fix the dependence so the jenkins job can be built.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-27 19:47:34 +02:00
Alex Gonzalez 8f60a3cd07 dey: Change version to 1.3.0.
https://jira.digi.com/browse/DEL-512

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-21 11:00:14 +02:00
Javier Viguera 7a2cd37ad3 udev-extraconf: fix automount of block devices
Some block devices are incorrectly mounted by udev. Instead of mounting
the partition device it mounts the disk device. This commit enhances the
automount udev rule and mount script so it only applies to partitions.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:09:01 +02:00
Javier Viguera f92a7ad84a busybox: enable FEATURE_STAT_FORMAT
Allows to use '-c' parameter to 'stat' command.

This is needed in udev's automount script (next commit).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:07:49 +02:00
Alex Gonzalez 2eeb39fb72 meta-digi-dey: Use a different download location for cherokee.
The official cherokee project page has repacked the source and broken
backwards compatibility. They also erase old images when new ones are
released.

This commit changes the download location to a mirror with the original
tarball that also keeps the archives.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 6101d5925f meta-digi-dey: Update stunnel to version 4.56.
They removed old versions from the download location so 4.54 now fails.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 698df28ed6 meta-digi-dey: Fix ifup script for manual configuration.
The system freezes if we try to set the MAC addresses before the interface
is up, so check the state before doing it.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 17:02:10 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00