Commit Graph

952 Commits

Author SHA1 Message Date
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
Javier Viguera 6861e5dfcc meta-digi-arm: update linux 3.10 revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-18 16:46:53 +01:00
Javier Viguera 05052c72d5 meta-digi-arm: remove linux-dey-rev files
The Linux kernel revision was splitted from main bitbake recipe to its
own linux-dey-rev file so that file could be used for linux-headers
recipe to build the toolchain using custom kernel headers (from our
repository).

That is not the recommended way to build a toolchain:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=babbf7a46acaefd9b36031483cafce053f607e66

and we are not using our kernel headers to build the toolchain anymore,
so just melt the linux-dey-rev files into the linux-dey bitbake recipes
for cleanness and easier maintenance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-18 16:33:43 +01:00
Javier Viguera 29ad4a521d meta-digi-arm: update u-boot revisions
DUB-2.0.0.5 in v2013.01
DUB-1.6.3.1 in v2009.08

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-18 12:33:29 +01:00
Hector Palacios 0808c56b7a atheros: reload the module if it fails during probe
The wireless module occasionally fails to load in kernel v3.10.
If that is the case, unload the driver and load it again (up to
five retries).

Notes:
- Only the ath6kl_sdio module needs to be unloaded and reloaded.
- The chip is not issued a power cycle via CHIP_PWD_L because
  this demonstrated to cause failure, instead of improving
  behaviour.
- The 2-seconds sleep after unloading the driver is a security
  measure to avoid other problems seen during test cycle.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-820
2013-11-18 10:20:21 +01:00
Javier Viguera 147bef647c perf: remove bbappend
Committed a patch in linux-dey repo to fix perf build. At the same
time update linux-dey revision to get the perf fix.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-15 16:49:13 +01:00
Javier Viguera b89f5f6911 meta-digi: remove wr21 platform
This needs to be supported in 'meta-digi-dlr' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-15 11:00:47 +01:00
Javier Viguera f97939454d kobs-ng: disable use of nfc_geometry sysfs entry in kernel 3.10
This was supported in kernel 2.6.35 (FSL release) but not in community
kernel 3.10

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-14 17:03:14 +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 44a5fa04b1 imx-bootlets: move BOARD selection to the machine config
Move the BOARD selection out of the bootlets recipe so it can be used
from machines defined in other layers.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-13 19:15:09 +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 43918960f0 build.sh: copy individual packages only for release builds
For daily builds just copy the firmware images to avoid running out of
space in the buildserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-05 11:18:54 +01:00
Javier Viguera 1111a3d6a0 image_types_digi: make it compatible with python 2.6
Python 2.6 does not have bit_length function:

'int' object has no attribute 'bit_length'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-05 11:18:25 +01:00
Javier Viguera 767fc18b85 meta-digi-arm: image_types_digi: separate data from implementation
Move the flash parameters to the machine configuration files so it's
easier to create derivative machines and use the image bbclass to create
flash images.

(based on a patch from Seth Bollinger <sethb@digi.com>)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-04 13:25:13 +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 7ddeaa7f18 meta-digi-arm: update u-boot and linux revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-22 17:31:55 +02:00
Javier Viguera ae013f70ba meta-digi-arm: fix perf broken build
list.h: In function 'INIT_HLIST_NODE':
list.h:582:12: error: 'NULL' undeclared (first use in this function)

list.h: In function 'hlist_move_list':
list.h:661:15: error: 'NULL' undeclared (first use in this function)

list.h: In function 'hlist_move_list':
list.h:661:15: error: 'NULL' undeclared (first use in this function)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-22 17:18:58 +02:00
Javier Viguera dc56a790d8 amd-gpu-bin-mx51: rework package
To avoid conflicts between the two flavous (X11, framebuffer). Also fix
bitbake parsing error in the buildserver:

ERROR: Nothing PROVIDES 'virtual/libx11' (but
amd-gpu-x11-bin-mx51_11.09.01.bb DEPENDS on or otherwise requires it)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-21 18:00:54 +02: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 1603b71fe1 meta-digi-arm: rewrite amd-gpu-bin package selection
Use a variable to select GPU flavour (X11, framebuffer).

No functionality change, just coding style.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-18 16:01:10 +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
Hector Palacios 071cdf9b7b meta-digi-bsp: remove old kobs-ng 10.12.01 version
This version does not properly work with v3.10 kernel, while
the newer version 3.0.35-4.1.0 does work for old and new
kernels.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-797
2013-10-18 14:23:45 +02:00
Hector Palacios 03848a9fd3 meta-digi-arm: add patches for kobs-ng version 3.0.35-4.1.0
This set of patches are forward port of patches for old version
10.12.01 and to make it work with v3.10 kernel.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-797
2013-10-18 14:22:22 +02:00
Javier Viguera bbebf6acf8 meta-digi-arm: integrate kobs-ng version 3.0.35-4.1.0
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-18 14:22:22 +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 328a6cdb5e meta-digi: move helper variables to a common place
Those boolean helper variables can be used in different recipes so move
them to a common place.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 10:36:51 +02:00
Javier Viguera a554c7be17 meta-digi-arm: fix SOC_FAMILY for all platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 10:35:26 +02:00
Javier Viguera 2618ae353d meta-digi: build jffs2 images only with kernel 2.6.35
At the moment our kernel 3.10 on ccardimx28js does not support jffs2
images, so do not build them.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 17:50:49 +02:00
Javier Viguera 8a93cf981c meta-digi: complete variants support for device trees
Also change the default ccardimx28js variant to 'web1' (wireless, second
ethernet, bluetooth and 1-wire)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 17:30:44 +02:00
Javier Viguera ae5a6e060e meta-digi-arm: remove udev-extraconf runtime recommend
This is still a runtime-recommend of udev package so it gets installed
in udev based images (graphical) and not installed in mdev based images
(minimal).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 14:36:28 +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 f93ca0a19f wmiconfig: use binary built in the buildserver
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 11:57:25 +02:00
Seth Bollinger 0817e87e61 URI: Change DIGI_LOG_GIT to something generic
Most SRC_URI defaults to DIGI_LOG_GIT. This patch sets a more generic
name (DIGI_GIT) that defaults to DIGI_LOG_GIT, but is configurable by
someone who might want to tune it (DIGI_MTK_GIT, etc.).

Signed-off-by: Seth Bollinger <sethb@digi.com>
2013-10-14 08:48:45 -05:00
Hector Palacios f29e08fee1 meta-digi-arm: kobs-ng: parse ROM version from FDT if available
New kernels don't get CPU information from U-Boot ATAGS and
so the /proc/cpuinfo file does not have the Hardware/Revision
lines filled in.
This patch gets the CPU model from the device tree information
at /proc/device-tree/compatible.
For backwards compatibility, if the CPU model cannot be retrieved
from this file, we try to get it from /proc/cpuinfo.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-797
2013-10-14 10:49:46 +02:00
Javier Viguera d6c78d1508 ccardimx28js defconfig: enable CONFIG_BRIDGE
https://jira.digi.com/browse/DEL-824

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 17:27:17 +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