Commit Graph

652 Commits

Author SHA1 Message Date
Javier Viguera 7d126d318b meta-digi-arm: split ath6kl firmware from kernel module
Split the ATH6KL firmware files to a different recipe and package so
they can be used regardless of what driver we are using (the external
module or the upstream driver).

Reuse the 'firmware-atheros' recipe which was creating a package with
bluetooth firmware, to create the package with wireless firmware as
well.

Also remove 'ccimx6' as compatible machine for the external atheros
module, as the module does not even compile with the kernel version we
are using (3.14).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-15 18:01:15 +02:00
Alex Gonzalez a81a7d586c meta-digi: revert revisions to AUTOREV
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-15 15:36:10 +02:00
Alex Gonzalez f032e1a132 meta-digi: update SRCREVs for dey-1.8.0.2
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-15 15:35:36 +02:00
Javier Viguera d6f4515517 meta-digi-arm: remove u-boot preferred versions
There is only one u-boot supported for each platform, so there is no
need to explicitly set the u-boot preferred version.

As a result it was needed to rework the nvram recipe which was using the
removed PREFERRED_VERSION_u-boot-dey variable.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-07 17:11:14 +02:00
Javier Viguera 6fdcbf5f40 meta-digi-arm: use u-boot fw-utils from Poky
Instead of creating a new recipe for u-boot fw-utils (fw_printenv) just
bbappend the recipe in Poky.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-06 10:30:00 +02:00
Javier Viguera 3b0d4e1797 meta-digi-arm: rework u-boot 2015.04 recipe
* Merge u-boot-dey-rev_2015.04.inc into the recipe. There is no need to
  split the recipe, as there is no other recipe using this u-boot code.

* Update uboot configurations to the new format '_defconfig'. Also add
  the new 2GB variant.

* Remove PREFERRED_VERSION_u-boot-dey for CC6, as there is only one
  version available for this platform.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-05 17:27:11 +02:00
Alex Gonzalez f33afc53b4 meta-digi-arm: update uboot to v2015.04 and make default for CC6
https://jira.digi.com/browse/DEL-1829

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-10-05 16:04:04 +02:00
Javier Viguera 48f62a6e6b u-boot: use maintenance branch for ccardimx28js
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-09-11 12:01:40 +02:00
Alex Gonzalez fec876dfb9 meta-digi: revert revisions to AUTOREV
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-08-18 19:28:43 +02:00
Alex Gonzalez a37674d4a1 meta-digi: update SRCREVs for dey-1.8.0.1
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-08-18 19:26:54 +02:00
Alex Gonzalez e19e80ae15 meta-digi-arm: u-boot-dey: boot.txt: Add support for variant 0x12.
This is a Consumer quad-core 1.2GHz, 4GB eMMC, 2GB DDR3, -20/+85C variant
with bluetooth and wireless, no kinetis.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-08-10 13:14:49 +02:00
Alex Gonzalez f6852b1bf9 meta-digi-arm: u-boot-dey: boot.txt: Remove 0x7 and 0x9 variants.
These eMMC-less variants have been cancelled.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-08-10 13:12:32 +02:00
Javier Viguera 9c992309b0 alsa-state: remove PREFERRED_VERSION_linux-dey override
Now each platform is only supported in one kernel version, so there is
no need to have multiple alsa config files per linux kernel version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-05 11:56:16 +02:00
Javier Viguera db5ab5f048 meta-digi-arm: remove support for u-boot 2009.08 on ccardimx28js
https://jira.digi.com/browse/DEL-1747

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-05 11:55:37 +02:00
Javier Viguera 6a7f06b410 meta-digi-arm: remove support for kernel 2.6.35 on ccardimx28js
https://jira.digi.com/browse/DEL-1747

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-05 11:54:55 +02:00
Javier Viguera 75a3a71e45 firmware-atheros: fix Digi EULA md5sum after latest changes
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 5819ce98ddcecf0e4c8936d45e35de3240fa05a6)
2015-08-04 16:31:24 +02:00
Alex Gonzalez 3da25843d8 alsa-state: Add bluetooth audio default headset and speaker devices
This commit adds virtual PCM devices which are used for HSP/HFP and A2DP
profiles.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:20 +02:00
Alex Gonzalez 6173fd3f34 firmware-atheros: Add bluetooth audio configuration to pst file.
The following section configures the Audio Data Path to Voice Over UART.

