Commit Graph

601 Commits

Author SHA1 Message Date
Alex Gonzalez 011460565f Revert "meta-digi-arm: Update SRCREVs for dey-1.5.0.0"
Go back to the AUTOINC SRCREVs.

This reverts commit 2b8d3197a8.
2014-02-26 19:22:01 +01:00
Alex Gonzalez 2b8d3197a8 meta-digi-arm: Update SRCREVs for dey-1.5.0.0
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-26 19:21:27 +01:00
Javier Viguera 6fd93d7157 meta-digi-arm: do not create static nodes in rootfs images
We have all the kernels configured with DEVTMPFS support, so there is
no need to have static nodes in the image files. They are not used at
runtime because a TMPFS is mounted at '/dev'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-25 18:46:19 +01:00
Alex Gonzalez 346ad12fec meta-digi-arm: linux-dey: ccimx6adpt: Update 3.10 defconfig.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-25 17:19:36 +01:00
Alex Gonzalez 0bcc1acb8c meta-digi-arm: Add asound states for imxhdmisoc.
The default alsa state for the i.MX6 HDMI audio driver.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-25 16:44:36 +01:00
Javier Viguera 2660a0da27 meta-digi-arm: implement 'boot.vfat' image type
At the moment this image is a VFAT file system containing the kernel
and the device tree blobs.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 14:31:46 +01:00
Alex Gonzalez 4c79ce2429 meta-digi: add bluetooth support to ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 14:31:06 +01:00
Alex Gonzalez 584c8d32f9 meta-digi-arm: replace firmware-mxs for firmware-atheros
This package is now used in both ccimx6adpt and ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 14:07:29 +01:00
Alex Gonzalez 629f349a9e meta-digi-arm: ccimx6: add bluetooth variant
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 13:43:05 +01:00
Javier Viguera 8e8cafb227 meta-digi: dynamically resize EXT4 filesystem to the partition size
https://jira.digi.com/browse/DEL-935

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 45f329b27a meta-digi-arm: add the ccimx6adpt machine
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Javier Viguera 7cb09c4096 alsa-state: add config files for ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 43b0d201d8 meta-digi: add atheros wireless support for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:58 +01:00
Javier Viguera 982af63902 meta-digi-arm: set branch absolute path to overcome fetcher bug
bitbake git's fetcher uses 'ls-remote' to get the branch revision to
checkout. If the repository has two branches ending equally the 'git
ls-remote' just picks the first one regardless of that being the correct
one.

In our case we were bitten by this bug because our git repo has:

...sha1-revision...  refs/heads/android/v3.10/master
...sha1-revision...  refs/heads/v3.10/master

and the fetcher was using the android branch instead of linux's
v3.10/master.

A patch has been sent upstream but while that gets applied to Dora
maintenance branch the workaround here is to set the absolute path in
the kernel's bitbake recipe.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:58 +01:00
Alex Gonzalez cfcc03beba meta-digi-arm: prepare linux v3.10 for ccimx6adpt
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-21 14:33:52 +01:00
Alex Gonzalez 3110e93ef1 meta-digi-arm: add u-boot-dey v2013.04
This is the u-boot used for i.MX6

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-21 14:33:51 +01:00
Javier Viguera 1e2f8f98b1 meta-digi: add athtestcmd tool
This is a proprietary tool from Atheros to test wifi.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-23 15:07:03 +01:00
Javier Viguera f729e76654 meta-digi-arm: build JFFS2 images for ccardimx28 and kernel 3.10
Previously jffs2 images flashed from u-boot were not booting Linux. The
kernel was unable to mount the rootfs.

There have been some patches lately in the kernel that fix this problem,
so build jffs2 images.

