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>
On Thu, Jan 06, 2011 at 09:18:48AM -0000, Loïc Minier wrote: media-create: ttyS2,115200n8 and serialtty=ttyS2) opts="$ serial_ opts console=$c" opts="$ serial_ opts serialtty=ttyS2"
> Grepping for ttyS2, there are two blocks matching in linaro-
> - the beagle|igep case (console=
> - a seeminly bogus consoles snippet:
> serial_opts=""
> if [ "$consoles" ]; then
> for c in ${consoles}; do
> serial_
> done
> if [ "$IS_LIVE" -eq 1 ]; then
> serial_
> 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?
-- www.debian. org/
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://
<email address hidden> <email address hidden>