//Audio - Audio main config
[H:S]0041
[H:S]0004
[H:A]01 00 00 00

The syntax is explained in the AR3002 2.2 Tag definition 1.0 document from
Qualcomm/Atheros.

Other audio sections are removed as they are not being used.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:25:24 +02:00
Javier Viguera 7409ad875c meta-digi-arm: fix u-boot boot script
Adapt u-boot bootscript after latest changes in 'mmcdev' variable
semantics. Now the boot media device is stored in 'mmcbootdev' variable.

Also set the device tree filename depending on the hardware variant.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-06-25 18:48:49 +02:00
Javier Viguera 10a25a621f imx-bootlets: update revision
Support new memory chips for 'ccardimx28js'.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b7d108c35f6a26a78a4fbab399fd2c0878976a67)
2015-06-25 18:48:48 +02:00
Javier Viguera ed251520b5 u-boot-fw-utils: reconfigure u-boot env depending on boot media
Add post-installation script that runs on first boot to reconfigure the
u-boot environment depending on the media (EMMC,SD) the target is
booting from.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 8486d120355d80ea8ad5864596c8486a1d3c0db2)
2015-06-25 18:48:33 +02:00
Javier Viguera 6b31e716a5 meta-digi-arm: rework SD card generation class
This is needed in the context of CC6 variants 0x7 and 0x9 (EMMC-less).

Changes:

* Do not use 'meta-fsl-arm' image generation class: removed include and
  override SDCARD generation function
* Use same VFAT boot image for EMMC and SD card. The u-boot bootscript
  has been adapted to be able to boot Linux from both SD and EMMC.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 8b8456b8fd90facd92dfc87632effa582ca60475)
2015-06-25 18:44:13 +02:00
Javier Viguera 9048ab3477 meta-digi-arm: build all CC6 u-boot variants
https://jira.digi.com/browse/DEL-1569

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-05-15 17:14:31 +02:00
Javier Viguera 20671e874d meta-digi: remove current variants support for CC6
Remove the current DEY variants support and framework for CC6 because in
following commits we will add support for all *hardware* variants in
just one set of DEY images for CC6.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-05-15 17:12:45 +02:00
Paul Osborne d9284d96a7 meta-digi-arm: ccimx6: restrict maximum output power for class 1 bluetooth
The previous class 1 settings for the atheros bluetooth resulted in
output power higher than what is allowable in all regulatory
domains where class 1 devices are allowed on the CC6.  The updated class 1
regulatory settings here reduce the maximum output power to levels
which pass when tested at an external lab.

This change resolves CCIMX6-389.

Signed-off-by: Paul Osborne <Paul.Osborne@digi.com>
2015-05-07 13:02:38 -05:00
Javier Viguera 6dd31598d0 meta-digi: clean PACKAGE_ARCH from some recipes
Those packages are not machine specific, so there is no need to set
PACKAGE_ARCH to ${MACHINE_ARCH}.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-04-16 18:10:20 +02:00
Javier Viguera 8dee301e7d u-boot-dey: remove redundant PACKAGE_ARCH
It's already set in the included 'u-boot.inc' (in poky)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-04-16 18:10:20 +02:00
Javier Viguera 3bd1aef5d7 ath-prop-tools: fix package installation from prebuilt binaries
athtestcmd and wmiconfig are proprietary tools from Atheros. When
installed from GitHub we use prebuilt binaries because we cannot provide
the source code to the customers.

The prebuilt binaries need to be platform dependent, because the
'ccardimx28' uses soft-float binaries while the 'ccimx6' uses hard-float
binaries. Otherwise there is a failure:

root@ccimx6sbc:~# /usr/sbin/athtestcmd
-sh: /usr/sbin/athtestcmd: not found

