Comment 4 for bug 697824

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 697824] Re: linaro omap3 image: serial device name change breaks serial console

On Thu, Jan 06, 2011 at 09:18:48AM -0000, Loïc Minier wrote:
> Grepping for ttyS2, there are two blocks matching in linaro-media-create:
> - the beagle|igep case (console=ttyS2,115200n8 and serialtty=ttyS2)
> - a seeminly bogus consoles snippet:
> serial_opts=""
> if [ "$consoles" ]; then
> for c in ${consoles}; do
> serial_opts="$serial_opts console=$c"
> done
> if [ "$IS_LIVE" -eq 1 ]; then
> serial_opts="$serial_opts serialtty=ttyS2"
> fi
> fi

> (I think this second snippet is currently bogus in that it hardcodes
> ttyS2 for all boards.)

If the only part of this that's bogus is the 'ttyS2' hard-coding, does that
mean the kernel does have the capability to send console output to multiple
TTYs? I've never tried this before, but had noticed this bit of code; if it
works, we could just have --dev beagle set both consoles on a transitional
basis, right?

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>