Commit Graph

354 Commits

Author SHA1 Message Date
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 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 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 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 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 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
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 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 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 b7be73b427 meta-digi-arm: update u-boot-2009.08 revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 15:53:01 +02:00
Javier Viguera c33540030b meta-digi-dey: ccardimx28: use standard serial port for console
In ccardimx28 depending on the kernel version the console is on 'ttyAM0'
or 'ttyAMA0'. Use the standard serial port name ttyS0 for login (through
inittab) and let the device handlers create the symlink to the correct
device.

This allows to boot the same rootfs regardless of the kernel version.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:57:32 +02:00
Javier Viguera 8f9c31b14c meta-digi: update linux and u-boot revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 15:34:42 +02:00
Javier Viguera b0247e7e05 meta-digi: add wmiconfig package for MXS
wmiconfig is Atheros proprietary code so the recipe builds from source
if DIGI_INTERNAL_GIT is defined or uses a prebuilt binary otherwise.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 14:06:37 +02:00
Javier Viguera 70120ff69d meta-digi-arm: fix imx-bootlets stash URL
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-02 10:27:45 +02:00
Alex Gonzalez d908ddb138 meta-digi-arm: Update imx-bootlets with new stash URL.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
(cherry picked from commit 6773644fb3b6a4d6e80c82b305e39cf8ded0f50b)
2013-10-01 11:09:28 +02:00
Alex Gonzalez ab19aaccb4 meta-digi-arm: Update layer configuration with new stash url.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
(cherry picked from commit 38f68eb4118e5e7772606b86713c1d7e8c85fe66)
2013-10-01 11:09:20 +02:00
Javier Viguera ca5cae1b33 kobs-ng: apply the patches regardless of the kernel version
We are now using yocto kernel headers (3.x) in the toolchain so the
patches need to be applied regardless of the version of the running
kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:20:17 +02:00
Javier Viguera c1e524cb39 meta-digi-arm: use Yocto's default headers
Following advise from:

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:19:24 +02:00
Javier Viguera 22f85285ad atheros: set correct revision depending on the kernel version
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:18:19 +02:00
Javier Viguera f1d8345c88 ccardimx28js defconfig: disable not used touchscreen device
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:25:31 +02:00
Javier Viguera bdfdee8035 linux-dey: enable SPIDEV depending on dey-examples
https://jira.digi.com/browse/DEL-629

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:51:48 +02:00
Javier Viguera 2ecf5a703a meta-digi-arm: update linux-dey revision
Add: spidev and wireless changes in the kernel

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:50:27 +02:00
Javier Viguera b76862a971 linux-dey: update device tree depending on variant
https://jira.digi.com/browse/DEL-641
https://jira.digi.com/browse/DEL-644

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-19 14:33:33 +02:00
Javier Viguera a55c6e96bd ccardimx28js defconfig: enable BINFMT_SCRIPT
Fix JIRAS:

https://jira.digi.com/browse/DEL-645
https://jira.digi.com/browse/DEL-646

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-18 14:33:08 +02:00
Javier Viguera 8bf9a739a5 meta-digi-arm: update linux-dey revision
To get the latest changes: logo, mac-address, wireless...

Also synchronize the defconfig with the one in the kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:57 +02:00
Javier Viguera 936fcc9151 atheros: rework to build with linux 3.10
https://jira.digi.com/browse/DEL-673

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:34 +02:00
Javier Viguera 7ee46b00d8 meta-digi-arm: fix machine variant in machine overrides
The machine variant is most specific than machine name.

Before: MACHINEOVERRIDES="armv5:mxs:wb:ccardimx28js"
After:  MACHINEOVERRIDES="armv5:mxs:ccardimx28js:wb"

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:34:43 +02:00
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