Nevertheless the default image type is still ubifs when using linux 3.x.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-17 10:51:04 +01:00
Javier Viguera 1466a3ff79 meta-digi-arm: move UBOOT_SUFFIX to the machine config files
So it can be used out of the u-boot recipe (for example to create
bootable sdcard images).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-16 10:37:04 +01:00
Javier Viguera 0dc6b44dee meta-digi: do not hardcode machine related utilities
nvram, ubootenv and update_flash are machine related utilities. They
need to be configured per-platform via MACHINE_EXTRA_RDEPENDS and thus
leaving packagegroup-dey-core as much platform-agnostic as possible.

This also allows to skip these utilities for platforms not using them.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 17:32:30 +01:00
Javier Viguera e0aa5003d5 meta-digi: move libdigi and update-flash to BSP layer
These utilities are very tight to the hardware so they need to be in
the BSP layer. This way they can also be installed in a poky distro
core-image-minimal without meta-digi-dey layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 17:03:54 +01:00
Javier Viguera 0f34d4907d meta-digi-arm: fix UBOOT_ENTRYPOINT for all platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 14:37:23 +01:00
Javier Viguera 09b632b740 meta-digi-arm: sync kernel recipes with meta-fsl-arm's
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-15 14:27:57 +01:00
Javier Viguera 4b1af59edc digi-defaults: cosmetic (alphabetical order)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 19:20:06 +01:00
Javier Viguera 55ead71345 meta-digi: use SERIAL_CONSOLES instead of SERIAL_CONSOLE
SERIAL_CONSOLE variable has been deprecated in poky. The new
SERIAL_CONSOLES allows to configure multiple devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 17:19:38 +01:00
Javier Viguera 7a82eab0c7 meta-digi-arm: rework device tree customization
The do_update_dts function was hardcoded for ccardimx28js. We need to
make it mxs specific so the recipe can be used for other platforms that
do not share the same device tree configuration (for example the
upcoming ccimx6js)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 12:24:29 +01:00
Javier Viguera 16b0ccf3e2 meta-digi-arm: parameterize the kernel branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-13 17:20:53 +01:00
Javier Viguera fc5de6c6b4 matchbox-session-sato: use SHOWCURSOR from environment
Instead of using a SHOWCURSOR variable hardcoded from the
HAVE_TOUCHSCREEN environment var, allow to set it freely in formfactors
config file and use it to show (or not) the cursor in the graphic
session.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 14:05:58 +01:00
Javier Viguera 9dd8939196 meta-digi-arm: add formfactor config files
Formfactor config files are needed in now so the touchscreen calibration
is loaded on target's boot. Otherwise the touch is not calibrated.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 14:02:23 +01:00
Javier Viguera 57ff70da45 meta-digi: use udev for all images (minimal and graphical)
https://jira.digi.com/browse/DEL-856
https://jira.digi.com/browse/DEL-898

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-27 14:03:01 +01:00
Javier Viguera 5bbcd32eec meta-digi-arm: use AUTOREV to get latest revision for Linux kernel
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 14:51:12 +01:00
Javier Viguera 6abb629fc9 meta-digi-arm: use 'fsl-dynamic-packagearch' class in machine files
Functionality added in 'meta-fsl-arm' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 14:50:45 +01:00
Javier Viguera e4a6921eb4 meta-digi-arm: remove amd-gpu-bin packages
Included in upstream 'meta-fsl-arm'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:28:21 +01:00
Javier Viguera 670fd05e89 meta-digi-arm: remove imx-lib bbappend
The bbappend only has a patch that does not apply anymore to the new
version of the package upstream (11.09.02).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:27:16 +01:00
Javier Viguera 0a490894f7 meta-digi: remove packages removed upstream (meta-fsl-arm)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:26:43 +01:00
Javier Viguera d7cfeb0fd3 meta-digi: update README files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-18 15:49:38 +01:00
Javier Viguera 2070b7149a wmiconfig: fix checksums of binary file
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-17 18:18:44 +01:00
Javier Viguera dbddb73910 kernel-module-atheros: increase delay between modules load
To be sure the 'cfg80211' module is settled down before the
'ath6kl_sdio' module tries to use it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-16 14:53:04 +01:00
Javier Viguera 0ce3d19af7 meta-digi-arm: update kernel revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-16 12:05:28 +01:00
Javier Viguera f04b8c81aa kernel-module-atheros: revert to version v3.4p4 of the driver
Version v3.4p6 seems to have some problems with WEP encription. Version
v3.4p4 seems to work better with WEP, so revert to that version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-04 19:27:59 +01:00
Javier Viguera 91a9586afe meta-digi-arm: disable camera 2 on MX5 as it conflicts with VGA
https://jira.digi.com/browse/DEL-881

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-02 18:12:44 +01:00
Javier Viguera fdc3833167 meta-digi-arm: refresh defconfig files for kernel 2.6.35.14
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-02 18:10:50 +01:00
Javier Viguera 4e6afeb17f imx-bootlets: update revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-29 14:35:03 +01:00
Javier Viguera c7e0ab217d alsa-state: remove incorrect 'asound.conf' config file
The default 'asound.conf' config file is not valid for our platforms and
according to <http://www.alsa-project.org/main/index.php/Asoundrc> is
not required.

