Commit Graph

2399 Commits

Author SHA1 Message Date
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 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 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 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 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
Javier Viguera 2d185c858d meta-digi-dey: update touchscreen calibration files
https://jira.digi.com/browse/DEL-910

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-09 13:14:09 +01:00
Javier Viguera 67f5c8b103 matchbox-keyboard: fix virtual keyboard on graphical images
Virtual keyboard was not showing up when clicking on the keyboard icon
in the menu bar. The reason was the keyboard xsession script was not
being run on X startup due to the extension '.shbg' of the original
script.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 19:18:31 +01:00
Javier Viguera fc5de6c6b4 matchbox-session-sato: use SHOWCURSOR from environment
Instead of using a SHOWCURSOR variable hardcoded from the
HAVE_TOUCHSCREEN environment var, allow to set it freely in formfactors
config file and use it to show (or not) the cursor in the graphic
session.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-01-08 14:05:58 +01:00
Javier Viguera bf6a924c26 meta-digi-dey: remove overlayed recipes
crda, stunnel: meta-networking
iw: meta-oe

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-27 14:03:18 +01:00
Javier Viguera 57ff70da45 meta-digi: use udev for all images (minimal and graphical)
https://jira.digi.com/browse/DEL-856
https://jira.digi.com/browse/DEL-898

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-27 14:03:01 +01:00
Javier Viguera 92beaacbda meta-digi-dey: update distro config files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-26 16:18:24 +01:00
Javier Viguera 7033be548c meta-digi: update busybox to version 1.21
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:27:48 +01:00
Javier Viguera 0a490894f7 meta-digi: remove packages removed upstream (meta-fsl-arm)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:26:43 +01:00
Javier Viguera f21f84127a vsftpd: upgrade bbappend version
package was upgraded upstream

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:26:11 +01:00
Javier Viguera 62f3fd298c libsoup: remove bbappend
The missing dependence was fixed upstream (poky).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-20 17:25:37 +01:00
Javier Viguera d7cfeb0fd3 meta-digi: update README files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-12-18 15:49:38 +01:00
Javier Viguera 5bd6bae9ca meta-digi-dey: enable again pulseaudio
This comes from the old Danny release where pulseaudio in minimal image
was giving a build failure (probablye due to dependences on X libraries)

This is not true anymore in Dylan, so just remove it for easier
maintenance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-29 11:43:54 +01:00
Javier Viguera 2817c51daa gst-fsl-plugin: increment FSL AAC decoder rank
Give priority to FSL AAC decoder over others from the community when
using gstreamer's playbin2 or gplay

This allows to play some videos that fail otherwise.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 19:36:12 +01:00
Javier Viguera dab4595df7 gst-fsl-plugin: fix patch that sets defaults for vssconfig
Without the fix if we only configure *one* display in the vssconfig file
(i.e. we set just one entry in that file) the patch was discarding that
configuration and overwriting the configuration with dual display
defaults.

But configuring a single display in vssconfig should be doable, so fix
the patch to allow that.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 19:23:28 +01:00
Javier Viguera 6fcd94fb98 gst-fsl-plugin: synchronize with DEL's package
We found that the gst-fsl-plugin package from Yocto is not exactly the
same than the one we used in DEL even though they have the same
version.

We think the one we used in DEL (released by FSL via LTIB) is more
recent and has some fixes, so create a first patch that applies on top
of the one in Yocto and convert it to the one in DEL.

Also instead of appending new patches to meta-fsl-arm SRC_URI, override
completely the variable and add the patches from meta-fsl-arm layer in
our own layer.

The final result is: we use the yocto tarball, then apply a first patch
that converts it to the one in DEL/LTIB, then apply the patches from
meta-fsl-arm and finally the ones added by us.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 19:03:23 +01:00
Javier Viguera 1bc9e7efae meta-digi: add video player to graphical image
Also remove 'gplay' utility from dey-image-graphical. It's a command
line application suitable to be used on minimal (non-X) images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 16:01:48 +01:00
Javier Viguera 141ecc0698 gst-fsl-plugin: fix mfw_v4lsink on secondary display patch
Fix the patch that adds support to select the framebuffer for
mfw_v4lsink. This used to work on non-graphical images (non-X), but it
had the side effect of breaking playing accelerated videos on graphical
images (using X) with graphica applications (QT, GTK).

