Commit Graph

1075 Commits

Author SHA1 Message Date
Javier Viguera ad0d0b7bfc meta-digi: cosmetic, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b52786156a43eb7b3c51a114797be5bf2896f313)
2015-09-29 11:53:10 +02:00
Javier Viguera f20b82c7cd meta-digi: remove automatic acceptance of FSL EULA
https://jira.digi.com/browse/DEL-1734

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 35a78b13f72963205dc1ae1e05ee851ca6cc4f28)
2015-09-29 11:52:10 +02:00
Jose Diaz de Grenu de Pedro 7084920cb4 meta-digi-dey: busybox: Moved bridgeifupdown into the version specific path.
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-09-18 13:17:33 +02:00
Jose Diaz de Grenu de Pedro 323de7c1b6 meta-digi-dey: dey-examples-rtc: added argument for selecting device node
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
https://jira.digi.com/browse/DEL-1701
2015-09-17 12:38:43 +02:00
Jose Diaz de Grenu de Pedro 7d8955430a meta-digi-dey: Add bridging support.
Add the networking configuration to support the creation of a bridge
interface.

Signed-off-by: Jose Diaz de Grenu de Pedro Jose.DiazdeGrenudePedro@digi.com
2015-09-17 10:45:45 +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
Javier Viguera ee1bf7d441 meta-digi-dey: remove sares-image bbclass
This was used just for SARES testing and according to the SA team it is
not needed anymore, so just remove it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-27 11:10:15 +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
Jose Diaz de Grenu de Pedro 952a8db5a3 meta-digi-dey: dey-examples: Moved dey-examples-adc and dey-examples-gpio
dependences for consistency

The GPIO and ADC examples are not meant for the mx6 familiy, so make their
dependences platform dependent

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2015-08-13 10:02:55 +02:00
Jose Diaz de Grenu de Pedro a288517471 meta-digi-dey: dey-examples: Fixed individual examples recipes
https://jira.digi.com/browse/DEL-1698

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
(cherry picked from commit 42997de56cf3f3943518e782332effad66965b21)

Conflicts:
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-bt.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-btconfig.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-can.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-hdp.bb
2015-08-13 10:01:59 +02:00
Alex Gonzalez c455d31ba6 meta-digi: Add Release Notes and ChangeLog
Initial commit of Release Notes and ChangeLog.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-08-10 13:45:29 +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
Alex Gonzalez d2203d4850 meta-digi-arm: Add dual-lite non wireless/non bluetooth/non kinetis variant
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-08-10 12:59:20 +02:00
Javier Viguera 66853e465f meta-digi: disable atheros kernel module for ccimx6sbc
The external kernel module does not build with linux 3.14, and we want
to test the upstream driver included in the kernel tree.

So for the moment disable the external kernel module, to allow start
building images in the buildserver.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-07 15:59:40 +02:00
Javier Viguera 4077100240 meta-digi-arm: set preferred kernel version for ccimx6sbc to 3.14
Linux 3.10 is still available via project's local.conf.

PREFERRED_VERSION_linux-dey = "3.10"
KERNEL_DEVICETREE = "..."

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-07 15:30:09 +02:00
Javier Viguera 44f1b44830 meta-digi-arm: create recipe to build linux-3.14
Platform defconfig corresponds to sha1 'e1506ff' in the kernel.

At this point linux-3.10 continues to be the default, some device-tree
files were renamed and the external atheros module does not compile with
linux-3.14, so to use this kernel with dey-1.8, following lines are
needed in the project's local.conf:

