Commit Graph

1006 Commits

Author SHA1 Message Date
Alex Gonzalez 01f7230481 meta-digi-arm: linux-dey-3.10: ccimx6: Sync defconfig with kernel.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-08-05 09:45:11 +02:00
Javier Viguera 21d23c99d1 meta-digi-arm: set u-boot 2013.01 as preferred version
This will be the preferred version for ccardimx28. Then use platform
override to set the one for ccimx5 and ccimx6.

Not having a platform override in the machine config file allows to do
a simple version override in the project's local.conf file with:

PREFERRED_VERSION_u-boot-dey = "2009.08"

Otherwise, if we use a platform override in the machine config that
takes precedence over a normal override in the project's local.conf
and we would have needed something like:

PREFERRED_VERSION_u-boot-dey_ccardimx28 ?= "2013.01"

in the project's config.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-04 18:43:20 +02:00
Javier Viguera 98c8a75a2f build.sh: adapt script to new ccard default kernel 3.10
Adapt the jenkins build script to build for ccardimx28js by default
linux 3.10 and u-boot 2013.01 and as alternative configuration linux
2.6.35.14 and u-boot 2009.08

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-01 19:04:06 +02:00
Javier Viguera 3cdc5f14b5 meta-digi-arm: use kernel 3.10 by default for ccardimx28js
https://jira.digi.com/browse/DEL-1168

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-01 19:03:08 +02:00
Javier Viguera 036fdf88ad u-boot: use dub-1.6 maintenance branch
This is the branch used for platforms using kernel 2.6.35 (at the moment
MX5 and ccardimx28)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-01 15:48:53 +02:00
Javier Viguera 07400ea730 meta-digi-arm: enable more BT profiles in kernel defconfigs
https://jira.digi.com/browse/DEL-1161
https://jira.digi.com/browse/DEL-1162

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-31 19:21:31 +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 3df330bd33 meta-digi-arm: disable gst-fsl-plugin for MX28 machines
FSL has this enabled but in our case it fails to build for ccardimx28js
using linux 3.10 with error:

fatal error: linux/mxcfb.h: No such file or directory

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-29 12:27:23 +02:00
Alex Gonzalez 33a8e4b450 meta-digi-arm: linux-dey-3.10: ccimx6: Sync defconfigs with kernel.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-07-28 11:08:57 +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 84d0775eb1 u-boot: 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:17 +02:00
Javier Viguera afca308575 alsa-state: 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:13 +02:00
Javier Viguera eb5f07b154 kernel-module-atheros: 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:02 +02:00
Javier Viguera 1a54b81586 meta-digi-arm: add support for Digi platform families
Add platform family to SOC_FAMILY, so it's part of the MACHINEOVERRIDES
variable and it can be used to generalize bitbake recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-16 14:39:00 +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
Alex Gonzalez af4aefb2f1 meta-digi-arm: kernel-module-atheros: Update SRC_URI.
This updates the driver to upstream AR6003-ISC-v3.4p6-b3.4.0.225.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-06-26 15:58:13 +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 07866bdab1 linux-dey: sync defconfig for ccimx6adpt and ccimx6sbc
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 18:37:29 +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 162a33a0aa meta-digi: sync config templates with upstream (poky)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 13:46:37 +02:00
Alex Gonzalez 1f7093e4b3 meta-digi-arm: ccimx6: change default DTS file name
This has changed on the kernel tree.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 10:42:08 +02:00
Javier Viguera d5b236b4dc meta-digi-arm: use 'v3.10/master' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-23 18:49:57 +02:00
Javier Viguera db9de11b17 ccimx6sbc: set bluetooth variant by default in config file
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-17 15:48:16 +02:00
Javier Viguera 616940ec5d mkproject.sh: prepare framework to blacklist platforms
This allows to blacklist platforms not officially supported in a DEY
release. It only works at help-level, you can actually create projects
for any platform whose config files exist, but the help of the mkproject
command will only show the officially supported platforms.

At the moment the BLACKLIST variable is not filled. This will be done in
the release branch.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-17 10:49:44 +02:00
Javier Viguera c91898e4b1 build.sh: purge sstate of all packagegroups between builds
Packagegroups define sets of packages to be installed in the rootfs
*depending* on the hardware variant (~MACHINE_FEATURES). For example
installing or not the bluetooth firmware depending on machine variant
having bluetooth.

It may happen that we build sequentially machines with different
features using the same sstate and thus it may happen we end with a
rootfs lacking bluetooth firmware for a bluetooth variant.

So add all packagegroups to the list of packages to purge state-cache
between platform builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-16 11:31:55 +02:00
Javier Viguera dbf830b6a0 kernel-module-atheros: add calibration file for mx6
This adds the calibration file for US regulatory (still missing the
world-regulatory calibration file)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-12 18:36:40 +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 39f3fdcb28 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 Daisy maintenance branch.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-06 18:51:07 +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 68883946ec libdigi: cosmetic, fix coding-style and whitespace
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-30 13:45:34 +02:00
Javier Viguera e95192f965 libdigi: use standard bitbake vars for lib and include dirs
libdir     -> /usr/lib
includedir -> /usr/include

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-30 13:44:57 +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 a4c9ddc270 ccardimx28: only install BT firmware on HW variants with BT
While on it, rework and simplify atheros firmware recipe:

* remove 'unknown' version (renamed recipe)
* do not create empty debug and development packages

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-29 17:09:29 +02:00
Javier Viguera 4cb49ab09d meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 14:13:23 +02:00
Javier Viguera 8514398726 meta-digi: update revisions for dey-1.6.1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 14:09:32 +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
Javier Viguera d8229f9f40 meta-digi-arm: reset linux 3.10 branch for MX6
Use 'v3.10/dey-1.6/maint' which has the stable fixes from upstream
merged.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 12:36:44 +02:00
Alex Gonzalez 19e1cbd9f3 meta-digi-arm: linux-dey-3.10: Sync defconfigs for ccimx6sbc and ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-23 18:57:34 +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