This allows to play several videos with gstreamer that were failing due
to audio issues.

It also fixes the problem of 'aplay' not playing audios with several
(more than two) channels.

https://jira.digi.com/browse/DEL-608
https://jira.digi.com/browse/DEL-872

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-29 14:12:33 +01:00
Javier Viguera 47de17cc2d kernel-module-atheros: workaround driver crashing on load
There seems to be a race condition in the load of the 'cfg80211' and
'ath6kl_sdio' modules. If we try to load the atheros module before the
cfg80211 is settled down, the driver crash.

The workaround is just separate the load of both modules in two separate
'modprobe' commands and add a small delay between them.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-27 14:41:00 +01:00
Javier Viguera 4471d862e5 kernel-module-atheros: disable 802.11w
Not well supported yet and cleans a debug line:

ath6kl: ath6kl_cfg80211_connect: sme->mfp = 0

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-27 14:38:17 +01:00
Javier Viguera 1bc9e7efae meta-digi: add video player to graphical image
Also remove 'gplay' utility from dey-image-graphical. It's a command
line application suitable to be used on minimal (non-X) images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 16:01:48 +01:00
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
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
Alex Gonzalez b714a56fac meta-digi-arm: Update u-boot to DUB-1.6.0.3
https://jira.digi.com/browse/DEL-546

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-03 10:46:34 +02:00
Javier Viguera e963c1bf7f meta-digi-arm: Update u-boot SRCREVs for dey-1.3.0.5
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-25 20:40:36 +02:00
Alex Gonzalez 4c14df9620 meta-digi-arm: Update SRCREVs to revision dey-1.3.2.3.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-13 13:36:18 +02:00
Javier Viguera 89cd759503 redpine: use global variable to use internal git repo
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-12 17:06:07 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00
Javier Viguera c019fa7611 amd-gpu-bin-mx51: use FSL SRC_URI
https://jira.digi.com/browse/DEL-499

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-12 13:13:11 +02:00
Alex Gonzalez b6fa4c17db meta-digi: Remove sha1s from layer README files.
This lowers the maintenance of these layers. The manifest used with repo
deals with the specific sha1s.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:07:37 +02:00
Alex Gonzalez 763fffe424 meta-digi-arm: Change DIGI_MIRROR to final FTP URL.
This is the FTP site where the release artifacts will be placed. It's
structure will be something like:

x.y.z/
	source
	images
	toolchains
	adt-installer

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:03:13 +02:00
Javier Viguera 7e64629187 meta-digi: use global variable for github url
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-07 15:52:19 +02:00
Javier Viguera 10c7594119 meta-digi: use global variable to use internal git repos
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 18:08:02 +02:00
Javier Viguera c548d7011a nvram: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 14:32:04 +02:00
Javier Viguera 41809501fb u-boot: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 14:05:08 +02:00
Javier Viguera 7ad6a5e63a meta-digi-arm: create complete u-boot recipe (instead of bbappend)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 13:49:52 +02:00
Javier Viguera ce54d81e66 linux: get code from github
https://jira.digi.com/browse/DEL-472

