Commit Graph

781 Commits

Author SHA1 Message Date
Javier Viguera fc1ac720c0 meta-digi-arm: use 'nl80211' wpa_supplicant driver for MX6
The Atheros wifi chip uses 'nl80211'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-11 19:25:22 +01:00
Javier Viguera 6b7f1b2492 Revert "qt4-x11: workaround QT/EGL mismatch for MX6"
Similar patch sent upstream (meta-fsl-arm) was accepted.

This reverts commit b29a00fea6.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-11 15:43:56 +01:00
Javier Viguera a3f3d6125f meta-digi: mount boot partitions read-only
https://jira.digi.com/browse/DEL-949

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-10 11:53:20 +01:00
Javier Viguera 379a44a891 meta-digi-arm: simplify linux-dey recipe
linux-dey.inc is a copy of meta-fsl-arm's linux-imx recipe file, so
instead of copying the whole recipe just use that (including the file)
and code the differences.

While on it, add RDEPENDS_kernel-base="" to remove the dependence of the
rootfs image recipes on the linux image. We don't need/use the kernel
image in the rootfs as we load it from a different partition. This makes
rootfs images a bit smaller.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-07 15:17:27 +01:00
Javier Viguera 6e5501a24f meta-digi-arm: remove udev bbappend
It was added to fix [DEL-898] but it is no longer needed after the
underlying changes in the rootfs hierarchy (added '/run' mountpoint)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-06 17:17:26 +01:00
Javier Viguera 987418e5ee meta-digi: remove not needed files
These files were needed in previous versions of Yocto to overcome
different problems. Remove them as the default ones in current Yocto
version are good enough for our platforms.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-06 14:25:29 +01:00
Javier Viguera b29a00fea6 qt4-x11: workaround QT/EGL mismatch for MX6
Fix following error:

Warning: EGL suggested using X Visual ID 33 (ARGB0888) for EGL config 28 (ARGB0444), but this is incompatable
Unable to find an X11 visual which matches EGL config 28

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-06 10:30:18 +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 5651ce96f1 build.sh: support ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 11:48:43 +01:00
Javier Viguera a0c2099ec4 mkproject.sh: fix sed command to set concurrency parameters
With the update to Dora, the BB_NUMBER_THREADS and PARALLEL_MAKE entries
in the template config file changed slightly (added a '?'), but enough
so our mkproject script failed to match and configure them properly at
project creation time.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 18:59: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
Javier Viguera 52da486362 meta-digi-arm: simplify do_deploy in linux recipe
change the directory (cd) and make the symbolic link in a subshell to
preserve the current working directory for any subsequent command.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 13:36:57 +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
Javier Viguera 49c4bf8951 meta-digi-dey: drop ALLOW_EMPY from packagegroup recipes
This is not needed anymore after:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/packagegroup.bbclass#n14

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-26 10:44:39 +01:00
Javier Viguera 6e3694565e busybox: remove mdev extensions
We use udev as device manager both for minimal and graphical images so
there is no need for these mdev extensions anymore.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-26 10:31:39 +01:00
Javier Viguera 6fd93d7157 meta-digi-arm: do not create static nodes in rootfs images
We have all the kernels configured with DEVTMPFS support, so there is
no need to have static nodes in the image files. They are not used at
runtime because a TMPFS is mounted at '/dev'.

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

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

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

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

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Javier Viguera 0a7b0619d0 meta-digi-dey: sync local checkroot.sh script with upstream's
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 03e440ca9f dey-examples-rtc: add minutes resolution mode
rtc_test now can run with minutes instead of seconds resolution. This
is needed for RTCs that trigger the alarm on the minute register.

It also allows to override the default timeout from the command line.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 765bc52bda meta-digi-dey: add evtest, i2c-tools and tcpdump to dey-debug
While on it sort alphabetically.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 7aa61f5e61 meta-digi: add config templates 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:59 +01:00
Alex Gonzalez 45f329b27a meta-digi-arm: add the ccimx6adpt machine
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 38a8b8b461 meta-digi-dey: support dey-examples 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:59 +01:00
Alex Gonzalez 461b010e10 meta-digi-dey: add gpu binaries to graphical image
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-24 12:33:59 +01:00
Javier Viguera 7cb09c4096 alsa-state: add config files for ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-02-24 12:33:59 +01:00
Alex Gonzalez 854910d3c0 meta-digi-dey: allow to compile wpa_supplicant for ccimx6adpt
Add the machine specific files for the ccimx6adpt platform. Initially
they are copied form the ccardimx28js as it is also planned to use
an Atheros chipset.

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

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

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

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

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

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

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

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-23 15:07:03 +01:00
Alex Gonzalez 36cdf24425 meta-digi-dey: move packagegroup definitions to distro configuration
After the upstream commit in d63c8a1597c9bd0a838cb59ca461ac432b630a90,
bitbake checks to see if the image feature has a valid packagegroup
associated.

For this check to work dey features need to be defined for all images,
not only dey images, so the definitions need to move to the distro
configuration file.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-17 13:27:37 +01:00
Javier Viguera f729e76654 meta-digi-arm: build JFFS2 images for ccardimx28 and kernel 3.10
Previously jffs2 images flashed from u-boot were not booting Linux. The
kernel was unable to mount the rootfs.

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

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-17 10:51:04 +01:00
Javier Viguera 9a681704d4 meta-digi-dey: remove support for wayland
Also make DEY image recipes more robust to misconfigurations, by setting
explicitly the required and conflict distro features.

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

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

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

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

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

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 17:19:38 +01:00
Alex Gonzalez d3726ffff7 meta-digi-dey: add dey-test to the image features valid items
Features without a valid packagegroup need to be added to the
validitems list.

This needs to be in the distro configuration file as it needs to be
available to all images from all layers.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-14 14:21:10 +01:00