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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
It will be included in all machines that include the bluetooth feature,
currently the ccardxmx28js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
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>
We use microwindows for the fbtest application. The recipe is imported
from openembedded classic and modified to work in yocto.
The configuration file has been modified to match the one in DEL legacy.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This is based on the recipe found in the openembedded layer.
http://cgit.openembedded.org/openembedded/log/recipes/crda/crda_1.1.1.bb
It needs to compile with libnl 2.0, so we set a distro preferred version
for it.
Also, we make the recipe configurable to compile without gcrypt. The
Makefile is patched to compile without gcrypt.
Compiling with gcrypt would need the addition of the python-m2crypto-native
recipe which is not done so it is currently broken.
The compilation without gcrypt is how DEL is currently doing it so this
should be enough for our needs.
Also, the device manager is configurable and set to busybox-mdev by
default.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
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>
To successfully compile mplayer we need to append the meta-oe recipe
not to use X, live555 or fontconfig.
They way it's done X can be added back in the distro features, and both
live555 and fontconfig through virtual runtime package configuration.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The SRC_URI is broken, and in the new git repository the same SRCREV does
not exist.
We can't currently test libdvdread functionality, but it's enough to
compile mplayer successfully.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Now that all code is our own as we are not copying recipes into the
layer but overriden the ones in meta-fsl-arm, the prefix to comments
have no use.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The meta-openembedded socat recipe has reported build problems on some
systems. The QA check tools report that the configure script looks into
the host system.
Remove for now will review in the future.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The different mesa packages all provide virtual/libgl by default. However,
they all have dependencies in X.
When meta-oe is brought in, the gst-ffmpeg recipe has been appended to
depend indirectly on libgl.
On a iMX build, libgl is also provided by amd-gpu-bin-mx51, which is
set as default provider.
Still, the build shows errors because when parsing the mesa providers,
it detects that the distro does not contain the x11 feature.
This commit appends the mesa recipes only to provide libgl if x11 is
defined in the distro.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
This commit allows to include the gstreamer plugins individually with
more granularity than the base, good, bad, ugly approach.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The librsvg dependency is left out as it adds a dependency on gtk+.
The original addition of that dependency is:
commit 30dbfde8ebcb761120eb1ab1d213e850cac966fd
Author: Dongxiao Xu <dongxiao.xu@intel.com>
Date: Thu Mar 10 13:51:20 2011 +0800
gst-plugins-bad: add missing dependency librsvg
Defaultly gst-plugins-bad will configured with option --enable-rsvg.
Besides, it will check if librsvg really exists by certain configure
code.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Instead of using the default distro features configure them for the
del distro.
The default features include some which we don't need, as 3g and x11
amongst others.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commits adds bbappends to all gstreamer packages so that we
configure them with the same flags as we do in DEL.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The gstreamer plugins are not packaged in a single package. They have
functionality in different packages.
This allows to specify what functionality to install.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Includes development version of packages as well as empty password root
login, and package manager.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>