While on it, removed the checksums for the binaries, as Yocto does
not verify checksums for local files by default, only for downloaded
files.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 8a3a124c75a885a619b41bf1e17118f1b3dec13c)
2015-04-15 18:54:36 +02:00
Javier Viguera 276cfa58f5 u-boot: add native mkimage dependence
The SD card images support added a dependence to mkimage native tool.
Otherwise the build may fail with:

mkimage: not found

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-31 12:23:47 +02:00
Javier Viguera 43bd3f4e4e meta-digi: use recommended BP and BPN variables for FILESEXTRAPATHS
Also move files from generic 'files' folders to a more specific '${BP}'
or '${BPN}' folders. This is recommended to speed up the fetch of files
from the local machine, as the search is done in a certain order: ${BP},
${BPN}, and 'files'.

More info:
http://thread.gmane.org/gmane.linux.embedded.yocto.general/23550/focus=23576

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:12 +01:00
Javier Viguera 6c3e81825c meta-digi: remove deprecated PR from recipes
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 4112aeb056 meta-digi-arm: fix build error in imx-bootlets-dey
With yocto 1.8 we need to pass CC and LD from yocto environment to
imx-bootlets makefile. Otherwise it fails:

arm-dey-linux-gnueabi-ld: cannot find -lgcc
make[1]: *** [output-target/linux_prep] Error 1

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera 1ddee2d028 meta-digi-arm: fix build errors in nvram and ubootenv
Yocto 1.8 is more strict in the syntax when you append more flags to the
CFLAGS variable, because with previous yocto versions these packages
used to build fine and now fail with:

run.sstate_create_package: Syntax error: "(" unexpected

Use a different EXTRA_CFLAGS variable for our custom flags instead of
the standard CFLAGS.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:43:11 +01:00
Javier Viguera cac6566d3b meta-digi: rename DIGI_MIRROR to DIGI_PKG_SRC
It has never been a mirror of upstream packages.

It's the URL of packages needed for the BSP. These packages are mostly
Digi specific and not provided in any other location.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit d4cf9a88c9db39c6ecfd0099437d82af81c96e85)
2015-02-05 16:40:03 +01:00
Javier Viguera f3dfa6a3b6 meta-digi-arm: support variants for ccimx6sbc
This completes the support for ccimx6sbc variants:

* support device tree variants
* split variants '0x01,0x02,0x04' group in two different groups (with or
  without kinetis)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 3f20015411f4e270b2e2c8faf292678c75ff2aff)
2015-02-05 16:37:42 +01:00
Javier Viguera e814742ebd meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-13 18:22:07 +01:00
Javier Viguera 1cd75a0a30 meta-digi: update revisions for dey-1.7.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-13 18:19:32 +01:00
Javier Viguera e42a291557 meta-digi: support ccardimx28js SD images based on kernel 2.6.35
Notes:

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

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

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-09 19:13:33 +01:00
Javier Viguera d6c2b36c6e alsa-state: do not remove 'asound.conf'
The removal was added as a workaround to avoid installing a generic
asound.conf that was conflicting with our cards.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-23 13:14:29 +01:00
Javier Viguera e0fcd4d199 meta-digi-dey: cosmetics, no functionality change
Indent SRC_URI values according to openembedded coding style.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-25 13:48:02 +01:00
Javier Viguera 1c5d54a4c3 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-17 20:03:08 +02:00
Javier Viguera a3c1aa7626 meta-digi: update revisions for dey-1.6.2.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-15 17:16:56 +02:00
Javier Viguera 3b6835ac1b meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-15 11:17:21 +02:00
Javier Viguera fb1da18ea1 meta-digi: update revisions for dey-1.6.2.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-07 14:26:48 +02:00
Javier Viguera 0d42da6e12 meta-digi: cosmetic, fix typos
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-05 16:07:11 +02:00
Javier Viguera 036fdf88ad u-boot: use dub-1.6 maintenance branch
This is the branch used for platforms using kernel 2.6.35 (at the moment
MX5 and ccardimx28)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-01 15:48:53 +02:00
Javier Viguera 84d0775eb1 u-boot: generalize using platform family
https://jira.digi.com/browse/DEL-1105

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-16 14:41:17 +02:00
Javier Viguera afca308575 alsa-state: generalize using platform family
https://jira.digi.com/browse/DEL-1105

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-07-16 14:41:13 +02:00
Alex Gonzalez 1f7093e4b3 meta-digi-arm: ccimx6: change default DTS file name
This has changed on the kernel tree.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-24 10:42:08 +02:00
Javier Viguera 68883946ec libdigi: cosmetic, fix coding-style and whitespace
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-30 13:45:34 +02:00
Javier Viguera e95192f965 libdigi: use standard bitbake vars for lib and include dirs
libdir     -> /usr/lib
includedir -> /usr/include

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-30 13:44:57 +02:00
Javier Viguera 6677b913b0 meta-digi: remove ALLOW_EMPTY hacks for libdigi and microwindows
Those hacks were added to fix a problem when building development images
(with 'dev-pkgs' image feature enabled). In that case the developemnt
packages (libdigi-dev and microwindows-dev) have a dependence on the
normal packages (libdigi and microwindows). But those packages are not
created by default because they are empty, thus the needed ALLOW_EMPTY hack.