This fix simplifies the patch so it still adds the dual display
functionality while not breaking the graphic media player applications.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 13:58:01 +01:00
Javier Viguera b0890b7566 gst-plugins-base: fix warning (ivorbis conflict)
Disable integer vorbis plugin as it conflicts with other vorbis
plugins. Error:

error: GLib-GObject-WARNING **: cannot register existing type `GstVorbisDec'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-26 13:02:12 +01:00
Javier Viguera 0dc21d460d meta-digi-dey: install most of the gstreamer plugins
This fixes a bunch of gstreamer related jiras:

https://jira.digi.com/browse/DEL-871
https://jira.digi.com/browse/DEL-873
https://jira.digi.com/browse/DEL-874

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 19:37:19 +01:00
Javier Viguera 1ee0e7b503 wpa_supplicant: convert recipe to bbappend
wpa_supplicant v2.0 was not available in Danny so we needed the whole
recipe, but it was updated in Dylan, so now we just need the bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-19 14:51:31 +01:00
Javier Viguera fed71f0ce3 rtc_test: do platform specific compilation
The source has machine specific code, so it needs the machine passed
in the compiler command line.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-14 11:36:36 +01:00
Javier Viguera 1f4cc31331 cherokee: change again the mirror for the SRC_URI
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-13 19:32:29 +01:00
Javier Viguera 301bd662d6 meta-digi: move udev-extraconf to BSP layer
So the IMX udev rules can be used without meta-digi-dey layer. For
example when building core-image-minimal with poky distro.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-11 13:20:14 +01:00
Javier Viguera 98de9212f0 busybox: enable WATCHDOG applet
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 18:15:19 +01:00
Javier Viguera 1cb6073749 meta-digi: remove cpx2 platform
This needs to be supported in the DBL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 14:21:09 +01:00
Javier Viguera 7778e60b0e net-snmp: remove bbappend
Patch was accepted/included upstream.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-07 16:25:29 +01:00
Javier Viguera 1866f03b0a meta-digi: do not enable spidev when touch is enabled
They conflict.

Warn the user about the problem and let they change the device tree
manually.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-29 18:13:52 +01:00
Javier Viguera c2055a5383 meta-digi-dey: remove legacy IMAGE_BASENAME
Fix: SDK graphical images '-sdk' being created with a filename without
'-sdk' suffix.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-28 14:38:10 +01:00
Javier Viguera 0c6eb85b0c meta-digi-dey: add bootscript to create static device nodes
Some test applications (e.g. gpio_test) use static device nodes. This
commit adds a bootscript that creates such device nodes reading from a
config file.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-21 17:12:14 +02:00
Javier Viguera 8bf9636ae9 meta-digi-dey: remove not needed BBMASK
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-18 16:00:38 +02:00
Javier Viguera a137f4f190 init-ifupdown: rework whole package
Simplify the package for maintainability and fix some minor things.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-17 11:36:48 +02:00
Javier Viguera f21718153c packagegroup-dey-core: add mtd-utils-ubifs package
This package provides 'ubiformat' command which is needed by
'update_flash' for UBI images.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 13:25:31 +02:00
Javier Viguera 05e143eeb0 meta-digi-dey: removed not needed gst-plugins-base bbappend
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:58:23 +02:00
Javier Viguera 1681b1fa6d meta-digi-dey: removed not needed gst-plugins-good bbappend
We are now using the standard yocto kernel headers so the patch to build
the plugin with new kernel headers is not needed.

The rest of the changes in the bbappend (removing gconf dependence) were
needed in yocto-danny, but not in yocto-dylan because the gconf package
does not depend on libx11 anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:57:51 +02:00
Javier Viguera 84aa411dec meta-digi-dey: removed not needed gst-plugins-ugly bbappend
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:57:18 +02:00
Javier Viguera c196ede975 gsf-fsl-plugins: fix loading some FSL gstreamer elements
(gst-plugin-scanner:1295): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_isink.so' : /usr/lib/libmfwvss.so.0:
undefined symbol: shm_open

(gst-plugin-scanner:1295): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_vpu_enc.s o':
/usr/lib/libmfwvss.so.0: undefined symbol: shm_open

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:56:45 +02:00
Javier Viguera bc664fde50 meta-digi-dey: support MP3 audio files
https://jira.digi.com/browse/DEL-663

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-09 18:22:44 +02:00
Javier Viguera 6b937bfa5a meta-digi-dey: mdev.conf: remove existing symlinks
https://jira.digi.com/browse/DEL-817

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-09 14:09:38 +02:00
Javier Viguera 4d0244409c libsoup: add missing build-time dependence
This is hidden using Poky distribution because Poky has X11 distro
feature and then other x11-related dependences pulls in intltool-native.

In our case DEY distro does not have X11 feature and thus
intltool-native is not part of libsoup dependences. Then sometimes fails
and sometimes not depending on the bitbake threads (BB_NUMBER_THREADS)
and other race conditions.

Adding the dependence explicitly fixes:

run.do_configure: intltoolize: command not found

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 13:56:43 +02:00
Javier Viguera 2efbca849d packagegroup-dey-examples: add virtual/kernel dependence
The availability of some examples depends on the kernel version, so we
need to add the dependence to the packagegroup as well.

This allows to build two ccardimx28 projects one for kernel 2.x and the
other for 3.x sharing the state-cache. Otherwise the first project
builds correctly but the second one fails.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 14:02:54 +02:00
Javier Viguera c33540030b meta-digi-dey: ccardimx28: use standard serial port for console
In ccardimx28 depending on the kernel version the console is on 'ttyAM0'
or 'ttyAMA0'. Use the standard serial port name ttyS0 for login (through
inittab) and let the device handlers create the symlink to the correct
device.

This allows to boot the same rootfs regardless of the kernel version.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:57:32 +02:00
Javier Viguera 684c6ea6e9 meta-digi-dey: add ttyAM[0-3] serial devices to securetty
Depending on the kernel version the serial device is created ttyAM0 or
ttyAMA0.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:55:51 +02:00
Javier Viguera b0247e7e05 meta-digi: add wmiconfig package for MXS
wmiconfig is Atheros proprietary code so the recipe builds from source
if DIGI_INTERNAL_GIT is defined or uses a prebuilt binary otherwise.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 14:06:37 +02:00
Javier Viguera b381473a0f dey-examples: use kernel staging include files
This allows to build dey-examples while using the linux-libc-headers
provided by Yocto.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:18:51 +02:00
Javier Viguera 82a0937ff6 meta-digi-dey: add tslib dependence only for non-X11 images
X11 graphical images do not use tslib. They use the 'evdev' X11 driver
to handle input events.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:21:55 +02:00
Javier Viguera e82f2105c2 pointercal.xinput: add calibration for ccardimx28js in linux 3.10
https://jira.digi.com/browse/DEL-670

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 16:43:56 +02:00
Javier Viguera e10600ea69 meta-digi-dey: rework mdev touchscreen handler
So it creates '/dev/input/touchscreen0' symbolic link for well known
touch screen devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-23 16:34:20 +02:00
Javier Viguera bc033c071d bluez4: add python runtime dependences
'simple-agent' python script included with this package depends on
python-pygobject and python-dbus

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 10:53:43 +02:00
Javier Viguera 090c8754f6 packagegroup-dey-examples: remove redundant override
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:25:05 +02:00
Javier Viguera 8ca43c4a78 initscripts: add runtime dependency on util-linux umount
The initscripts package includes a '/etc/init.d/umountfs' script used
for reboot/poweroff purposes. That script calls the 'umount' command
but seems that the combination of busybox' umount + linux-3.x fails in
this script (it hangs without completing the reboot/poweroff).

So as a workaround use the umount command from util-linux package

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:17:10 +02:00
Javier Viguera dc1499bd78 meta-digi: add IS_KERNEL_2X variable to be used in recipes
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:32:35 +02:00
Javier Viguera b1f76723a7 libdigi: support is_nand_oob_atomic for ccardimx28 in linux 3.x
Actually this is a workaround that probably needs to be generalized. But
at the moment the ccardimx28 is the only platform we have in linux 3.x
so it's enough.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-11 10:27:00 +02:00
Javier Viguera 9ad3ccc496 bluez: update init script to get the mac from the device tree
https://jira.digi.com/browse/DEL-635

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-06 17:54:56 +02:00
Javier Viguera d94a57ae0a cherokee: use mirror for package SRC_URI
The package is no longer available in the official cherokee site,
so download it from a mirror.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:30:51 +02:00
Javier Viguera a62f836601 net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
snmpd.c: undefined reference to `netsnmp_sd_listen_fds'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:27:45 +02:00
Javier Viguera 376f7672b6 vsftpd: remove fixes applied upstream
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:53:43 +02:00
Alex Gonzalez 2fbd3d55e7 meta-digi-dey: dey-examples, add linux-dey version dependency.
The dey-examples-adc and dey-examples-gpio packages are not meant to work
with a 3.10 kernel.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-26 10:17:48 +02:00
Alex Gonzalez d4df2750d4 meta-digi-dey: mdev, udev: Add serial and bluetooth devices.
https://jira.digi.com/browse/DEL-572

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:07:17 +02:00
Alex Gonzalez 4e76f14e42 meta-digi: Use proc device tree information for hwid information.
Modify the atheros and bluetooth init scripts to fetch the hwid details
from the device tree.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:06:34 +02:00
Alex Gonzalez cfd04a953b meta-digi-dey: Add acpid support for power key suspend/poweroff.
The acpid applet will run at startup and will listen for power input
events.

On arrival, it will timestamp the press event, wait for the release event
and decide whether to suspend or poweroff based on the time elapsed.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:50:04 +02:00
Javier Viguera 0907a087c1 meta-digi: update bluetooth to support Japan
Similar commit was done in DEL.

Japanese law limits the maximum transmit power for Bluetooth to 3 mW.
The cert field in OTP will be set to 2 when units are manufactured
for Japan.

Updated the bluez init script to configure Bluetooth for class 2
operation if the cert field is set to 2, and to delete the class 1
configuration file since it would be illegal to use it in Japan.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 1e248b81ac packagegroup-dey-audio: remove some alsa-utils dependences
Alsa-utils tools once compiled are distributed between a bunch of
different subpackages. Then 'alsa-utils' as a final package is just
a meta-package that depends on all of the different subpackages.

So instead of RDEPEND'ing on the alsa-utils metapackage, depend on just
a few of the alsa-utils subpackages.

This removes for example the 'alsa-utils-alsaconf' package that was
bringing bash into our rootfs.

Removing bash solves the problem of the lines-not-wrapped on the serial
console because now we use busybox' shell in the serial console.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera a47d7f73a4 gst-plugins-good: fix build with new kernel headers
In function 'gst_v4l2_fill_lists':
error: 'V4L2_CID_HCENTER_DEPRECATED' undeclared (first use in this function)
error: 'V4L2_CID_VCENTER_DEPRECATED' undeclared (first use in this function)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 97755ea730 meta-digi: fix build graphical image for ccardimx28
https://jira.digi.com/browse/DEL-585

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 9a7841e346 meta-digi-dey: remove fsl-mm-core bbappend
The bbappend was only cleaning-up some bitbake warnings. A patch has
been accepted upstream (meta-fsl-arm) to do the same.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 0f0a76a6f4 meta-digi: fix atheros recipes for new linux version
With the old version of the kernel (2.6.35) we build an external atheros
kernel module, while with the new kernel (3.10) the atheros driver is
included with the kernel sources.

