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>
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>
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>
* 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>
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>
By removing the driver on ifdown and loading it on ifup we workaround some
problems found in long run suspend stability testing.
https://jira.digi.com/browse/DEL-1084
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This removes the Openembedded logo and leaves the kernel splash until
the desktop is ready.
https://jira.digi.com/browse/DEL-1131
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This was needed to overcome some corner cases with storage devices on
suspend/resume using MDEV as device handler.
Now we are using UDEV and after some tests done it seems that the
'resume_storage_devices' hack is not needed anymore.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
udhcpc's '-R' option means 'Release IP on exit'.
This fixes a strange corner case on reboot: if you configure your network
interface to DHCP in '/etc/network/interfaces' AND you have some NFS
share mounted on your system, then running reboot command fails to
complete and it hangs on:
'Unmounting local filesystem'
This happens because on reboot TERM and KILL signals are sent to all
the processes in the system before umounting the local filesystem. When
udhcpc daemon receives the signal it exits and releases the IP (because
it was launched with '-R') leaving an unconfigured network interface
that later is unable to umount a network filesystem (NFS), resulting on
'reboot' command being unable to complete.
Removing the '-R' option from udchpc allows to kill the process without
unconfiguring the network interface.
https://jira.digi.com/browse/DEL-1125
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The original defconfig came from DEL. Make the defconfig more similar to
the Yocto default one.
This restores the default udhcpc options when running via ifup to '-R
-n'. This is important because without '-n' the target can wait forever
to get an IP on boot while maybe the network is not available.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Rework the conditional expression so the overall return value of the
script is not failure, because in that case the 'ifup' command fails
with:
run-parts: /etc/network/if-up.d/ifup exited with code 1
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This cleans following warning:
Use of PRINC is deprecated.
The PR server should be used to automatically increment the PR.
See: https://wiki.yoctoproject.org/wiki/PR_Service
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This is needed in order to use eclipse as a graphical debugging IDE with
the Yocto eclipse plugin.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
So the output of 'reboot' command does not spread over different lines.
This is basically a cosmetic change to make target's output on reboot a
bit more beautiful.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
These files were needed in previous versions of Yocto to overcome
different problems. Remove them as the default ones in current Yocto
version are good enough for our platforms.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
We use udev as device manager both for minimal and graphical images so
there is no need for these mdev extensions anymore.
https://jira.digi.com/browse/DEL-944
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>