Commit Graph

218 Commits

Author SHA1 Message Date
Javier Viguera 5ca0bf76c9 meta-digi: update revisions for dey-2.0-r1.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-15 17:51:17 +01:00
Javier Viguera e627bfb1b1 u-boot: use v2015.04 maintenance branch
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-12 13:51:21 +01:00
Hector Palacios e9481ecd19 meta-digi-arm: add DEY firmware install U-Boot script
The install script allows for an easy deployment of the DEY firmware
artifacts into the eMMC of the ConnectCore 6 by using a micro SD card.
The install script:
	- updates U-Boot
	- resets the U-Boot environmnet to default values
	- formats the User Data partition of the eMMC
	- installs the firmware images (linux and rootfs partitions)
	- resets/starts the system

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-2192
2016-02-12 12:41:43 +01:00
Hector Palacios d59fab0cc9 u-boot-dey: remove canonical symlinks and add new ones (per U-Boot config)
The canonical symlinks created by poky's U-Boot class in u-boot.inc for
the different U-Boot configs are in the form:
	u-boot.imx-<config>
	u-boot-<machine>.imx-<config>

These symlinks have the .imx file extension hidden in the middle of the
file name, which looks ugly.
For DEY, remove these unused symlinks and generate new ones in the form:
	u-boot-<config>.imx

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-2192
2016-02-12 12:15:45 +01:00
Hector Palacios 308c5c337d u-boot-dey: [cosmetic] add comment to DEY boot script
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2016-02-12 12:10:47 +01:00
Javier Viguera 76415ed99e meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:45:16 +01:00
Javier Viguera 842c17a9b2 meta-digi: update revisions for dey-2.0-r1.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-02 17:16:14 +01:00
Javier Viguera 7915cc9c3f meta-digi: update to new github account 'digi-embedded'
As the plan is to use the same git objects (SHA1) in the internal and
github repos, also remove that internal/external SRCREV infrastructure.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-02-01 18:52:45 +01:00
Hector Palacios 607d703246 u-boot: select $fdt_file basing on $board_id (if defined)
Carrier board version is determined by U-Boot variable $board_id
which will be defined if a board ID has been burned on certain
OTP bits.
Use the value in this variable to create the $fdt_file variable
using the suffix "-id${board_id}" to point to the device tree
file that matches that board ID.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-2160
2016-01-29 13:26:12 +01:00
Javier Viguera 83a80bb9ce meta-digi: add support for CC6 variant 0x13
https://jira.digi.com/browse/DEL-2100

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-15 18:05:23 +01:00
Javier Viguera 79cca553e5 meta-digi: revert kernel and u-boot revisions to AUTOREV
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:43:05 +01:00
Javier Viguera cd2e929c92 meta-digi: update revisions for dey-2.0.0.1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-04 14:28:05 +01:00
Javier Viguera 20c2fbd8ba meta-digi-arm: fix u-boot license md5sum
ERROR: u-boot-dey: md5 data is not matching for file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95
ERROR: u-boot-dey: The new md5 checksum is c7383a594871c03da76b3707929d2919

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 14:02:31 +01:00
Javier Viguera d35ac42dd0 meta-digi: remove support for MX5X platforms
ccimx51js and ccimx53js are not supported in this version of DEY.
Support for those platforms is in previous versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-11-05 13:56:38 +01:00
Alex Gonzalez 71cc373ebc meta-digi-arm: Remove the ath-prop-tools package.
This is an atheros proprietary package that contains the athtestcmd and
wmiconfig applications.

Neither of them are currently used.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-10-21 13:33:10 +02:00
Hector Palacios 179763fbf7 kobs-ng: add support for 4K page NAND with 224-byte OOB
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 6ba199dda9dacc05525c745be631cadb7c30bdd2)

Conflicts:
	meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_3.0.35-4.1.0.bb
2015-10-19 11:59:04 +02:00
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