However, the new driver needs the firmware files and the driver load
scripts that are stored with the old driver.

So put a dependence on kernel-module-atheros regardless of the kernel
version and then rework the kernel-module-atheros recipe to build the
whole driver for the old kernel or only the firmware for the new kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera 84a66ee287 meta-digi-dey: simplify packagegroup recipes
The MACHINE_ESSENTIAL_EXTRA_* vars need to be only in the
'packagegroup-dey-core' recipe not in the rest of the packagegroups.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera e5ef733383 packagegroup-dey-core: add MACHINE_EXTRA_RRECOMMENDS
This is needed so the kernel modules configured in the kernel defconfig
get added to the rootfs image.

At the same time there is no need to add the usb gadget modules
separately because they are added in the machine extra recommends as
well.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:27 +02:00
Javier Viguera cacf212fc4 btfilter: fix build with libnl-3
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:48:17 +02:00
Javier Viguera b971f39ac3 fsl-mm-codeclib: clean bitbake warnings
WARNING: File was already stripped ...
WARNING: QA Issue: debug files not shipped ...

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:46:16 +02:00
Javier Viguera 0d7e90319a meta-digi: rework gstreamer support for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:45:46 +02:00
Javier Viguera 1aa3e88855 netbase, init-ifupdown: rename bbappend
The 'netbase' package in poky's meta layer was splitted in netbase +
init-ifupdown.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:16 +02:00
Javier Viguera f47915f45a meta-digi: remove udev-173 bbappend
That version of udev was removed from 'meta-oe' and thus bitbake fails
to parse the recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:46 +02:00
Javier Viguera a81f5d0153 meta-digi-dey: remove libdvdread bbappend
The bbappend was done only to set the correct SRC_URI. This has been
fixed in upstream layer (meta-oe)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:16 +02:00
Javier Viguera cbb4ad1f39 meta-digi-dey: update distro config file for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:46 +02:00
Javier Viguera 91291212b9 meta-digi-dey: clean bitbake warnings
QA Issue: Variable ALLOW_EMPTY is set as not being package specific
QA Issue: Variable RPROVIDES is set as not being package specific

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:16 +02:00
Alex Gonzalez f5aa5e1a74 meta-digi-dey: Define different USB gadgets for 3.10 kernel.
The g-file-storage kernel has been replaced by the g-mass-storage.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez ee8e198c16 meta-digi-dey: Only include external atheros module for 2.6.35 kernel.
The 3.10 kernel uses the upstream atheros driver.