PREFERRED_VERSION_linux-dey = "3.14"
KERNEL_DEVICETREE = " \
    imx6dl-ccimx6sbc-wb.dtb \
    imx6dl-ccimx6sbc-w.dtb \
    imx6q-ccimx6sbc.dtb \
    imx6q-ccimx6sbc-wb.dtb \
    imx6q-ccimx6sbc-wb-ldo-bypass.dtb \
    imx6q-ccimx6sbc-w.dtb \
"
MACHINE_FEATURES_remove = "wifi"

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-08-07 13:15:46 +02:00
Javier Viguera 262957995c pointercal-xinput: remove PREFERRED_VERSION_linux-dey override
Now each platform is only supported in one kernel version, so there is
no need to have multiple calib 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:51 +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 90a6730c54 DIGI_EULA: Correct part number.
PN 90001132 is marked as obsolete. It was deprecated along with the
ConnectCore for i.MX51 EAK.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-30 16:06:33 +02:00
Javier Viguera 03b561269a meta-digi-arm: ccimx6sbc: use soft assignment for KERNEL_DEVICETREE
So it can be override for example from the project config file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-07-27 14:51:12 +02:00
Javier Viguera 473880294f meta-digi-arm: install e2fsprogs-resize2fs package
The 'resize2fs' command we use to resize the filesystem on first boot
has been moved from standard 'e2fsprogs' package to its own
'e2fsprogs-resize2fs', so this is the one we need to include now.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-07-27 10:59:06 +02:00
Javier Viguera 3c1526ede5 meta-digi-arm: enable SPIDEV for ccardimx28js in kernel 3.10
Also remove kernel configuration fragments for kernel 3.10. This is not
needed for 3.10 as all the configuration is done via device-trees.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b0031915f1c7f3eeba680161827e78bbac9eebb4)
2015-07-17 10:21:03 +02:00
Javier Viguera 80c0eeab42 module-atheros: fix module not loading in kernel 2.6.35
This is a regression introduced in a74363c. The MOD_VARIANT variable was
not correctly set because in kernel 2.6.35 there is no device-tree
support.

The fix is to get the module variant from the sysfs as a fallback for
old kernels.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 6357d71152c38c4713fc534b78b6c2993b201aa8)
2015-07-16 17:19:50 +02:00
Alex Gonzalez ff946261ef meta-digi-dey: btfilter: ccimx6: Add variants 0x11/0x12 as bluetooth enabled.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-14 15:07:03 +02:00
Alex Gonzalez c014df997f packagegroup-dey-gstreamer: Add bluetooth plugin.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:49 +02:00
Alex Gonzalez 269e7644cb packagegroup-dey-bluetooth: Add alsa bluez plugin for bluetooth audio support.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:45 +02:00
Alex Gonzalez df93676695 bluez4: Configure bluetooth audio.
Add the following lines to add support for the HSP/HFP and A2DP profiles,
and to route the audio through the HCI SCO channel:

	Enable=Source,Sink,Headset,Gateway,Control,Socket,Media
	SCORouting=HCI

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-07-03 17:26:40 +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 b203540adf module-atheros: add calibration for wireless no bluetooth variants
Some CC6 variants have wireless but not bluetooth. Those variants need a
different calibration file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit a74363cf4a9b239edf9d628f84fe7e88002c0f5c)
2015-06-25 18:48:45 +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 d9b4d0731e meta-digi-arm: set BOARD_BOOTIMAGE_PARTITION_SIZE in KiB
This will allow in following commit to use the same VFAT boot image for
EMMC and SD. Until now we were creating different boot images for EMMC
and SD card images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 13e9ec7608d42430c2a01a728d030752a71f7948)
2015-06-25 18:43:37 +02:00
Javier Viguera 2765fc195c meta-digi-arm: set UBOOT_SYMLINK for all platforms
It will be used in a later commit to create SD card images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-06-25 18:43:00 +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 5cc2a7182d meta-digi-arm: adapt machines to new u-boot configure system
Use Yocto's UBOOT_CONFIG new functionality to select the u-boot
configuration to build.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-05-15 17:13:57 +02:00
Javier Viguera 2c6f44c53d meta-digi-arm: add support for other CC6 hardware variants
https://jira.digi.com/browse/DEL-1569

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-05-15 17:13:17 +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 fa30892ada meta-digi-arm: fix IMAGE_FSTYPES for MX5 platforms
The IMAGE_FSTYPES variable for ccimx51js and ccimx53js was not correct,
it was taking the default one from Poky (IMAGE_FSTYPES="tar.gz")
instead of the one in 'imx-digi-base.inc' file. This happened because we
were using the weak '??=' assignement while the default in Poky was
using '?='.

Also rework a bit how this variable is set, so it is easily overriden on
project config files or initramfs recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-04-27 17:14:16 +02: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