While on it, fix minor bug: uImage-<platform> symbolic link was not
being created on deployment directory.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Javier Viguera ca34ff76bf imx-bootlets: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Javier Viguera ac80d686f7 kernel-module-atheros: get code from github
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 10:00:45 +02:00
Alex Gonzalez 8b0481316f meta-digi-arm: Allow to create an empty dev package for firmware-mxs.
Otherwise a dev or sdk image which include the dev-pkgs image feature
will fail.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-04 09:14:56 +02:00
Javier Viguera 08589f8942 meta-digi: missing spaces around '='
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-28 10:46:12 +02:00
Francis Sreeves d2cdf7826e image_types_digi: keep platforms in alphabetical order
http://fisheye.digi.com:8060/cru/CR-DEL-27#CFR-508

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Francis Sreeves 6db91dc1a3 meta-digi: add WR21 machine
https://jira.digi.com/browse/DEL-455

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Alex Gonzalez cc17072c91 meta-digi-arm: Update atheros init script to make it platform independent.
Another option would be to split it up in machine folders, but it is
similar enough in all platforms not to need this for the time being.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 09:23:31 +02:00
Alex Gonzalez c2da364830 meta-digi-arm: Add CPX2 wireless support.
Fix the kernel wireless configuration fragment, and add a couple of kernel
patches to set up the mmc0 interface to be used with the wireless and
remove an incorrect pin configuration.

There are similar patched to this on the gateways/master branch related to
the vehicle bus adapter product.

meta-digi-arm/conf/machine/cpx2.conf

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 13:26:29 +02:00
Alex Gonzalez ffd1561423 meta-digi-arm: Update cpx2 kernel defconfig.
It is now based on the ConnectCard defconfig instead of the gateways
product one. This makes more sense in this layer, and upper layers
can overwrite it if needed.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 13:26:16 +02:00
Alex Gonzalez 163810b9f4 meta-digi-arm: Update redpine module.
There is a revert on the redpine source that fixes
https://jira.digi.com/browse/DEL-456

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-14 11:03:47 +02:00
Javier Viguera 7ee47e607e meta-digi-arm: rework variants support
Mostly cosmetic changes to clear it a bit so customers can use it as
documentation for what variant they need to configure in their projects.

Also a couple of minor fixes: 'ext-eth' typo and duplicated 'e' variant
for ccimx53js.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-14 10:16:26 +02:00
Alex Gonzalez d176828980 Revert "meta-digi-arm: Avoid udev loading firmware files for atheros."
This manually reverts commit ecfdf6ae23.

Once mdev was removed as a dependency from del-image-graphical, we need
udev to load the firmware files for the wireless drivers. This job was
being done by mdev.

The reason for the commit in the first place was that both mdev and udev
were attempting to load the firmware files, so we changed the udev
rule to ignore the atheros driver. This was only needed when mdev and
udev were both running.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-10 18:37:19 +02:00
Javier Viguera 3874c057e2 meta-dig-arm: fix variant names
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-10 17:56:03 +02:00
Javier Viguera 592d4dc75f meta-digi-arm: fix u-boot config variant for ccimx53
https://jira.digi.com/browse/DEL-443

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:49:26 +02:00
Javier Viguera e0fed036fa config templates: set default platform variants
https://jira.digi.com/browse/DEL-438

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:18:07 +02:00
Javier Viguera 3bf4819f83 ccimx51js: add missing kernel configuration
https://jira.digi.com/browse/DEL-442

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 15:20:08 +02:00
Alex Gonzalez bf9d25f939 meta-digi-arm: Update Linux kernel to latest hotfix.
Update with del-5.9/main on the del-5.9.4.2 tag.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-06 09:50:32 +02:00
Javier Viguera e59768cd49 meta-digi: move DIGI_MIRROR to meta-digi-arm
If you don't want to use meta-digi-del and use only the BSP layer
(meta-digi-arm) to build a generic image (like core-image-minimal) you
need the DIGI_MIRROR variable in this layer because some of the BSP
recipes (kernel, u-boot) use it to get the source.

