Commit Graph

511 Commits

Author SHA1 Message Date
Javier Viguera adb4611710 meta-digi-arm: disable perf features only for kernel 2.6.35
Kernel 3.10 does not fail to build perf features (as kernel 2.6.35
does), so there is no need to disable them for platforms using that
kernel version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-19 18:28:00 +01:00
Javier Viguera e814742ebd meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-13 18:22:07 +01:00
Javier Viguera 1cd75a0a30 meta-digi: update revisions for dey-1.7.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-13 18:19:32 +01:00
Javier Viguera d206fc1d11 meta-digi-arm: configure the console for ccardimx28js dynamically
Revert to the old way of setting the console for ccardimx28js. Configure
the console on the generic ttyS0 port name and let the device managers
create a symbolic link to the correct device at runtime.

Trying to set it statically at compile time lead to some side effects
with some packages not being recompiled after a change of the preferred
kernel version in the project's local.conf (e.g. udev-extraconf and
sysvinit-inittab).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-13 17:17:49 +01:00
Hector Palacios d8a24e0ce3 atheros: don't remove wireless module on ifdown for ccardimx28
A post-down script was unloading the Atheros wireless driver
when the network interfaces were brought down.
On rare occasions the 'rmmod' command was not able to complete
and may leave the system in an unexpected state.

This patch removes the post-down script for the ccardimx28 platform
and leaves it only for the ccimx6 platform, where the unloading
is wanted to reset the driver after suspend.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-1314
2015-01-13 16:48:06 +01:00
Javier Viguera c926df2479 ccardimx28js: configure the serial console depending on kernel version
SERIAL_CONSOLES_CHECK is new functionality provided by Yocto, but it
needs '/proc/consoles' supported by the kernel. Our kernel 2.6.35 does
not support '/proc/consoles' so rework the serial console configuration
to work with both kernels (2.6.35 and 3.10).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-12 17:52:21 +01:00
Javier Viguera e42a291557 meta-digi: support ccardimx28js SD images based on kernel 2.6.35
Notes:

  * This version of u-boot does not support comments in scripts
  * Enabled EXT4 in kernel config (for the SDCARD rootfs)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-12 16:45:04 +01:00
Javier Viguera 0a5aa1c24d meta-digi: support generation of sdcard images for ccardimx28js
https://jira.digi.com/browse/DEL-197

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-09 19:13:33 +01:00
Javier Viguera 141a8f9d5f meta-digi-arm: use 'v3.10/dey-1.7/maint' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-09 18:34:03 +01:00
Alex Gonzalez cb74a2250e meta-digi-arm: Add LDO and LDO bypass device trees.
The i.MX6 has an internal PMU with LDOs to supply voltages to the different
ARM sybdomains. There are two possible configurations, to use this internal
LDOs or to use the external PMIC to supply the voltages (LDO bypass).

The default is to boot with LDO bypass, and the device tree with the -dts
suffix will boot with the i.MX6 internal LDO.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-01-09 14:59:56 +01:00
Javier Viguera 1d3a359fba meta-digi-arm: rework udev extra rules
In Yocto 1.7 meta-fsl-arm replaced udev-extraconf bbappend with a new
package (udev-rules-imx). So we need to adapt our own bbappend to these
changes so all the needed udev rules are in place.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-08 16:33:30 +01:00
Alex Gonzalez 7031d2a53f linux-dey-3.10: Sync ccimx6sbc defconfig with the one in the kernel tree.
It corresponds to the following kernel sha1.
59b5ed1f8f9700cd7530e6d7d3282d9e157edd66

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-01-08 12:15:01 +01:00
Javier Viguera d6c2b36c6e alsa-state: do not remove 'asound.conf'
The removal was added as a workaround to avoid installing a generic
asound.conf that was conflicting with our cards.

This is no longer needed as poky installs an empty asound.conf and
meta-fsl-arm overrides it with per-platform asound.conf files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-23 13:14:29 +01:00
Javier Viguera e55fc16544 meta-digi-arm: migrate module_autoload to KERNEL_MODULE_AUTOLOAD
For MX5 platforms.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-02 16:49:45 +01:00
Javier Viguera 09e72aa0f4 meta-digi-arm: simplify flash images generation
We inherited from DEL the requirement to build more than one flash image
for the same rootfs contents depending on the EBS of the flash chip.

Yocto does not have support to generate more than one flash image so we
had to create functions in the image_types_digi bbclass to provide this
feature.

This commit removes that functionality and uses the standard yocto
support to generate ubifs and jffs2 flash images. The way to customize
the flash parameters is via EXTRA_IMAGECMD_jffs2 and MKUBIFS_ARGS
variables. In our case those variables are already set depending on the
different hardware variants.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-02 16:49:12 +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 aef38bc285 meta-digi-arm: Add rootfs.initramfs image generation.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-01 11:51:51 +01:00
Alex Gonzalez 19716dcde7 meta-digi-arm: Move images types to machine configuration.
This allows to override it easily.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-11-27 17:20:57 +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 a7a7498b52 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 Dizzy maintenance branch.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:35:10 +01:00
Javier Viguera dfadce7062 meta-digi-arm: use 'v3.10/master' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:34:40 +01:00
Javier Viguera 981ef8ab0e util-linux: remove bbappend
This bbappend was added to be able to native build the util-linux
package in our old buildserver (with Debian 6). This is no longer needed
as we migrated our buildserver to newer Debian.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:32:10 +01:00
Javier Viguera a9ed919c95 udev-extraconf: update bbappend for yocto 1.7
ERROR: No recipes available for: udev-extraconf_1.0.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:31:10 +01:00
Javier Viguera 232fe6b06d meta-digi-arm: update github account
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-09 17:23:59 +02:00
Javier Viguera 8a8054fccc image-types_digi.bbclass: remove USE_DEVFS override
USE_DEVFS = "1" is the default now in poky

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-06 18:20:26 +02:00
Javier Viguera 1c5d54a4c3 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-17 20:03:08 +02:00
Javier Viguera a3c1aa7626 meta-digi: update revisions for dey-1.6.2.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-15 17:16:56 +02:00
Javier Viguera d4f3d29ef9 linux-dey: add initrd/initramfs support for ccardimx28js
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-15 17:08:31 +02:00
Javier Viguera 3b6835ac1b meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-15 11:17:21 +02:00
Robert Hodaszi 7b649a1f03 image-types_digi.bbclass: add possibility to append extra arguments to UBIFS image creation
Add possibility for other layers to add additional features for UBIFS creation,
e.g. "-R <rp_size>" for super-user reserved pool.

Signed-off-by: Robert Hodaszi <robert.hodaszi@digi.com>
2014-09-12 17:48:19 +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 370259e806 meta-digi-arm: kernel-module-atheros, add debugging mask to init script.
By default debug logging is disabled, but this make it easy to enable.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-08 12:14:04 +02:00
Javier Viguera fb1da18ea1 meta-digi: update revisions for dey-1.6.2.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-07 14:26:48 +02:00
Javier Viguera d3f843f6cb meta-digi-arm: use 'v3.10/dey-1.6/maint' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-06 16:25:42 +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
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 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 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 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
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 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
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