Commit Graph

860 Commits

Author SHA1 Message Date
Javier Viguera f450cb3017 microwindows: fix build error
microwindows makefiles override some environment variables set by
bitbake. This makes the build fail with:

fatal error: gnu/stubs-soft.h: No such file or directory

Force those variables by passing them via the make command line.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-19 19:16:11 +01:00
Javier Viguera 919200e1aa busybox: update defconfig
* CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP to support 'connmand' for dhcp.
* CONFIG_CTTYHACK to make easier boot from an initramdisk.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:35:40 +01:00
Javier Viguera a7a7498b52 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 Dizzy maintenance branch.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:35:10 +01:00
Javier Viguera dfadce7062 meta-digi-arm: use 'v3.10/master' branch for MX6
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:34:40 +01:00
Javier Viguera 1437c0c0cd nativesdk-packagegroup-sdk-host: remove bbappend
No longer needed because a patch with the same functionality was
accepted upstream (meta-fsl-arm).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:34:10 +01:00
Javier Viguera a779fb6ce6 initscripts: remove runtime dependency on util-linux umount
This was added in the past (dey-1.4) as a workaround for reboot/poweroff
issues not completing properly [DEL-633]. At that time the util-linux
umount command worked while the one from busybox didn't. Now this
workaround is not needed anymore. The reboot/poweroff commands complete
correctly with busybox' umount, so just remove the runtime dependence.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:33:40 +01:00
Javier Viguera 952bb005f9 meta-digi-dey: update distro config file for yocto 1.7
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:33:10 +01:00
Javier Viguera ecd4d11e94 wpa-supplicant: update to version 2.2 for yocto 1.7
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:32:40 +01:00
Javier Viguera 981ef8ab0e util-linux: remove bbappend
This bbappend was added to be able to native build the util-linux
package in our old buildserver (with Debian 6). This is no longer needed
as we migrated our buildserver to newer Debian.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:32:10 +01:00
Javier Viguera 1a368aee2d shadow-securetty: update bbappend for yocto 1.7
ERROR: No recipes available for: shadow-securetty_4.1.4.3.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:31:40 +01:00
Javier Viguera a9ed919c95 udev-extraconf: update bbappend for yocto 1.7
ERROR: No recipes available for: udev-extraconf_1.0.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:31:10 +01:00
Javier Viguera a12152359c vsftpd: update bbappend for yocto 1.7
Remove the 'installed-vs-shipped' QA skip as it's not needed anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:30:40 +01:00
Javier Viguera 4de5782fe9 packagegroup*: set PACKAGE_ARCH before packagegroup inherit
This is now needed in yocto 1.7. Otherwise it fails with:

ERROR: Please ensure recipe packagegroup-dey-gstreamer.bb sets PACKAGE_ARCH before inherit packagegroup
ERROR: Please ensure recipe packagegroup-dey-examples.bb sets PACKAGE_ARCH before inherit packagegroup

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:30:10 +01:00
Javier Viguera df83ee2116 meta-digi: update config templates for yocto 1.7
Added 'meta-python' to bblayers.conf.sample as it's now a dependence of
'networking-layer'. Otherwise if fails with:

ERROR: Layer 'networking-layer' depends on layer 'meta-python', but this
layer is not enabled in your configuration

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-11-17 16:29:40 +01:00
Javier Viguera 9a378a11bf bluez4: compile static version of the library
This installs 'libbluetooth.a' in the toolchain (needed to build static
binaries that use libbluetooth).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit f53ae4ab2af1bc5dd2f3f38f9d351d9eefd1f163)
2014-10-24 17:35:45 +02:00
Alex Gonzalez 9645162245 meta-digi-dey: wpa-supplicant: reduce verbosity
Do not log scan started events not to clutter the UI.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-10-24 11:48:29 +02:00
Javier Viguera bbb2758a79 v4l2_test: reset rotate to ROTATE_NONE on application launch
Start the application with a well known rotation value that works with
all the resolutions. Otherwise the rotation value is unknown because it
could have been changed in a previous run of the application.

Also in the kernel driver support was added to report EINVAL to
user-space in case the requested rotation is not supported. We use that
to not return from the 'v4l2_rotate' function without enabling again
the overlay preview.

