Commit Graph

1066 Commits

Author SHA1 Message Date
Javier Viguera 26d41b7d09 meta-digi-dey: update dey-image-graphical for yocto 1.8
owl-video and gpu-viv-bin packages have been removed

Fix:

ERROR: Nothing RPROVIDES 'owl-video'
ERROR: Nothing RPROVIDES 'gpu-viv-bin-mx6q'
ERROR: Nothing RPROVIDES 'gpu-viv-g2d'

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 c451c96dd6 meta-digi-arm: do not override EXTRA_OEMAKE variable
We need to append our config to EXTRA_OEMAKE variable instead of
overriding it, because otherwise we lose some config from the
environment (e.g. KERNEL_SRC) and the build fails with:

make: *** M=...kernel-module-.../git: No such file or directory

Also remove redundant PACKAGE_ARCH setting, as it's inherited from
module-base class.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-13 18:42:02 +01:00
Javier Viguera b386710979 meta-digi-arm: fix building kernel using out-of-tree
The way the kernel is built in yocto 1.8 has changed. Now the
build is done under ${WORKDIR}/build while the source code is at
STAGING_KERNEL_DIR, so we need to modify the '.config' in the build
directory instead of in the source directory.

This fixes:

kernel-source is not clean, please run 'make mrproper'
make[2]: *** [prepare3] Error 1
make[1]: *** [sub-make] Error 2

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:44:25 +01:00
Javier Viguera 60ff626ed5 meta-digi-dey: update wpa_supplicant to 2.3
Remove the patch because it's now included in wpa_supplicant v2.3

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:43:51 +01:00
Javier Viguera b224ff2dd4 meta-digi-dey: update busybox to 1.23
Used in Yocto 1.8

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:43:18 +01:00
Javier Viguera 05c54002e3 meta-digi-arm: sync machine files with meta-fsl-arm
This synchronizes the machine configuration files with the latest
changes in meta-fsl-arm for yocto 1.8

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:42:44 +01:00
Javier Viguera 7ea9adbd83 meta-digi: sync config templates with yocto 1.8
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:42:10 +01:00
Javier Viguera 938fdefdb3 meta-digi-dey: update distro config for yocto 1.8
https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-12 14:41:38 +01:00
Javier Viguera 85b4977418 meta-digi-arm: fix device tree name for ccimx6sbc
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-03-10 10:53:20 +01:00
Hector Palacios b482e2201d btfilter: bluez-init: add support for ccardimx28 variant 0x12
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-1556
(cherry picked from commit cdea8187fe4e7f3e0359919cef057b379362730a)

Conflicts:
	meta-digi-dey/recipes-connectivity/btfilter/files/bluez-init