Fix the problem by just resetting the runtime dependences of the -dev
packages. This allows to not create empty libdigi and microwindows
packages.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-29 17:20:45 +02:00
Javier Viguera a4c9ddc270 ccardimx28: only install BT firmware on HW variants with BT
While on it, rework and simplify atheros firmware recipe:

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-29 17:09:29 +02:00
Javier Viguera 4cb49ab09d meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 14:13:23 +02:00
Javier Viguera 8514398726 meta-digi: update revisions for dey-1.6.1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-27 14:09:32 +02:00
Javier Viguera bc267130c9 meta-digi-arm: make u-boot boot script platform specific
https://jira.digi.com/browse/DEL-1061

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-13 18:18:37 +02:00
Alex Gonzalez 954a356d7d meta-digi-arm: u-boot-dey: ccimx6sbc: Add environment configuration.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 10:29:19 +02:00
Alex Gonzalez 98fe20dff1 meta-digi-arm: alsa-state: Add state for ccimx6sbc.
This is just a copy of the states for the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 10:29:19 +02:00
Javier Viguera e639db7ebf meta-digi-arm: rename kernel and fdt files to uboot defaults
https://jira.digi.com/browse/DEL-1057

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-05-06 14:09:03 +02:00
Javier Viguera 2fd13737cb meta-digi-arm: remove SRCBRANCH support for external repos
Needing to set the branch where a specific SHA1 revision is contained is
a unnecessary constraint that can be bypassed setting 'nobranch=1' in
the SRC_URI.

We do that for all the external repos (GitHub) plus the internal ones
for the im-xbootlets and the atheros kernel module (as those two repos
are stable enough and we are not developing actively on them).

For U-Boot and Linux we keep the SRCBRANCH framework for internal repos
as this is needed for the AUTOREV yocto feature.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-25 16:56:27 +02:00
Javier Viguera 2769c4b7e4 meta-digi: revert internal repos to AUTOREV revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-22 12:53:02 +02:00
Javier Viguera c9c048a036 meta-digi: update revisions for dey-1.6.0.3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-11 17:27:25 +02:00
Javier Viguera 99b153e30b meta-digi: revert internal repos to AUTOREV revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-09 12:34:20 +02:00
Javier Viguera d3e268dd53 meta-digi: update revisions for dey-1.6.0.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-07 17:23:55 +02:00
Javier Viguera 65993e1e50 meta-digi-arm: add framework to set external branches for git repos
Starting with Yocto 1.6 there is a need to configure in which branch a
specific SHA1 revision is included. We need a framework to set such
branches both for internal git repos and for external ones (Github).

If the branch is not specified in the SRC_URI, the do_fetch task may
fail even though the SHA1 revision exists in the repository.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-04 19:22:55 +02:00
Javier Viguera f2dcb7fea0 u-boot-fw-utils: support unlocking EMMC boot partition
By default EMMC boot partition is locked. This prevents fw_setenv
utility to configure the u-boot environment from Linux.

This commit adds a patch that unlocks the EMMC boot partition just
before writing into it and then locks it again once the environment is
written.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-01 19:14:22 +02:00
Javier Viguera 5b9cb62599 u-boot: fix build of version 2009.08 for MX5
The setlocalversion script in u-boot 2009.08 did not have the
'--save-scmversion' parameter so the build was failing.

