serial console detection
dsd at laptop.org
Thu Jun 11 09:16:51 PDT 2009
I'm investigating running plymouth on the F11 distribution we're making
for the XO-1.5.
The first problem I'm facing is with the check_for_consoles() function
OLPC boots with console=ttyS0,115200 console=tty0 with the intention of
sending boot messages over the serial console if it is plugged in, and
also booting as normal with tty0 being the primary console.
However, plymouth bails out with these parameters present, even if we
just have console=tty0 alone (the comment in that function suggests that
its trying to disable itself on a serial console, but it didn't even
check the console that it was being asked to work with...)
Why is it doing this?
Even if a serial console is present, surely you would still want to run
plymouth on the regular tty? (Well, OLPC would really like this at
least, as we specify on the kernel command line)
I'm happy to hack on this but need to understand the intentions first!
More information about the plymouth