medatom/rootfs: Disable DPMS on LVDS.

Disable the DPMS support on the LVDS display. Normally this would only require
to set the DPMS option to off. But because the monitor section is not used
without a screen section, we need to add one.

Change-Id: Ib4924e37bac08764ee76b53f2e37f404b36bff15
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/813
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
medcom-wide/rootfs: Fix default package selection

In the past, we had a default package selecting as part of the platform. This
default selection is outdated for quite some time now. Remote-control and rum
have been moved to vendor/avionic-design and the virtual package selection is
not working as expected. To solve this, we move the important packages like
L4T, remote-control and rum at the top of the list and use the correct config
entries to run a terminal in default configuration. Finally we remove the
packages which are not essential to run.

Change-Id: I50654d3f3af12f4b0614c93a710bf8adb59bcfaa
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/816
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
medcom-wide/rootfs: Cleanup and update ALSA configuration

On medcom-wide we have no HDMI connector, so we can drop the HDMI plug. Also
add hints for each plug, so we can see them when using e.g. "aplay -L".

Change-Id: I44731b77c44fe0f81eb8903bea3d418481bd1f30
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/868
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Fix linphone usb-handset usage

When using linphone in combination with the usb-handset, we need to make sure
we use the correct soundcard. In this case a dmix plug, in order to be able to
play additional tones while a call is running. Therefore we need to tell
linphone to create the non-HW soundcard called handset and to use this card
for playback.

Due to an issue (SIGFPE) within ALSA, we need to remove the sample-rate module
from the dmix plug.

Change-Id: I3368eef4b2752ba232bfc3654312cd156ff70a60
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/869
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Use stop timeout for nodm

It can be annoying, if you try to stop nodm and nothing happens. Setting the
timeout will make systemctl kill the process if it does not terminate itself.

Change-Id: I45c9b5d44c94fac04f0bf20d0a6a8b5d45af0b18
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/888
Reviewed-by: Julian Scheel <julian@jusst.de>
medatom/rootfs: Use stop timeout for nodm

It can be annoying, if you try to stop nodm and nothing happens. Setting the
timeout will make systemctl kill the process if it does not terminate itself.

Change-Id: I88d21a952f4f5a5d6db8b7245d1dbaf89e917299
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/889
Reviewed-by: Julian Scheel <julian@jusst.de>
plutux/rootfs: Use stop timeout for nodm

It can be annoying, if you try to stop nodm and nothing happens. Setting the
timeout will make systemctl kill the process if it does not terminate itself.

Change-Id: Iaf549fdeb76f2a28147a0e826fc01f8145ef76df
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/890
Reviewed-by: Julian Scheel <julian@jusst.de>
configs: Move the defconfigs to the platform repositories

Change-Id: I8f0b965c1c8e097b7420148966cb57e9a5e438f4
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1005
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide: Update rootfs defconfig

Change-Id: I92ddde384440bdc6b3a612c2bc14537352473e91
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1044
Reviewed-by: Hendrik Lippek <hendrik.lippek@avionic-design.de>
medatom/rootfs: Add the systemd-journal to fix journalctl

For systemd to create its journal the systemd-journal user must
exist.

Change-Id: I1d997b4c18523be4ec324e50a7ef44bfb9fa67c9
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1045
Reviewed-by: Hendrik Lippek <hendrik.lippek@avionic-design.de>
configs: Re-add the tec-ng configurations

The tec-ng configurations were lost when moving configurations from pbs-stage2
into the platform repositories. This adds the tec-ng configurations as they have
been right before the removal from pbs-stage2 back in.

Change-Id: Id0955e48b74202e9b8fead13a81b406fcfed2559
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/1062
Reviewed-by: Bert van Hall <bert.vanhall@avionic-design.de>
initrd: Fix the multi.its generation to work with T20 and T30

Use the new tegra macro to compute the load address, this allow
generating proper images for T20 and T30 from the same sources.

Change-Id: Ie87d25712a549cfdfa68fda7566808ce42808769
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1058
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Link browser.conf to persist

Instead of using a given browser.conf in any case we link it to persist now, so
that a custom browser.conf can be installed on any device.

Change-Id: I636dc9c44d076e8c49c3b16119ad606914ef046f
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/1068
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
medcom-wide/rootfs: ucm: Don't mute lineout for handset

The handsets speaker is wired to the Line Out channel of the wm8903. Therefore
it is a bad idea to mute this one when entering Voice Call/Handset state.
Instead the volume should just be kept and the Line Out has to be enabled.
This probably went in by accident at all.

Change-Id: I600ac8d7c38d4b3ae2f134c7b17f0cebd7578389
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/1074
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
configs: Add the TEC configs back

These configs slipped away in the move out to the platform repository,
so add them back.

Change-Id: I847a33bd545326fc42290f5dbc82aa9a5077e0f5
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1085
Reviewed-by: Julian Scheel <julian@jusst.de>
configs: Set the Tegra SoC type in all the tegra defconfig

The SoC type must now be properly defined for all Tegra platforms.

Change-Id: I3d0bf6e04ee9e178f44295f6f81ac3d4e10e2639
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1057
Reviewed-by: Julian Scheel <julian@jusst.de>
configs: Update the ARM configs after the float changes in stage2

Update the defconfig of all ARM devices to simply use the default
settings for their CPU. So all use hardfp, with T20 using the VFPv3
and T30 devices using neon.

Change-Id: I67c0d12fd1c5fb1892ab146e9403d602bf33d0a5
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1164
Reviewed-by: Dirk Leber <dirk.leber@avionic-design.de>