Commit Graph

200 Commits

Author SHA1 Message Date
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