kumquat-buildroot/system
Alexey Brodkin 131300e6f1 system: run getty on boot console by default
We used to specify explicitly serial port with all its settings
for init to instantiate getty.

This limits usecases when the same one rootfs could be used.

For example following cases won't work well with hardcoded
serial console settings:
 * On the same board other serial port is expected to be used
 * The same rootfs is intended to be used on different boards with
   different serial ports (like ttySx vs ttyAMAx or even ttyx)

With this change by default we rely on "console" specified in
kernel's boot command line.

What is important getty will be set on the last console
specified in bootargs.

For example is a kernel comand line:
--->---
bootargs="... console=tty0 console=ttyS3,115200n8..."
--->---

This now will instantiate serial console on ttyS3 but not on tty0.

Tested with both Busybox and SysV init.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-10 17:01:35 +01:00
..
skeleton system/inittab: adjust shutdown 2014-11-20 19:40:36 +01:00
Config.in system: run getty on boot console by default 2015-01-10 17:01:35 +01:00
device_table_dev.txt device table dev: drop old CDROMs 2014-03-12 17:24:23 +01:00
device_table.txt system/permissions: /etc/random-seed must be mode 600 2014-11-25 22:37:43 +01:00
system.mk system/inittab: update to fix bug #7442 2014-10-25 01:24:11 +02:00