Serial Console
Hi
In the Redhat 7.0 linux, I was able to enable/disable the serial console using the following command in the inittab
" T0:12345:respawn:/sbin/getty ttyS0 9600 vt100"
However in the case of the 440 Linux the serial console is enabled already. I wanted to know how this enabling is done. Can someone add some points to this.
Thanking you in advance
Regards
Aman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Aman
Hi
In the Redhat 7.0 linux, I was able to enable/disable the serial console using the following command in the inittab
" T0:12345:respawn:/sbin/getty ttyS0 9600 vt100"
That is actually not a serial "console", it is a serial "login". (It's a small distinction but an important one)
On a workstation system (with say VGA), when the system boots the "console" comes up and displays your boot messages. Eventually init executes and starts a login sesssion on the same device as the default console. Thus your screen has both a "console" and "login" active.
Quoted 3 lines
However in the case of the 440 Linux the serial console is enabled already. I wanted to know how this enabling is done. Can someone add some points to this.
Probably with your configuration, the default system console is on a serial port. This means all boot and kernel messages will go there.
Again you will want to start a login process via init in order to do multi-user logins.
(But in the embedded world, init, getty/login and such aren't required. You can just as easily boot right into /bin/sh.)
Now back to your original question.. How is it enabled:
The console is enabled either by the system configuration or by the kernel command line, "console=". Look in the "Documentation" directory in the kernel, something in there explains serial consoles and the cmdline semantics.
--Mark
Quoted 9 lines
Thanking you in advance
Regards
Aman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Mark Hatle
The console is enabled either by the system configuration or by the kernel command line, "console=". Look in the "Documentation" directory in the kernel, something in there explains serial consoles and the cmdline semantics.
newbie question:
is there any chance of having virtual terminals through the serial port?
Cheers.
--
Ibon Gotxi Garcia <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
[ Ibon Gotxi Garcia writes: ]
Quoted 3 lines
newbie question:
is there any chance of having virtual terminals through the serial port?
Check out screen ftp:ftp.uni-erlangen.de/pub/utilities/screen
Screen is a full-screen window manager that multiplexes a physical ter- minal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions from the ISO 6429 (ECMA 48, ANSI X3.64) and ISO 2022 standards (e.g. insert/delete line and support for multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows moving text regions between windows.
and much, much more... It's not limited to serial terminals, BTW.
--
Dave Wolfe
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/