Commit Graph

47 Commits

Author SHA1 Message Date
Alex Gonzalez 7c57b2659c meta-digi: Add accel-graphics machine feature.
The del-image-minimal will included the graphical acceleration libraries
if the machine supports accel-graphics.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:55:06 +01:00
Javier Viguera cab3e32599 meta-digi-del: rework HTTP servers
Enable by default 'busybox-httpd'
Install Digi default page for both busybox-httpd and cherokee
Provide basic cherokee configuration

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-26 14:33:08 +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 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
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 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
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
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
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 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 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
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
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 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 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
Javier Viguera 767cb77672 meta-digi-del: symplify packagegroups
There is no need to explicitly set PACKAGES variable (it is
automatically handled by packagegroup.bbclass)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera 536e17549f meta-digi-del: rename tasks to packagegroups
For Yocto 1.3 'Danny' migration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera a5a313fb79 meta-digi-del: update busybox to danny
Yocto 1.3 (danny) already supports busybox-1.20, so just make a
bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 19:48:54 +01:00
Javier Viguera 1192172b9f meta-digi: update to Yocto 1.3 'Danny'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-04 11:22:26 +01:00
Javier Viguera 2b13330e9d meta-digi-del: remove overriden 'base-passwd' recipe
And set the 'root' password later on a ROOTFS_POSTPROCESS_COMMAND
function.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-03 11:21:08 +01:00
Javier Viguera 0d146e72e9 meta-digi-del: fix IMAGE_FEATURES in del-image-minimal recipes
If we override the variable with '=' instead of '+=' then extra image
features set in project's local.conf (EXTRA_IMAGE_FEATURES variable) are
discarded.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-02 19:36:01 +01:00
Alex Gonzalez 41369cede1 meta-digi-del: Add the del-debug feature.
It currently includes memwatch and fbtest.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez 6f88b7ba27 meta-digi-del: Move libdigi inside recipes-digi.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-20 15:14:40 +01:00
Alex Gonzalez abc6dd8e57 meta-digi-del: del-image-minimal, select features by machine support.
Only add del-audio and del-gstreamer if supported by the machine.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 14:08:42 +01:00
Alex Gonzalez b809da65e8 meta-digi-del: task-del-core, add tslib if touchscreen supported.
If the machine definition support a touchscreen ,add tslib and
related test apps.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-17 13:44:45 +01:00
Alex Gonzalez fd7e53800d meta-digi: Replace folders naming format.
We have been using ${PN}-${PV}, change to use only the package name and
leave ${PN}-${PV} for actual recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-13 13:04:39 +01:00
Alex Gonzalez f305d31d6f meta-digi: Add the redpine wireless driver.
This included the recipe where the driver is cloned from git and compiled
from source.

The recipe also copies the firmware files and the if-pre-up scrip.

Pending is the recipe to link from precompiled objects in a .tar.gz file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-12 17:00:18 +01:00
Alex Gonzalez ef280d0812 meta-digi-del: Add usbutils to task-del-core.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-12-05 11:08:56 +01:00
Javier Viguera f2ec84467e task-del-core: add busybox-mdev package
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-11-29 18:47:42 +01:00
Javier Viguera 219110cc76 busybox: add mdev hotplug handlers
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-11-29 18:47:42 +01:00
Javier Viguera 972963f83f meta-digi-del: remove busybox 1.19 override
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-11-28 19:25:29 +01:00
Javier Viguera 9300fecf72 meta-digi-del: add busybox version 1.20.2
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-11-28 19:25:29 +01:00
Javier Viguera e5e72b240d meta-digi-del: add libdigi
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-11-28 19:07:35 +01:00
Alex Gonzalez 6f58fb1934 meta-digi-del: Fix FILESEXTRAPATHS to separate entries with colon.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez 9534484050 meta-digi-del: Add del-network feature.
This feature requires the addition of meta-openembedded/meta-oe. The
addition of the meta-oe layers breaks the build as recipes of that layer
change existing recipes. Fixes follow.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-28 16:56:45 +01:00
Alex Gonzalez ce372b012d meta-digi-del: Fix incorrect name for dropbear
In del-image-minimal, correctly add the ssh-server-dropbear image feature.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-22 17:51:20 +01:00
Alex Gonzalez a63ab03826 del-gstreamer: Add feature.
This feature will include the gstreamer framework and its BSP elements.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-20 12:22:22 +01:00
Alex Gonzalez 174e18f6ac del-audio: Add task and feature.
This feature is also enabled by default in del-image-minimal.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-19 18:55:41 +01:00
Alex Gonzalez 76f2c1f755 del-image-minimal-dev: Add development image.
Includes development version of packages as well as empty password root
login, and package manager.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-19 17:30:46 +01:00
Alex Gonzalez b5cd4d7edc meta-digi-del: Add distribution layer.
This commit separates the BSP layer from the DEL distribution layer. This
allows for customers to use the BSP layer while customizing their own
distribution, and for other Digi teams, like the gateways, to do the same.

It would also allow to use the DEL layer over other BSPs.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2012-11-19 13:40:53 +01:00