So this allows to build core-image-minimal for Digi platforms without
using meta-digi-del.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:39 +02:00
Alex Gonzalez 4590397b13 meta-digi-arm: Change variant image naming to match u-boot's.
Fixes https://jira.digi.com/browse/DEL-386

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-03 17:31:33 +02:00
Alex Gonzalez ca70358bc7 meta-digi-arm: Update u-boot SRCREVs to meta-digi-1.0.0.2 revisions.
Change to use the master instead of the DUB-1.5/main branch.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 18:23:53 +02:00
Alex Gonzalez 5c04568f09 meta-digi-arm: Update SRCREVs to meta-digi-1.0.0.2 revisions.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 15:35:21 +02:00
Alex Gonzalez 091e921db6 READMEs: Update layers README files for meta-digi-1.0.0.2
They contain the sha1s of the upstream poky, meta-fsl-arm and
meta-openembedded we are basing this drop on. These sha1s are also
included in the manifest file for the drop so they could safely be removed
from here once we are building release images on the Jenkins server.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 13:42:15 +02:00
Javier Viguera 0bc9f87e2f meta-digi: fix corner case broken build
Running:

bitbake -c cleanall packagegroup-machine-base

was failing due to those trailing backslashes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-29 18:35:40 +02:00
Alex Gonzalez daee2f556d meta-digi-arm: Separate wireless and bluetooth into configuration
fragments

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-26 15:53:39 +02:00
Javier Viguera 229dad5e1b meta-digi-arm: fix soundcard name for ccimx53js
https://jira.digi.com/browse/DEL-331

While on it, fix whitespace problems (mixed tabs + spaces) in the
bitbake recipe.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-26 14:07:19 +02:00
Javier Viguera 7f3ad176b6 meta-digi: replace DESCRIPTION with SUMMARY
According to the Yocto reference manual[1] and some mails in the mailing
list[2] we should set SUMMARY always as DESCRIPTION takes the value of
SUMMARY if not explicitly set.

[1] <http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SUMMARY>
[2] <http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/36454>

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-25 19:02:23 +02:00
Alex Gonzalez c83eed3126 meta-digi-arm: Use append format for variant override.
The previous "+=" format was doing a complete variable override instead
of an append. Features like usbhost or usbdevice were disappearing.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-25 15:20:17 +02:00
Alex Gonzalez b88e571358 meta-digi-arm: imx-audio, fix smixer controls for ccimx53
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-24 10:06:07 +02:00
Alex Gonzalez c3c816ec52 Add support for variants
I have split the machine configuration in two:

-The module machine configuration include, for example ccimx53.inc
-The machine configuration (for example cimx53js.conf) which includes
the variant configuration.

This will allow for customers to create their own machine keeping the
module include file.

The variant can be configured in the local.conf file with a
MACHINE_VARIANT variable.

The variant names are made up of the interface initials as follows:

    w: wifi
    e: externel ethernel
    b: bluetooth
    1: 1-wire
    a: accelerometer
    g: GPU
    v: VPU
    128: 128MB RAM
    4k: 1024MB NAND (only for MX51 JTAG flash)

For details regarding the supported variants, each machine configuration
file contains a comment with a variants table.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-22 17:28:44 +02:00
Alex Gonzalez 264737dde3 meta-digi-arm: Update linux kernel
The del-5.9/meta-digi branch is now based on the del-5.9.4.1 tag on
del-5.9/main.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:32 +02:00
Alex Gonzalez c654f5798e meta-digi: Move inclusion of wireless drivers to del-wireless.
Remove the machine rdepends and move to del-wireless which is only
included for the wifi machine feature.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Alex Gonzalez 76a5325500 meta-digi: Add distro to all PRs.
https://jira.digi.com/browse/DEL-282

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-18 18:37:31 +02:00
Javier Viguera d88b0270ff atheros: minor fixes on modules load script
* don't use a login shell to run the script. It overrides the
  environment that comes from the caller script.