2015-03-03 12:48:55 +01:00
Javier Viguera 423c1115d1 meta-digi-arm: allow to build variant 0x8
Variant 0x8 does not have wireless/bluetooth, but it uses the same
device tree than the other variants.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 3ba5bff51ebbe6be8325128ae3beb950993607d2)
2015-02-27 17:28:33 +01:00
Alex Gonzalez cdec338906 dey-examples: v4l2_test: Set capture mode.
Now it depends on the last set capture mode which may be not compatible.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-02-24 13:45:22 +01:00
Javier Viguera 8b0db7612d build scripts: create MD5SUMS file
Minor improvements:

  * Remove 'README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt' file
  * Create MD5SUMS file

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 4be702c44945d200c01818227604cc6d0f818931)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-02-20 11:17:57 +01:00
Javier Viguera 66dc64f9f2 dey-image-graphical: fix QT support in toolchain/sdk
Changes in Poky (Dizzy) made our SDK unable to build QT applications.
This commit syncs again with upstream so the toolchain is able to build
QT apps.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-02-19 13:46:26 +01:00
Javier Viguera 942165de06 meta-digi: set ccimx6sbc's default variant (kit variant)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-02-19 13:46:06 +01:00
Javier Viguera f1526b6813 meta-digi-arm: allow to build variant 0x5
Variant 0x5 (Furuno) does not have bluetooth, but the device tree in the
kernel is the same than the variant with bluetooth.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 7de11f08e95fecb8d4895556292a488a91af6817)
2015-02-13 18:24:39 +01:00
Javier Viguera 953b8ee3be meta-digi: add github build script
This script + jenkins jobs allows to detect regressions on already
released versions of DEY.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b831229c7ac4ce9b4012ff92f50c22dcc8df7675)
2015-02-13 18:24:34 +01:00
Javier Viguera 0a51761163 meta-digi-dey: add Digi mirror
Add a Digi mirror for packages that have dissapeared upstream.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 0a01d3a5d0203d1ce75482677739bf0113da624d)
2015-02-05 16:40:40 +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 315e479b5a build.sh: support building platform variants
Depending on DY_BUILD_VARIANTS variable (set by Jenkins):

  'false':     don't build variants (only the default)
  <empty>:     build all the variants supported by the platform
  'var1 var2': build the ones specified in the variable

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit de58d3fac52448ee7b1828c6ac71c6c10a3442ff)
2015-02-05 16:30:21 +01:00
Javier Viguera fb9ec7221a meta-digi: add variants table to config templates
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit db1782bd24c4347cb9f4db33210e0f3fd6e73298)
2015-02-05 16:29:29 +01:00
Javier Viguera d5f3361935 bluez init: add more HW variants for ccimx6
https://jira.digi.com/browse/DEL-1359

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 537803cb64809acbac243179d6d448ad6cd70b85)
2015-02-05 16:28:14 +01:00
Javier Viguera f42a61ab71 meta-digi-arm: support variants for ccimx6sbc
https://jira.digi.com/browse/DEL-1359

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 015d029255eb407cca4c986562a304aef7de3940)
2015-02-05 16:27:05 +01:00
Javier Viguera adb4611710 meta-digi-arm: disable perf features only for kernel 2.6.35
Kernel 3.10 does not fail to build perf features (as kernel 2.6.35
does), so there is no need to disable them for platforms using that
kernel version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-19 18:28:00 +01:00
Javier Viguera e46757c866 meta-digi: remove os-release from base-files
Yocto 1.7 Dizzy added support for os-release file in a new recipe, so
we need to remove it from our base-files bbappend in order to avoid
conflicts between both packages.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-16 16:48:26 +01:00
Javier Viguera ab2a23f427 packagegroup-dey-core: cosmetic (alphabetical order)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-16 16:41:22 +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 d206fc1d11 meta-digi-arm: configure the console for ccardimx28js dynamically
Revert to the old way of setting the console for ccardimx28js. Configure
the console on the generic ttyS0 port name and let the device managers
create a symbolic link to the correct device at runtime.

Trying to set it statically at compile time lead to some side effects
with some packages not being recompiled after a change of the preferred
kernel version in the project's local.conf (e.g. udev-extraconf and
sysvinit-inittab).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-13 17:17:49 +01:00
Hector Palacios d8a24e0ce3 atheros: don't remove wireless module on ifdown for ccardimx28
A post-down script was unloading the Atheros wireless driver
when the network interfaces were brought down.
On rare occasions the 'rmmod' command was not able to complete
and may leave the system in an unexpected state.

This patch removes the post-down script for the ccardimx28 platform
and leaves it only for the ccimx6 platform, where the unloading
is wanted to reset the driver after suspend.

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