But for that version the whole do_compile_prepend can be removed because
it's not needed at all.

While on it, update the revisions for versions 2009.08 and 2013.01 to
include a fix done in 'setlocalversion' script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-31 17:25:45 +02:00
Javier Viguera c8d1f48a9a meta-digi-arm: specify branch for git-based SRC_URI
This fix an error building 'nvram' for ccardimx28js:

ERROR: Fetcher failure: Unable to find revision ... in branch master even from
upstream

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-31 11:16:36 +02:00
Javier Viguera 9b370d5a79 meta-digi: remove PRINC from recipes and use a local PR server
This cleans following warning:

  Use of PRINC is deprecated.
  The PR server should be used to automatically increment the PR.
  See: https://wiki.yoctoproject.org/wiki/PR_Service

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-27 18:44:35 +01:00
Javier Viguera cb1818f7b6 meta-digi-arm: add u-boot script to boot from SD card
https://jira.digi.com/browse/DEL-980

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-26 19:53:08 +01:00
Javier Viguera 3f17dd091e meta-digi-arm: fix u-boot version string
Building u-boot with Yocto does not show the version string in the
u-boot header. This is due to how Yocto compiles u-boot. It creates a
.scmversion file which may contain LOCALVERSION strings but in our case
it's empty. Later at build time u-boot's setlocalversion script detects
that file exists and exits with no further action (because it assumes
the file contains the version string).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-25 15:42:12 +01:00
Javier Viguera 26a3cef1b2 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-24 17:43:52 +01:00
Javier Viguera 838ba4b920 meta-digi: update revisions for dey-1.6.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-24 17:38:53 +01:00
Javier Viguera 9a83dcaad0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 14:46:51 +01:00
Javier Viguera f53848364a meta-digi: update revisions for dey-1.5.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 14:36:05 +01:00
Javier Viguera 77be150871 meta-digi-arm: add new package u-boot-dey-fw-utils
Provides fw_printenv/fw_setenv utilities to read/write the u-boot
environment from Linux.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 13:43:02 +01:00
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
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
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
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
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 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 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 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 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 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 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 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
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 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 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
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 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 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 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
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 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
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 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 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
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
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 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 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
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 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 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 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
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 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 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
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 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 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
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 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 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
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 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 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
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 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 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
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 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 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 85e2644459 meta-digi-arm: Add cpx2 machine.
This fixes https://jira.digi.com/browse/DEL-190

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 51f75c56ad meta-digi-arm: All git sources now point to the head of refs/heads/master.
All of the Yocto branches have finally been merged.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 18:22:24 +01:00
Alex Gonzalez 88392974c5 meta-digi-arm: Use master SRCREV for u-boot.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 09:24:38 +01:00
Alex Gonzalez e18cb7e7de meta-digi-arm: imx-bootlets-del, change board to CCARDIMX28JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 16:23:58 +01:00
Alex Gonzalez 7f509bd8df meta-digi-arm: Fix alsa states for ccimx51js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-13 11:25:47 +01:00
Alex Gonzalez 6042a70fbc meta-digi: Change xmx for imx.
Just a cosmetic name change for the merged wired and wireless platforms.

This and related commits fixes https://jira.digi.com/browse/DEL-188.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-13 10:43:50 +01:00
Alex Gonzalez 34831fe690 Revert "del-6.0.1-sprint4: Change SRCREV to sprint tags."
This reverts commit 5afd7a29d4.

Development will continue on branches.
2013-02-11 18:54:57 +01:00
Alex Gonzalez 5afd7a29d4 del-6.0.1-sprint4: Change SRCREV to sprint tags.
These are to be reverted after the SA drop.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-11 18:53:26 +01:00
Alex Gonzalez e20bd93460 meta-digi-arm: Fix u-boot-imx dependency on imx-bootlets-del.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 19:05:28 +01:00
Alex Gonzalez 81fe23572c meta-digi-arm: Add alsa states for all platforms.
Fixes https://jira.digi.com/browse/DEL-161

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 12:54:53 +01:00
Alex Gonzalez 59892b2f03 meta-digi-arm: Generate a bootstreamed u-boot for the ConnectCard for MX28.
The ConnectCard needs a bootstreamed (.sb) u-boot to boot from flash. This
is flashed using u-boot.

