Commit Graph

306 Commits

Author SHA1 Message Date
Javier Viguera dc1499bd78 meta-digi: add IS_KERNEL_2X variable to be used in recipes
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:32:35 +02:00
Javier Viguera 735e36ce8e atheros: update script to get the mac from the device tree
https://jira.digi.com/browse/DEL-637

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-10 14:38:40 +02:00
Seth Bollinger 255b409288 meta-digi-arm: Make COMPATIBLE_MACHINE more flexible
If people are creating derivative machines in their layer, make
COMPATIBLE_MACHINE more flexible.  Use SOC_FAMILY instead of specific
machine types.  This allows users to more easily share these recipes.

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

Signed-off-by: Seth Bollinger <sethb@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-09-09 09:49:28 +02:00
Javier Viguera 0e2c436940 defconfig: enable centered custom logo
Custom logo support has been added to the kernel.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 18:07:04 +02:00
Javier Viguera cc0e76f3fe alsa-state: fix build error in i.MX5X platforms
ERROR: Unable to find file file://asound.inline_play.state anywhere

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:28:16 +02:00
Alex Gonzalez 21490c8da4 meta-digi-arm: Update SRCREVs for dey-1.4.0.2 tags.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 11:03:39 +02:00
Alex Gonzalez 5005294004 meta-digi-arm: defconfig: ccardimx28js: Add W1 slave support.
Synch with kernel defconfig.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 10:55:09 +02:00
Alex Gonzalez 20e08e03f7 meta-digi-arm: alsa-state: ccardimx28js: Add profiles for 3.10 kernel.
https://jira.digi.com/browse/DEL-575

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 16:48:43 +02:00
Alex Gonzalez 3e56a2632c meta-digi-arm: linux-dey-3.10, defconfig, add default blk device support.
https://jira.digi.com/browse/DEL-595

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 15:49:28 +02:00
Alex Gonzalez dbcb041fc9 meta-digi-arm: Update linux-dey_3.10 SRCREV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-23 12:26:21 +02:00
Alex Gonzalez 4e76f14e42 meta-digi: Use proc device tree information for hwid information.
Modify the atheros and bluetooth init scripts to fetch the hwid details
from the device tree.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:06:34 +02:00
Alex Gonzalez 903a7f5cc2 meta-digi-arm: linux-dey-2.6.35: Update for user space suspend support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-14 16:44:02 +02:00
Alex Gonzalez f07edd2cca meta-digi-arm: Update linux-dey to support the pswitch driver.
https://jira.digi.com/browse/DEL-580

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:54:48 +02:00
Javier Viguera 0907a087c1 meta-digi: update bluetooth to support Japan
Similar commit was done in DEL.

Japanese law limits the maximum transmit power for Bluetooth to 3 mW.
The cert field in OTP will be set to 2 when units are manufactured
for Japan.

Updated the bluez init script to configure Bluetooth for class 2
operation if the cert field is set to 2, and to delete the class 1
configuration file since it would be illegal to use it in Japan.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 97755ea730 meta-digi: fix build graphical image for ccardimx28
https://jira.digi.com/browse/DEL-585

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera cb25e67665 kernel-module-atheros: apply load parameters to correct module
In Linux 2.6.35, the kernel module accepting the parameters on load
was 'ath6kl_sdio' while in 3.10 is 'ath6kl_core'.

So we need to apply the load parameters to either module depending on
the kernel version.

This is solved by configuring the modprobe configuration file
'/etc/modprobe.d/atheros.conf' with the parameters to the correct
module instead of passing them in the command line.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 0f0a76a6f4 meta-digi: fix atheros recipes for new linux version
With the old version of the kernel (2.6.35) we build an external atheros
kernel module, while with the new kernel (3.10) the atheros driver is
included with the kernel sources.

However, the new driver needs the firmware files and the driver load
scripts that are stored with the old driver.

So put a dependence on kernel-module-atheros regardless of the kernel
version and then rework the kernel-module-atheros recipe to build the
whole driver for the old kernel or only the firmware for the new kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 5cce293895 kernel-module-atheros: add 'kmod' runtime dependence
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Alex Gonzalez 9c49cdc60f meta-digi-arm: linux-dey-2.6.35.14, remove unneeded variable.
This kernel version has the U-Boot entry point hardcoded so the one in the
recipe is unused.

http://fisheye.digi.com:8060/cru/CR-DEL-105#CFR-2457

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-09 12:19:27 +02:00
Alex Gonzalez 5b5b0c7e84 meta-digi-arm: Update linux-dey-3.10 defconfig and SRC_REV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-09 12:04:12 +02:00
Alex Gonzalez 494c8a43a2 meta-digi-arm: Update atheros kernel driver SRCREV.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 17:28:07 +02:00
Alex Gonzalez 7795aa736c meta-digi-arm: ccardimx28js: Add 3.10 kernel version.
The UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables are only used in
the kernel recipe, so remove from the machine configuration files.