* optimize MAC address parsing

* enable 'P2P' and softmac on driver's load

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-16 18:21:33 +02:00
Javier Viguera 1061489a62 atheros: update to GPL driver v3.4p4
This version of the driver can be redistributed, so remove the
build-from-objects part of the recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-16 17:24:02 +02:00
Alex Gonzalez 1846d5d09d meta-digi-arm: ccimx53js defconfig, enable SATA support.
As with DEL, enable SATA support by default.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-08 16:51:17 +02:00
Alex Gonzalez f13c201ff7 meta-digi-arm: Add short sha1 to kernel image name.
When compiling from a tarball, the git short sha1 will also be appended
to the Linux banner.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-08 16:51:17 +02:00
Alex Gonzalez 468e24becd meta-digi-arm: Use del-5.9 based kernel.
https://jira.digi.com/browse/DEL-363

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-08 16:51:17 +02:00
Alex Gonzalez 86655fb24e imx-audio: Remove redundant lines.
http://fisheye.digi.com:8060/cru/CR-DEL-6#CFR-358

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-04-03 13:13:06 +02:00
Alex Gonzalez 3b4d289ed5 meta-digi-arm: Fix imx-audio
The append files were not being chosen and the ccimx51js file needed
adjustment.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 14:00:55 +01:00
Alex Gonzalez ef8b6f5262 meta-digi-arm: firmware-mxs, use DIGI_EULA_FILE variable.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 11:41:24 +01:00
Alex Gonzalez 7de306fc26 meta-digi-arm: U-Boot recipe requires UBOOT_MAKE_TARGET override.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 11:06:02 +01:00
Alex Gonzalez 969c1fc214 kobs-ng: Rename folder with patches so that it is parsed.
It needs to be ${PN}-${PV} instead of ${PN}_${PV}.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-26 10:33:18 +01:00
Alex Gonzalez f04579d9d9 meta-digi-arm: Review kobs-ng recipe.
Do not duplicate patches in platform specific folder, use a common
folder instead.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 14:01:33 +01:00
Alex Gonzalez 23f2ccfc65 meta-digi-arm: Review u-boot-imx recipe.
- Merge SRCREVS
- Remove UBOOT_MAKE_TARGET_paltform as they already are in machine
configuration files.
- Merge DEPENDS_mxs_platform as they are equal.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 14:01:33 +01:00
Alex Gonzalez ec9ae14194 meta-digi-arm: Review imx-bootlets_del recipe.
Use COMMON_LICENSE_DIR variable.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez fc9d6faa33 meta-digi-arm: Review firmware-mxs recipe.
Use the DIGI_EULA and redo indentation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez bc9c48b201 meta-digi: Use common template for recipes.
All recipes include:

# Copyright (C) 2013 Digi International.

DESCRIPTION=""
SECTION=""

DEPENDS = ""
LICENSE = ""
LIC_FILES_CHKSUM = ""

PR="rn"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:54 +01:00
Alex Gonzalez a0d00e4d76 meta-digi: Use the same template for include files.
They all have a copyright and the all do:

PR = "${DISTRO}.${INC_PR}.0"

Then recipes which include them include:

PR = "${DISTRO}.${INC_PR}.0"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-22 13:57:53 +01:00
Alex Gonzalez f31d9f880e meta-digi: Replace SUMMARY by DESCRIPTION in all recipes.
According to the Poky reference manual, SUMMARY inherits DESCRIPTION, so
it's better to have only a DESCRIPTION or both.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 15:53:32 +01:00
Alex Gonzalez 7979fd788c meta-digi-arm: Remove incorrect INC_PR
INC_PR is used in include files to that the recipes that include them
can use it to increment the PR.

In this recipe what we need is to set the PR.

An example from the Yocto dev manual:

recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
recipes-graphics/xorg-font/encodings_1.0.4.bb:PR = "${INC_PR}.1"
recipes-graphics/xorg-font/font-util_1.3.0.bb:PR = "${INC_PR}.0"
recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 14:11:27 +01:00
Alex Gonzalez 0cea6d53fd meta-digi: Unify bbappend files with template
All bbappend files will start as follows:

# Copyright (C) 2013 Digi International.

PRINC := "${@int(PRINC) + 1}"
PR_append = "+${DISTRO}"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 14:09:54 +01:00
Alex Gonzalez d970f5ba57 meta-digi: Add imx-audio package.
This recipe install an init script that allows to set some alsa audio
parameters without having to touch the default alsa states.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 10:24:47 +01:00
Alex Gonzalez bb4edfc2a4 meta-digi: Move kernel-module-gpio dependency to example recipe.
Before it was a machine dependency which it not really is.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-21 09:34:55 +01:00
Alex Gonzalez e14ec79443 READMEs: Remove EULA acceptance variable.
This variable is finally not being used so remove mentions of it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-20 17:36:46 +01:00
Alex Gonzalez a7391593d7 meta-digi-arm: Add tarball build for imx-bootlets.
https://jira.digi.com/browse/DEL-362

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Alex Gonzalez fee69491de meta-digi-arm: Add tarball build for u-boot-imx.
https://jira.digi.com/browse/DEL-362

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Alex Gonzalez 745cdf990f meta-digi-arm: Add tarball build for linux-del.
On a release, the kernel will not be built from a git repo but
from a source tarball.

Make the default to build from a tarball.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-13 15:34:13 +01:00
Javier Viguera 26d98d13ff meta-digi: add 'ubootenv' tool
https://jira.digi.com/browse/DEL-286

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-12 16:47:43 +01:00
Javier Viguera df80921748 meta-digi: add 'nvram' tool
https://jira.digi.com/browse/DEL-286

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-12 16:47:20 +01:00
Alex Gonzalez 99bcb5e455 meta-digi: Update READMEs with correct revision for poky.
We can'se use the 1.3 Danny tag as it's broken, use the head.

Fixes https://jira.digi.com/browse/DEL-366

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-12 14:02:17 +01:00
Alex Gonzalez 79394ea92c Revert "meta-digi-1.0.0.1: Change SRCREVS to release sha1s."
This reverts commit 0aaa3b492e.
2013-03-11 09:50:56 +01:00
Alex Gonzalez 0aaa3b492e meta-digi-1.0.0.1: Change SRCREVS to release sha1s.
This commit is to be reverted next.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-11 09:43:15 +01:00
Alex Gonzalez b5786d2290 meta-digi: READMEs
Add sha1s to Danny of all supporting layers.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-11 09:42:09 +01:00
Javier Viguera aca2ec95e3 atheros: initial support for CPX2
Not yet finished as not all the cpx2 variants support wireless.

This has to be enabled per-variant.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-08 11:02:23 +01:00
Javier Viguera 9185fb24c9 meta-digi: fix some issues in kernel config fragments
* pmic-battery package name
* accelerometer config (missing INPUT_MISC)
* battery config (missing POWER_SUPPLY)
* rework/simplify bitbake recipe

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:52:33 +01:00
Javier Viguera 383dda0a06 redpine: build from objects tarball by default
Also use git revision (SHA1) as part of the tarball name.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:43 +01:00
Javier Viguera 4f0067f8d4 atheros: build from objects tarball by default
Also use git revision (SHA1) as part of the tarball name.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:43 +01:00
Javier Viguera 1d31774d66 kernel-module-atheros: use BSD license
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-07 19:47:42 +01:00
Alex Gonzalez ecfdf6ae23 meta-digi-arm: Avoid udev loading firmware files for atheros.
This was causing module loading issues on del-image-graphical.

Fixes https://jira.digi.com/browse/DEL-338

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-07 18:15:05 +01:00
Alex Gonzalez 165b5456e5 meta-digi-arm: Remove ext3 and sdcard image types.
Do not generate them until they are properly tested and working.