This changes compiles a bootstream u-boot image. The bootlets are compiled
separately and it's U-Boot's Makefile that calls elftosb to generate the
final bootstream.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez 2afcea15db meta-digi-arm: Add imx-bootlets-del recipe.
This is the recipe for Digi's customized MXS bootlets code.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez 2e1d2e1bcb Revert "meta-digi-arm: Define configuration targets for all platforms."
This reverts commit 5cf109df8b.

The configuration targets were already defined.
2013-01-15 10:47:09 +01:00
Alex Gonzalez 5cf109df8b meta-digi-arm: Define configuration targets for all platforms.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:26:46 +01:00
Alex Gonzalez 9a0751048b meta-digi-arm: Use hpalacio/del-6.x branch for u-boot-imx.
The U-Boot conditioning work for Yocto is taking place in that branch.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:10:10 +01:00
Alex Gonzalez 6d947648d8 meta-digi-arm: Add firmware-mxs.
This package contains firmware files for the MXS Digi family (Embedded and
boxed products).

Now it contains the bluetooth binary firmware files.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Javier Viguera ed96382a1f meta-digi: fix firmware-imx to build in yocto-1.3 (danny)
Otherwise it fails with:

ERROR: Nothing RPROVIDES 'imx-firmware'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:55 +01:00
Javier Viguera ff2f46daf3 meta-digi: fix typos
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-03 19:09:44 +01:00
Javier Viguera 9a4544b500 meta-digi-arm: allow to use u-boot-imx on our platforms
Otherwise for ccardxmx28js a different recipe is used (u-boot-2012.xx)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-12-19 11:19:44 +01:00
Alex Gonzalez 77428b3f76 meta-digi: Replace the PR append.
Use +del.rn instead of +digi.n.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Alex Gonzalez 60fb77c8c7 meta-digi-arm: firmware-imx, add machine conditional.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 13:03:18 +01:00
Alex Gonzalez 0778e10d3e meta-digi-arm: Add new variable DIGI_LOG_GIT.
And use it in all files that need it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 15:52:47 +01:00
Alex Gonzalez 07039b4c78 meta-digi-arm: Use upstream binaries.
Do not overwrite the upstream binaries with the local version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-03 18:58:16 +01:00
Alex Gonzalez a9343bad07 meta-digi: Remove [DIGI] from comments.
Now that all code is our own as we are not copying recipes into the
layer but overriden the ones in meta-fsl-arm, the prefix to comments
have no use.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 19:06:11 +01:00
Alex Gonzalez 0c3225b240 meta-digi-arm: Update imx-firmware to use meta-fsl-arm denzil.
It is now called firmware-imx.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-30 16:38:45 +01:00
Alex Gonzalez 3e451e6c08 meta-fsl-arm: Use meta-fsl-arm uboot-imx recipe.
Add a bbappend file to customize.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 17:08:51 +01:00
Alex Gonzalez 18b6d5ddf6 meta-digi-arm: Use an append file for imx-firmware.
Instead of having the whole recipe in meta-digi-arm, use the original
recipe in meta-fsl-arm and just add a bbappend file with some overrides.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:58:58 +01:00
Alex Gonzalez 36a7a55f2a meta-digi-arm: Add imx-firmware.
We use the 11.09.01 tarball which also includes binary firmware for other
hardware like the sdma and atheros, but we don't install the firmware
we don't use.

Also, we include newer VPU binary files on this commit, from the
11.09.01_201112 tarball which are the ones we use in DEL.

This is also done this way in meta-fsl-arm.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-21 16:04:07 +01:00
Alex Gonzalez 7dd61cc29b u-boot-digi: Provides u-boot.
This is the name the yocto core expects.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-30 18:34:51 +01:00
Alex Gonzalez 10c7f1c840 meta-digi-arm: Add recipes-bsp/u-boot
Also add the image_types_digi class.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-10-26 16:20:53 +02:00