Also, rationalize the RDEPENDS in the recipe to use the wireless
module variable instead of hardcoding values.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 038f782d33 meta-digi-del: Add ttyAMA0 to mdev.
This is the serial name in the 3.x kernels for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 12f7017b58 meta-digi-dey: Add oracle-java for mxs and mx5 platforms.
https://jira.digi.com/browse/DEL-532

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-15 14:06:30 +02:00
Javier Viguera a4c6472815 meta-digi-dey: allow to mount the rootfs with 'noatime'
Remount the rootfs with 'noatime' option to minimize writes (avoiding
wearing-out the flash).

This also improves slightly the system performance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-04 11:48:24 +02:00
Javier Viguera 966753e404 dey-examples: restrict the compatible machines
Restrict the compatible machines to the ones we have tested the examples
on.

The rationale of this is to remove the compatibility with CPX2 where
we have not tested the DEL examples and actually adding 'dey-examples'
feature to a CPX2 project fails to build with:

ERROR: Nothing RPROVIDES 'dey-examples-adc' ..
ERROR: dey-examples-adc was skipped: incompatible with machine cpx2 (not in COMPATIBLE_MACHINE)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-02 17:26:23 +02:00
Javier Viguera cf67280cee microwindows: simplify and fix recipe
This recipe was way too complicated for what we need. Moreover there was
a build error in jenkins daily build due to this recipe:

WARNING: QA Issue: microwindows: Files/directories were installed but not shipped
  /usr/bin
  /usr/bin}
  /usr/bin}/fonts
NOTE: Tasks Summary: Attempted 2628 tasks of which 2469 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-dey-debug-dev:
|  * 	microwindows (= 0.91-dey.r0.0) *
|  * opkg_install_cmd: Cannot install package packagegroup-dey-debug-dev.

So simplify it and fix the dependence so the jenkins job can be built.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-27 19:47:34 +02:00
Alex Gonzalez 8f60a3cd07 dey: Change version to 1.3.0.
https://jira.digi.com/browse/DEL-512

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-21 11:00:14 +02:00
Javier Viguera 7a2cd37ad3 udev-extraconf: fix automount of block devices
Some block devices are incorrectly mounted by udev. Instead of mounting
the partition device it mounts the disk device. This commit enhances the
automount udev rule and mount script so it only applies to partitions.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:09:01 +02:00
Javier Viguera f92a7ad84a busybox: enable FEATURE_STAT_FORMAT
Allows to use '-c' parameter to 'stat' command.

This is needed in udev's automount script (next commit).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:07:49 +02:00
Alex Gonzalez 2eeb39fb72 meta-digi-dey: Use a different download location for cherokee.
The official cherokee project page has repacked the source and broken
backwards compatibility. They also erase old images when new ones are
released.

This commit changes the download location to a mirror with the original
tarball that also keeps the archives.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 6101d5925f meta-digi-dey: Update stunnel to version 4.56.
They removed old versions from the download location so 4.54 now fails.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 09:19:40 +02:00
Alex Gonzalez 698df28ed6 meta-digi-dey: Fix ifup script for manual configuration.
The system freezes if we try to set the MAC addresses before the interface
is up, so check the state before doing it.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 17:02:10 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00