https://jira.digi.com/browse/DEL-1068
https://jira.digi.com/browse/DEL-1205

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 2f7547a1b810683b813b708ba67e53ba156a9337)
2014-10-23 18:35:09 +02:00
Javier Viguera 45de4d6943 meta-digi-dey: add static libraries to generated toolchain
https://jira.digi.com/browse/DEL-1291

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-17 18:51:56 +02:00
Javier Viguera 232fe6b06d meta-digi-arm: update github account
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-09 17:23:59 +02:00
Javier Viguera 411839713d v4l2_test: filter out invalid cropping height and width
The camera/driver does not support a cropping rectangle with height and
width less than 8 pixels. Add those limits to the sanity check of the
values in the user-space test application.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-09 16:05:33 +02:00
Javier Viguera bb66738f05 v4l2_still: add option to specify video source
https://jira.digi.com/browse/DEL-1225

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-08 16:47:03 +02:00
Javier Viguera 9542bd6b13 build.sh: copy SDK only if built
Fix jenkins error:
cp: cannot stat `tmp/deploy/sdk': No such file or directory

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-07 10:34:14 +02:00
Javier Viguera 8a8054fccc image-types_digi.bbclass: remove USE_DEVFS override
USE_DEVFS = "1" is the default now in poky

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-06 18:20:26 +02:00
Javier Viguera cae66238d2 meta-digi-dey: fix distro name
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-06 17:54:43 +02:00
Javier Viguera 4f2af4505f meta-digi-dey: add QT4 host tools to DEY toolchain
This allows to easily build QT applications sourcing the toolchain
environment setup script and then running:

$ qmake -project
$ qmake
$ make

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-06 17:03:10 +02:00
Javier Viguera 6a725b31fc meta-digi-dey: blacklist adt-installer for DEY distro
The adt-installer hardcodes the distro version in URL paths to
yoctoproject website. This is ok if you control the website and the
versioning of the distro (for example using Poky as distro).

In DEY the versioning is not compatible with the content of the website,
so just blacklist the recipe. If anyone needs the adt-installer they can
download it from the Yoctoproject.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-03 17:23:33 +02:00
Javier Viguera c4cc0c4329 build.sh: adapt script to build DEY toolchains
https://jira.digi.com/browse/DEL-1003

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 19:28:48 +02:00
Javier Viguera 41feae9ad6 nativesdk-packagegroup-sdk-host: add nativesdk-u-boot-mkimage
Add the 'mkimage' host tool to the toolchains generated with 'bitbake
meta-toolchain' or with 'bitbake -c populate_sdk <image>'.

This allows to use the standalone toolchain to build kernel images of
type uImage (with u-boot header)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 19:08:05 +02:00
Javier Viguera 04c8925ded meta-digi-dey: remove poky references from DEY distro
We used to have these poky references to make 'adt-installer' happy when
built using DISTRO=dey.

But this has side effects on the standalone toolchain created with
'populate_sdk'. The standalone toolchain installer has:

* default install path referring to poky instead of dey
* default toolchain version not matching our DEY version

This is misleading for customers, so rework the distro config file
prioritizing the standalone toolchain over the adt-installer.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 18:35:54 +02:00
Javier Viguera a014ca4c09 meta-digi: improve mkproject script
Some minor enhancements to mkproject script:

* Add 'conf-notes' files with DEY specific information. This is shown
  when you create the project or when you reload the environment in an
  already created project.

* Create a 'dey-setup-environment' script in the project's folder that
  allows to reload the environment in a new terminal.

* Remove the PATH variable tweaking. This was needed in older versions
  of Yocto, where the PATH kept growing each time you reloaded the
  environment, but it has been fixed in poky, so there is no need to do
  the same in our mkproject script.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-26 16:29:22 +02:00
Javier Viguera c9b82ed477 build.sh: adapt script after 'dey-gui' distro removal
https://jira.digi.com/browse/DEL-858

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:23:40 +02:00
Javier Viguera 794f9f58dc meta-digi-dey: remove dey-gui distro
We used to have two distros:

  DEY: without X11 support
  DEY-GUI: with X11 support

After the change, we have just one DEY distro with X11 support. At the
same time add a CONFLICT_DISTRO_FEATURE to dey-image-minimal so it
cannot be built with X11 distro feature enabled. So now in order to
build 'dey-image-minimal':

DISTRO_FEATURES_remove = "x11"

needs to be added to your project's local.conf file.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:22:37 +02:00
Javier Viguera 5e3c8b3e13 meta-digi-dey: move NETWORK_MANAGER variable to x11-sato bbappend
NETWORK_MANAGER is a packagegroup-core-x11-sato recipe variable, so
override it in a bbappend instead of at a distro level.

At the same time remove a useless WEB variable from the image recipe.
WEB is a packagegroup-core-x11-sato local variable as well, and
overriding it in another recipe does not have any effect, so just
remove it.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:21:35 +02:00
Javier Viguera 9b59e02dea initscripts: recover support for static device table
This was working in dey-1.4 because there was a basic support for static
nodes in poky. They removed it in Yocto 1.6.

We still need this functionality, so add it here in the bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-19 15:50:47 +02:00
Javier Viguera f12cad7882 bluez4: use legacy pygobject instead of gobject-introspection
gobject introspection is not supported in Yocto, so there is not a
python binding package to use it.

Bluez4 uses such functionality in some of the test scripts. This patch
replaces it with the legacy pygobject, so they can work again.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 18:38:13 +02:00
Javier Viguera b67ad75565 dey.conf: bump distro version to 1.6.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 16:38:43 +02:00
Javier Viguera 15bc6db536 meta-digi-dey: rework dey-image-graphical image to save space
* Remove inconditional inclusion of dey-gstreamer: dey-image-minimal
  includes dey-gstreamer if MACHINE_FEATURES contains 'accel-video'
  so dey-image-graphical inherits this from dey-image-minimal.
  This does not make any difference for IMX platforms but allows to
  remove inconditional inclusion of dey-gstreamer for MXS. To allow
  'gaku' (sato audio player) playing MP3 files COMMERCIAL_AUDIO_PLUGINS
  is added to the distro config file.

* Only include 'owl-video' if MACHINE_FEATURES contains 'accel-video'.

* Remove inconditional inclusion of qt4-examples from dey-qt
  packagegroup. Package qt4-examples is part of the RRECOMMENDS for
  package qt4-demos, so it will be included anyway and not having it
  hard-coded allows to bad-recommend it for some platforms and not
  for others.

* Use BAD_RECOMMENDATIONS to avoid inclusion of 'qt4-demos-doc' package
  for all platforms (this package does not add any value and weights
  about 50MB) and 'qt4-examples' for ccardimx28js.

With all those changes, we get a graphical image with GTK + QT that fits
in the standard rootfs partition for ccardimx28js.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 12:09:58 +02:00
Javier Viguera 8d4656a978 qt4: integrate deprecated fsl-gui-extrafiles package
This package was used in 'meta-fsl-demos' layer, but was deprecated and
removed. It includes desktop launchers for QT4 demo/example apps. We
still show those demo apps, so integrate the launchers directly into a
qt4 bbappend.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-18 09:49:59 +02: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 d4f3d29ef9 linux-dey: add initrd/initramfs support for ccardimx28js
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-15 17:08:31 +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 9c98226892 dey-image-graphical: include QT
https://jira.digi.com/browse/DEL-1145

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-12 18:49:45 +02:00
Robert Hodaszi 7b649a1f03 image-types_digi.bbclass: add possibility to append extra arguments to UBIFS image creation
Add possibility for other layers to add additional features for UBIFS creation,
e.g. "-R <rp_size>" for super-user reserved pool.

Signed-off-by: Robert Hodaszi <robert.hodaszi@digi.com>
2014-09-12 17:48:19 +02:00
Alex Gonzalez 8e7e7124d9 meta-digi-dey: init-ifupdown: Allow to configure interfaces file.
The interfaces file is now dynamically created for eth0, eth1 and wlan0. By
default they are configured if enabled in the machine features, and have
the same static configuration as before.

The static IPs can be configured as follows:

ETHn_STATIC_IP = "<ip address>"
ETHn_STATIC_NETMASK = "<netmask>"
ETHn_STATIC_GATEWAY = "<gateway>"

WLAN0_STATIC_IP = "<ip address>"
WLAN0_STATIC_NETMASK = "<netmask>"

To configure dynamic IPs you can use the following configuration in your
local.conf:

ETHn_DHCP = "dhcp"
WLAN0_DHCP = "dhcp"

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-11 18:01:59 +02:00
Alex Gonzalez c89c0f8443 meta-digi-dey: wpa-supplicant: Remove example adhoc configuration.
Adhoc mode is no longer supported by Atheros.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-09 16:44:48 +02:00
Javier Viguera 22fd403eeb cherokee: enable SSL/HTTPS support
https://jira.digi.com/browse/DEL-1214

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-08 18:25:08 +02:00
Alex Gonzalez 370259e806 meta-digi-arm: kernel-module-atheros, add debugging mask to init script.
By default debug logging is disabled, but this make it easy to enable.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-08 12:14:04 +02:00
Javier Viguera 5a450ae240 build.sh: do not rm-work linux, u-boot and dey images
These are key packages that we may need to debug in the buildserver, so
do not remove the object files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-08 11:30:13 +02:00
Alex Gonzalez e3b71e90dd btfilter: Rewrite netlink listener code.
https://jira.digi.com/browse/DEL-1174

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-08-26 19:10:35 +02:00