Fixes https://jira.digi.com/browse/DEL-192

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Alex Gonzalez 11bb2bbca7 meta-digi: Do not hardcode distro in PR_appends.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Alex Gonzalez 8309770cdf meta-digi-arm: Remove spurious comment.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Javier Viguera 7c894ce3d7 kernel-module-redpine: separate Kbuild part
Following the guidelines in kernel documentation:

linux-tree/Documentation/kbuild/modules.txt

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Javier Viguera a9767aa5ff kernel-module-atheros: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Alex Gonzalez 9e336798c7 update_flash: Add kobs-ng dependency.
kobs-ng is needed to be able to flash the bootloader from user space
in mxs platforms.

Fixes https://jira.digi.com/browse/DEL-340

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 0e0b599c48 meta-digi-arm: Fix overrides for linux-del.
The overrides need machine_family.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 9c2567021e meta-digi-arm: Create an extra kernel symlink.
Create a symlink on the deploy folder that matches the standard uboot
name for the kernel.

Fixes partially https://jira.digi.com/browse/DEL-283

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Javier Viguera 1226554932 meta-digi-arm: fix linux kernel broken build with dash shell
Due to the use of a bashism (shopt).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 15:38:50 +01:00
Javier Viguera a952a61288 kernel-module-redpine: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:22:09 +01:00
Javier Viguera 8201c36178 kernel-module-redpine: remove patch
Integrated into redpine repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:21:50 +01:00
Alex Gonzalez bc3a4b663c meta-digi-arm: Avoid udev loading atheros kernel module.
udev will attempt to load the atheros kernel modules because it defines
a modalias that matches an sdio bus event.

In a race condition with the script in if-pre-up, the module will crash.

Recent versions of udev have lost the ability to add an ignore_device
option to the rules, and mdev in del-image-minimal has no module
autoloading ability.

The commit adds a modprobe install rule that does nothing, and allows
the if-pre-up script to load the module as it used to.

Fixes https://jira.digi.com/browse/DEL-277

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez 766b99f0c6 meta-digi-arm: Move atheros init script to machine folder.
This allows for different platforms to use their own version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez c2a9ce5a68 meta-digi: Use a single Digi premirror.
This commit adds a Digi premirror to the DEL distribution file. This
premirror will be tried first. It default to build-linux.digi.conf but
will be customized for the layer public release.

This still allows for a project to be customizes with a
SOURCE_MIRROR_URL which will be tried before the premirrors.

Fixes https://jira.digi.com/browse/DEL-186

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:05:27 +01:00
Alex Gonzalez f4c81bccfd meta-digi-arm: Fix imx-bootlets-del for CPX2.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 16:07:50 +01:00
Alex Gonzalez 7c57b2659c meta-digi: Add accel-graphics machine feature.
The del-image-minimal will included the graphical acceleration libraries
if the machine supports accel-graphics.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:55:06 +01:00
Alex Gonzalez e9037c6812 meta-digi-arm: Fix soundcard name in alsa state files.
Fixes https://jira.digi.com/browse/DEL-331

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:10:28 +01:00
Alex Gonzalez 2e73bd974d meta-digi: Add battery configuration and module autoload for CCIMX51JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b71d8395d5 meta-digi: Add camera support kernel configuration and module autoloading.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 43682a2d84 meta-digi: Automate the sahara kernel module loading.
The del-examples-sahara now depends on the kernel modules it needs to
work and these are autoloaded at boot.

Fixes DEL-274.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b4ff11cf9e meta-digi: Autoload kernel-module-mma7455l with del-examples-accelerometer.
For this the CCIMX51 and CCIMX53 kernels are configured to build the
mma7455l module and it is included as a dependency of the del-examples-
accelerometer application.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez a6f0aeaefc meta-digi-arm: Remove UART1 support from MX28 defconfig.
This conflicts with user led 2 used in the GPIO example add and with
other interfaces needed in the del-image-graphical image.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00