Also, use the defconfig from the kernel tree which compiles all the
support by default and expects the device tree to be configured with
the desired support. Hence, remove all the empty configuration fragments
files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 14:27:12 +02:00
Alex Gonzalez 99b3316802 meta-digi-arm: ccardimx28js: Update u-boot revision.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-05 14:27:12 +02:00
Javier Viguera 71b7bd6837 imx-bootlets: update revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-05 10:23:29 +02:00
Javier Viguera ff37a3272d kobs-ng: fix build for yocto dylan
move ccardimx28js specific patch under PN-PV subdirectory. Otherwise it
fails to find the patch (this version of yocto restricts the FILESPATH
where to look for files)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:47:47 +02:00
Javier Viguera 45f09436bf kernel-module-atheros: fix file-not-found error
ERROR: Fetcher failure: Unable to find file file://atheros anywhere

The FILESPATH variable (used as the search path for files referred to
in SRC_URI) is now (dylan) more restrictive, so move the files where
they can be found.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:47:17 +02:00
Javier Viguera cd26bed35c meta-digi-arm: allow to configure kernel version in project
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:46:47 +02:00
Javier Viguera 93d275a43d meta-digi-arm: fix u-boot broken build
The build was failing for any IMX platform because it was trying to
build a bootstream u-boot.

The u-boot variables (UBOOT_*) used by yocto were incorrectly set,
so I reworked and simplified them to fix the bug and ease maintenance.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:45:16 +02:00
Javier Viguera 00e6d38ca5 kernel-module-redpine: update for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:46 +02:00
Javier Viguera f47915f45a meta-digi: remove udev-173 bbappend
That version of udev was removed from 'meta-oe' and thus bitbake fails
to parse the recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:46 +02:00
Javier Viguera 91291212b9 meta-digi-dey: clean bitbake warnings
QA Issue: Variable ALLOW_EMPTY is set as not being package specific
QA Issue: Variable RPROVIDES is set as not being package specific

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:16 +02:00
Alex Gonzalez 74c7fc388f meta-digi-arm: Add U-Boot 2013.01.
This U-Boot is only supported for MX28 based platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 107be1bf23 meta-digi-arm: Patch kobs-ng for 3.10 kernel.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 449fd76a03 meta-digi-arm: Append configuration fragments to linux recipe.
This is to work as in previous kernels. For now the fragments are empty
and they will have to be individually included and tested.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 2afd15d816 meta-digi-arm: Fix linux-dey do_deploy append
Copy including folders. This was causing problems in kernel version 3.10
as the directory included folders that were omitted in the copy and caused
the do_install to fail.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 17de27ff46 meta-digi-arm: Update ccardimx28js linux defconfig.
Remove support that is to be added as a config fragment:

- FB support.
- LCD backlight.
- Sound.

Add configuration that was also enabled in previous kernels.

- Serial, ethernet and storage USB gadgets.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 9fb5acc13f meta-digi-arm: Add DTSNAME to ccardimx28js.
This will be used as the device tree name for kernels that
need to compile a device tree.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez c3a4bf30a1 meta-digi-arm: For the ccardimx28js, chose serial name depending on kernel.
The 2.6.35.14 kernel calls the serial device ttyAM0 while the 3.10 which
uses a different driver calls it ttyAMA0.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez aa1f21aae2 meta-digi-arm: Add linux-dey_3.10.
This kernel will have support only for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 1cc0fddc44 meta-digi-arm: Set 2.6.35.14 as linux preferred version.
Also, make arrangements so support more than one kernel version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez f173f650e5 meta-digi-arm: Import linux-libc-headers into layer.
We need separate linux-libc-recipes if we want to support different
kernels.

On the 1.4 meta-fsl-arm layer this recipe will disappear, so review then.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Javier Viguera 23c8fec37b meta-digi-arm: share nvram and u-boot revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-08 14:19:56 +02:00
Alex Gonzalez 9274b5e254 meta-digi-arm: Make linux-dey and linux-libc-headers share an include.
Placing all of the revision info in a common include we avoid the common
issue of forgetting to update the linux-libc-headers append recipe when
the kernel is updated.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-08 10:23:44 +02:00
Alex Gonzalez faee124d4b meta-digi-arm: Update external SRCREVs for linux and u-boot.
The external repositories have been cleaned up and commits have been
squashed so the sha1s need to be updated.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 12:31:37 +02:00
Alex Gonzalez 539af61c3c meta-digi-arm: Update external SRCREVS of atheros and imx-bootlets.
The public branches of those repositories have been cleaned up so
the external sha1s have changed.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 11:37:15 +02:00
Alex Gonzalez 021e42527e meta-digi-arm: Force the override of SRCREV in linux-libc-headers.
Otherwise the SRCREV in the append file is not used.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 11:26:21 +02:00
Alex Gonzalez 993fa4eed4 meta-digi-arm: Fix linux-libc-headers to work from outside the intranet.
Also, set the SRCREV to the same as the linux recipe for dey-1.3.0.6.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-05 10:06:13 +02:00
Alex Gonzalez ad31cd6149 Update SRCREVs for dey-1.3.0.6.
Synch all internal and external SRCREVS.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-04 18:05:36 +02:00
Javier Viguera ae19134373 meta-digi-arm: Update u-boot to DUB-1.6.0.3 (external revision)
https://jira.digi.com/browse/DEL-546

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-04 13:02:09 +02:00
Alex Gonzalez b0e42820a1 meta-digi-arm: Fix the license on atheros driver.
The Checksum says ISC but the license BSD. Checking with Atheros the
correct license is ISC.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-03 10:59:20 +02:00