Commit Graph

742 Commits

Author SHA1 Message Date
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 f729e76654 meta-digi-arm: build JFFS2 images for ccardimx28 and kernel 3.10
Previously jffs2 images flashed from u-boot were not booting Linux. The
kernel was unable to mount the rootfs.

There have been some patches lately in the kernel that fix this problem,
so build jffs2 images.

Nevertheless the default image type is still ubifs when using linux 3.x.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-17 10:51:04 +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 1466a3ff79 meta-digi-arm: move UBOOT_SUFFIX to the machine config files
So it can be used out of the u-boot recipe (for example to create
bootable sdcard images).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-16 10:37:04 +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 0f34d4907d meta-digi-arm: fix UBOOT_ENTRYPOINT for all platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 14:37:23 +01:00
Javier Viguera 09b632b740 meta-digi-arm: sync kernel recipes with meta-fsl-arm's
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 14:27:57 +01:00
Javier Viguera 4b1af59edc digi-defaults: cosmetic (alphabetical order)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 19:20:06 +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 7a82eab0c7 meta-digi-arm: rework device tree customization
The do_update_dts function was hardcoded for ccardimx28js. We need to
make it mxs specific so the recipe can be used for other platforms that
do not share the same device tree configuration (for example the
upcoming ccimx6js)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 12:24:29 +01:00
Javier Viguera 16b0ccf3e2 meta-digi-arm: parameterize the kernel branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-13 17:20:53 +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 9dd8939196 meta-digi-arm: add formfactor config files
Formfactor config files are needed in now so the touchscreen calibration
is loaded on target's boot. Otherwise the touch is not calibrated.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 14:02:23 +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 5bbcd32eec meta-digi-arm: use AUTOREV to get latest revision for Linux kernel
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 14:51:12 +01:00
Javier Viguera 6abb629fc9 meta-digi-arm: use 'fsl-dynamic-packagearch' class in machine files
Functionality added in 'meta-fsl-arm' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 14:50:45 +01:00
Javier Viguera e4a6921eb4 meta-digi-arm: remove amd-gpu-bin packages
Included in upstream 'meta-fsl-arm'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:28:21 +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 670fd05e89 meta-digi-arm: remove imx-lib bbappend
The bbappend only has a patch that does not apply anymore to the new
version of the package upstream (11.09.02).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:27:16 +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 07541f125d meta-digi: update config templates for yocto dora
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:25:06 +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 2070b7149a wmiconfig: fix checksums of binary file
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-17 18:18:44 +01:00
Javier Viguera dbddb73910 kernel-module-atheros: increase delay between modules load
To be sure the 'cfg80211' module is settled down before the
'ath6kl_sdio' module tries to use it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-16 14:53:04 +01:00
Javier Viguera 0ce3d19af7 meta-digi-arm: update kernel revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-16 12:05:28 +01:00
Javier Viguera f04b8c81aa kernel-module-atheros: revert to version v3.4p4 of the driver
Version v3.4p6 seems to have some problems with WEP encription. Version
v3.4p4 seems to work better with WEP, so revert to that version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-04 19:27:59 +01:00
Javier Viguera 91a9586afe meta-digi-arm: disable camera 2 on MX5 as it conflicts with VGA
https://jira.digi.com/browse/DEL-881

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-02 18:12:44 +01:00
Javier Viguera fdc3833167 meta-digi-arm: refresh defconfig files for kernel 2.6.35.14
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-02 18:10:50 +01:00
Javier Viguera 4e6afeb17f imx-bootlets: update revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-29 14:35:03 +01:00
Javier Viguera c7e0ab217d alsa-state: remove incorrect 'asound.conf' config file
The default 'asound.conf' config file is not valid for our platforms and
according to <http://www.alsa-project.org/main/index.php/Asoundrc> is
not required.

This allows to play several videos with gstreamer that were failing due
to audio issues.

It also fixes the problem of 'aplay' not playing audios with several
(more than two) channels.

https://jira.digi.com/browse/DEL-608
https://jira.digi.com/browse/DEL-872

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-29 14:12:33 +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 47de17cc2d kernel-module-atheros: workaround driver crashing on load
There seems to be a race condition in the load of the 'cfg80211' and
'ath6kl_sdio' modules. If we try to load the atheros module before the
cfg80211 is settled down, the driver crash.

The workaround is just separate the load of both modules in two separate
'modprobe' commands and add a small delay between them.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-27 14:41:00 +01:00
Javier Viguera 4471d862e5 kernel-module-atheros: disable 802.11w
Not well supported yet and cleans a debug line:

ath6kl: ath6kl_cfg80211_connect: sme->mfp = 0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-27 14:38:17 +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 6545748379 kernel-module-redpine: force short SHA1 revision length
So it matches what the bitbake recipe expects.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 12:54:21 +01:00