Commit Graph

1228 Commits

Author SHA1 Message Date
Isaac Hermida 2767f5be7c recipes-connectivity: Splited bluez and btfilter support in two different init scripts
btfilter (abtfilt) and bluetoothd are two independent services. Break the
relationship between them and split the support in independent init scripts

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2015-11-09 17:36:11 +01:00
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 89f6265803 meta-digi-arm: add gplay and grecorder demo tools
These tools are part of the official FSL gst1.0 plugin. Add then to the
MACHINE_GSTREAMER_1_0_PLUGIN variable so they get added to the rootfs.

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 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 8016bd84e9 meta-digi-arm: disable built-in GPU driver
For the moment, disable the built-in GPU kernel driver as there is a
mismatch between the driver version and the user-space GPU libraries.

Use the external module maintained by the community.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera 73f08aeb0a meta-digi-arm: remove 'linux-dey' recipe dependence on linux-imx
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 20c2fbd8ba meta-digi-arm: fix u-boot license md5sum
ERROR: u-boot-dey: md5 data is not matching for file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95
ERROR: u-boot-dey: The new md5 checksum is c7383a594871c03da76b3707929d2919

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 4e3563a706 meta-digi-arm: sync machine files with meta-fsl-arm
This synchronizes the machine configuration files with the latest
changes in meta-fsl-arm for yocto 2.0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:01:27 +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 66890a6f45 meta-digi: sync config templates with 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 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
Alex Gonzalez 087f44301f Release Notes: Add a known issues section.
Add softAP/WEP not supported.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-11-05 11:41:59 +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
Javier Viguera 7765256f31 meta-digi-arm: fix regression introduced in 1af538d
That commit disables CONFIG_FIRMWARE_IN_KERNEL which is needed by IMX
SDMA driver and maybe other drivers.

An example of functionality failing without that enabled is the audio
over HDMI.

While on it configure the atheros driver as module. Otherwise the kernel
tries to load the firmware from user-space before the rootfs being
mounted, giving error messages on boot:

ath6kl: No "atheros,board-id" property on wireless node.
ath6kl: Failed to get board file ath6k/AR6003/hw2.1.1/bdata.bin (-2), trying to find default board file.
ath6kl: Failed to get default board file ath6k/AR6003/hw2.1.1/bdata.SD31.bin: -2
ath6kl: Failed to init ath6kl core
ath6kl_sdio: probe of mmc3:0001:1 failed with error -2

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-22 14:44:10 +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
Javier Viguera 12cb58a565 build scripts: remove stale branches before sync'ing
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 8b30168930e65debc2c3a7b54e6b86e16784b50e)
2015-10-21 11:00:19 +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
Hector Palacios 179763fbf7 kobs-ng: add support for 4K page NAND with 224-byte OOB
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 6ba199dda9dacc05525c745be631cadb7c30bdd2)

Conflicts:
	meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_3.0.35-4.1.0.bb
2015-10-19 11:59:04 +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 1af538dbfa meta-digi-arm: enable upstream ath6kl wireless driver for CC6
Disable firmware loading from user-space (udev) as the kernel is able to
load the firmware directly.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-15 18:02:59 +02:00
Javier Viguera 7d126d318b meta-digi-arm: split ath6kl firmware from kernel module
Split the ATH6KL firmware files to a different recipe and package so
they can be used regardless of what driver we are using (the external
module or the upstream driver).

Reuse the 'firmware-atheros' recipe which was creating a package with
bluetooth firmware, to create the package with wireless firmware as
well.

Also remove 'ccimx6' as compatible machine for the external atheros
module, as the module does not even compile with the kernel version we
are using (3.14).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-15 18:01:15 +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
Jose Diaz de Grenu de Pedro 21ddc862fa meta-digi-arm: defconfig:ccimx6sbc: Add cellular support
Sync changes with linux kernel 4b1b60221db

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-10-15 15:36:16 +02:00
Alex Gonzalez a81a7d586c meta-digi: revert revisions to AUTOREV
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-15 15:36:10 +02:00
Alex Gonzalez f032e1a132 meta-digi: update SRCREVs for dey-1.8.0.2
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-15 15:35:36 +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 4580ea842e meta-digi-arm: sync machine files with meta-fsl-arm
This synchronizes the machine configuration files with the latest
changes in meta-fsl-arm for yocto 1.8

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-08 11:38:41 +02:00
Javier Viguera d6f4515517 meta-digi-arm: remove u-boot preferred versions
There is only one u-boot supported for each platform, so there is no
need to explicitly set the u-boot preferred version.

As a result it was needed to rework the nvram recipe which was using the
removed PREFERRED_VERSION_u-boot-dey variable.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-07 17:11:14 +02:00
Javier Viguera 1b63048467 meta-digi-arm: rework Linux kernel recipes
* Move kernel configuration fragments to 2.6.35 recipe (that's the only
  kernel version using them)

* Move compile-time dependences to common include linux-dey.inc

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-07 16:44:26 +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 03ec36e4be meta-digi-arm: remove kernel 3.10 support for CC6
We will only support kernel 3.14 for CC6 in this DEY release.

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 6fdcbf5f40 meta-digi-arm: use u-boot fw-utils from Poky
Instead of creating a new recipe for u-boot fw-utils (fw_printenv) just
bbappend the recipe in Poky.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-06 10:30:00 +02:00