]> code.ossystems Code Review - openembedded-core.git/commit
sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined
authorMatthew McClintock <msm@freescale.com>
Wed, 11 Jul 2012 23:15:27 +0000 (18:15 -0500)
committerScott Garman <scott.a.garman@intel.com>
Wed, 18 Jul 2012 17:19:00 +0000 (10:19 -0700)
commit2e7dddfce4a40a56f671116a2001b13c57667c70
tree7e52973f771729dcfcbdfaec38316e8c5964c2cc
parentd58668c6770f519199192c7e3817fbc7d6576af3
sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if
you need to check for the presence of the serial consoles you can also define
SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This
will prevent error message that pop up when the serial port is not present.

SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

The above lines in machine.conf or elsewhere will have the effect of having
two serial consoles and removing any that are not present at boot

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb