Commit Graph

110 Commits

Author SHA1 Message Date
Javier Viguera 774b09b2d6 meta-digi-del: fix bluetooth-python applications
https://jira.digi.com/browse/DEL-224 #resolve
https://jira.digi.com/browse/DEL-276 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-21 17:07:46 +01:00
Javier Viguera 573e87fed7 meta-digi-del: create 'del-examples' image feature
While on it, re-order the features alphabetically.

https://jira.digi.com/browse/DEL-271 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-20 10:30:57 +01:00
Javier Viguera 1e888be133 btfilter: rework package's recipe
- use Yocto's INITSCRIPT/update-rc.d infrastructure to install the
  bootscript.
- add patch that make cross-compilation easier and thus simplify bitbake
  recipe.
- launch 'abtfilter' with '-b' parameter (use only D-Bus filtering) to
  avoid alignment errors (when using hci filter mode):

Alignment trap: abtfilt (721) PC=0x00017f24 Instr=0xe1d330b0 Address=0x419fec91 FSR 0x013

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-15 19:26:32 +01:00
Javier Viguera bb0e59f41c meta-digi-del: add 'del-test' feature
Just for SA testing.

At the moment it allows passwordless login through serial console and
telnet.

https://jira.digi.com/browse/DEL-154 #resolve
https://jira.digi.com/browse/DEL-155 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-14 13:20:29 +01:00
Javier Viguera a7e7fb27e7 del-examples: remove not needed files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-14 13:19:59 +01:00
Alex Gonzalez 7b9672bb34 meta-digi-del: Update btfilter to v3.4.
This version matches the current HEAD of the master branch of the
kernel-module-atheros package.

Also, the init script bluez-bg.sh is now installed in rc5.S instead
of rcS.d. This fixes https://jira.digi.com/browse/DEL-185.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-14 10:54:41 +01:00
Alex Gonzalez 6042a70fbc meta-digi: Change xmx for imx.
Just a cosmetic name change for the merged wired and wireless platforms.

This and related commits fixes https://jira.digi.com/browse/DEL-188.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-13 10:43:50 +01:00
Javier Viguera 3505e019a1 del-examples: move down linux exported headers
Some of those headers (e.g. mxcfb.h) refert to types that are defined in
'sys/types.h'.

Fix error: unknown type name 'uint'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-12 16:50:20 +01:00
Javier Viguera 7aed3c49b9 crda: update to version v1.1.3
Older version does *not* build with new versions of libnl.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-12 16:50:13 +01:00
Alex Gonzalez 478ca3c734 del-image-graphical: Add default touchscreen calibration files.
Fixes https://jira.digi.com/browse/DEL-227

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-11 18:53:26 +01:00
Alex Gonzalez 7aa69fd88f digi-image-graphical: Reduce and split into features.
Qt is extracted to the del-qt feature.

All packages which belong to other future features, like del-profile or
del-test, are also left out from the default image.

Fixes https://jira.digi.com/browse/DEL-233

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-11 18:53:26 +01:00
Javier Viguera f86c1f9483 distro/del: add "Ubuntu 12.04.2 LTS" as known distribution
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-08 18:07:12 +01:00
Javier Viguera 024f0027ee meta-digi: add DEL examples
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-08 17:57:27 +01:00
Javier Viguera 44c84a9425 meta-digi-del: add device table support
And configure it to create GPIO nodes on boot.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 19:31:14 +01:00
Javier Viguera bcd2be97ad amd-gpu-bin-mx51: Use a python function to populate INSANE_SKIP
While on it, revert PROVIDES to its previous state, not depending on
DISTRO_FEATURES. This was tweaked to avoid a bitbake warning. Not it is
solved in a conditional BBMASK.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 13:51:04 +01:00
Alex Gonzalez b64b131465 meta-digi-del: Update SRC_URI for iw.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-06 12:46:42 +01:00
Alex Gonzalez fe2344344e del-image-graphical: Use udev instead of busybox-mdev.
This will make input device auto detect through evdev work.

Strangely busybox-mdev is still installed. May need to find the
dependency but nothing breaks because of it.

This partially fixes DEL-227.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-01 18:35:20 +01:00
Javier Viguera f6df6b3916 meta-digi-del: enable 'swap' applets in busybox
Enabled mkswap, swapon and swapoff.

Probably not much needed in an embedded system but they don't make the
binary much bigger and could be useful in some corner-case.

https://jira.digi.com/browse/DEL-209 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-01 12:00:40 +01:00
Javier Viguera 4b75c4a1c3 meta-digi-del: add 'iw' version 3.8
I had to increase the priority of 'meta-digi-del' layer, so our recipes
have precedence over the ones in 'meta-oe'. Otherwise it was always
using the 'iw' recipe of meta-oe, regardless of being a lower version
(iw-3.6).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 452abcf9de meta-digi-del: set correct WPA driver depending on the machine
This fixes a bug in 'ccardxmx28js' where the wpa_supplicant was using
the wrong driver 'wext' instead of the 'nl80211' (for atheros)

https://jira.digi.com/browse/DEL-220 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 1f3cc3eb1f wpa_supplicant: update to version 2.0 and enable SoftAP
https://jira.digi.com/browse/DEL-220 #resolve
https://jira.digi.com/browse/DEL-225 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 97777f8363 btfilter: add patch to support libnl-3
Now that btfilter supports libnl-3, remove DEL's preferred version of
libnl on 2.0

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Alex Gonzalez 28e2e69733 del-image-minimal: Add package-management feature.
This is needed for package post installation scripts to run their
second stage in the target.