https://jira.digi.com/browse/DEL-1314
2015-01-13 16:48:06 +01:00
Javier Viguera c926df2479 ccardimx28js: configure the serial console depending on kernel version
SERIAL_CONSOLES_CHECK is new functionality provided by Yocto, but it
needs '/proc/consoles' supported by the kernel. Our kernel 2.6.35 does
not support '/proc/consoles' so rework the serial console configuration
to work with both kernels (2.6.35 and 3.10).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-12 17:52:21 +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 141a8f9d5f meta-digi-arm: use 'v3.10/dey-1.7/maint' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-09 18:34:03 +01:00
Javier Viguera 7469df6e2e busybox: enable rtcwake applet
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-09 15:28:05 +01:00
Alex Gonzalez 64cb390862 meta-digi-dey: Remove oracle-jse-jre recipes.
Customers will have to use the meta-oracle-java layer directly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-01-09 15:02:30 +01:00
Alex Gonzalez cb74a2250e meta-digi-arm: Add LDO and LDO bypass device trees.
The i.MX6 has an internal PMU with LDOs to supply voltages to the different
ARM sybdomains. There are two possible configurations, to use this internal
LDOs or to use the external PMIC to supply the voltages (LDO bypass).

The default is to boot with LDO bypass, and the device tree with the -dts
suffix will boot with the i.MX6 internal LDO.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-01-09 14:59:56 +01:00
Javier Viguera 1d3a359fba meta-digi-arm: rework udev extra rules
In Yocto 1.7 meta-fsl-arm replaced udev-extraconf bbappend with a new
package (udev-rules-imx). So we need to adapt our own bbappend to these
changes so all the needed udev rules are in place.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-01-08 16:33:30 +01:00
Alex Gonzalez 7031d2a53f linux-dey-3.10: Sync ccimx6sbc defconfig with the one in the kernel tree.
It corresponds to the following kernel sha1.
59b5ed1f8f9700cd7530e6d7d3282d9e157edd66

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2015-01-08 12:15:01 +01:00
Javier Viguera 217aadc7ae bluez init: rework script
Mostly coding style and simplifications. No functionality change.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-23 17:23:34 +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 e55fc16544 meta-digi-arm: migrate module_autoload to KERNEL_MODULE_AUTOLOAD
For MX5 platforms.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-02 16:49:45 +01:00
Javier Viguera 09e72aa0f4 meta-digi-arm: simplify flash images generation
We inherited from DEL the requirement to build more than one flash image
for the same rootfs contents depending on the EBS of the flash chip.

Yocto does not have support to generate more than one flash image so we
had to create functions in the image_types_digi bbclass to provide this
feature.

This commit removes that functionality and uses the standard yocto
support to generate ubifs and jffs2 flash images. The way to customize
the flash parameters is via EXTRA_IMAGECMD_jffs2 and MKUBIFS_ARGS
variables. In our case those variables are already set depending on the
different hardware variants.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-02 16:49:12 +01:00
Javier Viguera dbd966543e meta-digi: remove not supported ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-12-01 12:15:54 +01:00
Alex Gonzalez 0514d03e0e meta-digi-dey: Add a dey-image-tiny initramfs image.
To boot from TFTP/NFS you need something like:

    setenv uimage uImage-ccimx6sbc
    setenv initrdimg dey-image-tiny-initramfs-ccimx6sbc.rootfs.initramfs
    setenv fdt_file uImage-imx6q-ccimx6sbc.dtb
    setenv initrdaddr 0x22000000
    setenv bootargs console=ttymxc3,115200 rdinit=/sbin/init
    saveenv

    tftp $loadaddr $uimage
    tftp $initrdaddr $initrdimg
    tftp $fdt_addr $fdt_file

    bootm $loadaddr $initrdaddr $fdt_addr

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-01 11:51:51 +01:00
Alex Gonzalez aef38bc285 meta-digi-arm: Add rootfs.initramfs image generation.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-01 11:51:51 +01:00
Alex Gonzalez d3d1b88cd5 meta-digi-dey: Add dey-image-tiny, a busybox only image.
This can be used as a template for size optimized images. It constraints
the use of X11 related packages and the image types used.

To build, add the following to your conf/local.conf:

DISTRO_FEATURES_remove = "x11"

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-11-28 09:44:38 +01:00