For this to happen we also need to remove the "remove_packaging_data_files"
from the rootfs post process commands.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-31 16:03:00 +01:00
Alex Gonzalez 3b465914c0 meta-digi: Add del-image-graphical target image.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-31 16:03:00 +01:00
Javier Viguera 6b261a3949 meta-digi-del: enable busybox' brctl applet
Also enable CONFIG_BRIDGE in kernel configs (which is required to use
brctl)

https://jira.digi.com/browse/DEL-156 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 13:40:59 +01:00
Javier Viguera cf4c248cf8 libdigi: update mach_id for merged platforms
This fixes 'update_flash' related problems.

update_flash needs to know in which platform is running so it can decide
whether to write clean-markers for JFFS2 images or not (for example in
FSL platforms).

https://jira.digi.com/browse/DEL-221 #resolve
https://jira.digi.com/browse/DEL-222 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 19:29:51 +01:00
Javier Viguera 7fffaecfa2 update_flash: fix 'reboot' option
While on busybox' init you can reboot the system sending a TERM signal
to pid '1' it seems that in sysvinit package this does not work, so
implement a proper reboot using the system call.

https://jira.digi.com/browse/DEL-212 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 19:19:45 +01:00
Alex Gonzalez 68c5a90ebf meta-digi-del: Generate interfaces file on the fly and add ifup.
The interfaces file is different depending on whether we have single
or dual wired ethernet and whether we have a wireless or non wireless
module.

Also, add an ifup script to set the mac addresses fetched from the
kernel command line.

This commit autogenerates the /etc/network/interfaces file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 17:58:45 +01:00
Alex Gonzalez 289a7f0dc7 meta-digi-del: btfilter, set mac address from kernel command line.
The bootloader is passing the mac address in the kernel command line.

The bluetooth startup script reads it and sets it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Javier Viguera de86402042 meta-digi-del: add 'busybox-ntpd' package
Use busybox' ntpd applet as basic ntp client.

https://jira.digi.com/browse/DEL-144 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 19:05:24 +01:00
Javier Viguera 9292ff3e4d busybox-hwclock: enable 'hwclock' bootscript
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 18:49:03 +01:00
Javier Viguera cd8ee1eebc vsftpd: change boot messages
So they are more similar to the rest of the bootscripts.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 18:37:48 +01:00
Javier Viguera 1405e22241 busybox-mdev: create shared-memory mount point
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 19:09:41 +01:00
Javier Viguera 6d0eadd562 meta-digi-del: del-core packagegroup tweaks
- use 'busybox-mdev' as dev manager
- remove 'tinylogin' from login manager

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 18:15:12 +01:00
Javier Viguera 76e2bb53fe meta-digi: remove 'pulseaudio' dependence from del-image-minimal
Dependence's origin is in 'gst-plugins-good'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 18:13:41 +01:00
Javier Viguera 309e9bd5a8 crda: fix error related to multiline comment
With latest changes in bitbake (post-danny), crda recipe was giving
following error:

ERROR: There is a confusing multiline, partially commented expression

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 10:57:43 +01:00
Javier Viguera 5d946c7cfe meta-digi-del: add override 'mdev' bootscript
https://jira.digi.com/browse/DEL-159 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-22 18:32:50 +01:00
Javier Viguera df15208a8c meta-digi-del: enable 64-bit math support in busybox
This fixes 'out-of-range' errors:

~ # [ "2173165883" -eq "2173165883" ] && echo "TRUE"
sh: 2173165883: out of range

https://jira.digi.com/browse/DEL-207 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-22 17:22:31 +01:00
Alex Gonzalez f554d1f7a1 meta-digi-del: Replace wpa supplicant configuration files.
Use the ones in DEL instead.

Fixes https://jira.digi.com/browse/DEL-160

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 16:33:02 +01:00
Javier Viguera ca91bedf08 meta-digi-del: tune target's boot
Remove 'login' on VT (tty1)
Remove 'bootlogd' (with also uses tty1)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-21 14:35:00 +01:00
Javier Viguera b9e0768236 meta-digi-del: add 'suspend' and mount/umount scripts
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-21 14:35:00 +01:00
Alex Gonzalez fbabc275fa meta-digi-del: Add alsa-state to del-audio.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 13:46:04 +01:00
Javier Viguera 63f206cd23 meta-digi-del: add 'update_flash' application
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-16 16:00:11 +01:00
Alex Gonzalez eb76f52db0 meta-digi: Define default source mirrors in all layers that need them.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 11:49:51 +01:00
Alex Gonzalez a4ea304034 meta-digi-del: Append netbase to customize startup scripts.
Add custom /etc/init.d/networking and /etc/network/interfaces.

The networking script does the start section on the background which
inlcudes the bringing up of the interfaces. In this way DHCP does not
delay the boot up.

The interfaces file configures the wireless interface to be automatically
brought up.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-14 18:42:27 +01:00
Alex Gonzalez 5b0fd6a283 meta-digi-del: Add specific wpa-supplicant for ConnectCard.
We use a wpa-supplicant directly from Atheros with extra functionality.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 6d947648d8 meta-digi-arm: Add firmware-mxs.
This package contains firmware files for the MXS Digi family (Embedded and
boxed products).

Now it contains the bluetooth binary firmware files.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 576350a8b8 meta-digi-del: Change task-del-bluetooth to a packagegroup.
In danny, all tasks have been converted to packagegroups.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00
Alex Gonzalez 5f6cfda2e1 meta-digi-del: Add btfilter package.
This is a bluetooth/wlan coexistance daemon included in the Atheros
driver release.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 14:06:58 +01:00
Alex Gonzalez bb4364365b meta-digi-del: Add del-bluetooth feature.
It will be included in all machines that include the bluetooth feature,
currently the ccardxmx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 11:12:07 +01:00