Hardware Reference
In-Depth Information
This references the serial device that is made available after boot-up as /dev/ttyAMA0 .
The parameter following the device name is the baud rate (115200).
The general form of the serial console option is as follows:
console=ttyDevice,bbbbpnf
The second parameter is the options field:
Zone
Description
Value
Raspbian Notes
bbbb
Baud rate
115200
Can be more than four digits
p
Parity
n
No parity
o
Odd parity
e
Even parity
n
Number of bits
7
7 data bits
8
8 data bits
f
Flow control
r
RTS
omitted
No RTS
Virtual console=
Linux supports a virtual console, which is also configurable from the console= parameter.
Raspbian Linux specifies the following:
console=tty1
This device is available from /dev/tty1 , after the kernel boots up. The tty
parameters used for this virtual console can be listed (edited here for readability):
$ sudo −i
# stty −a </dev/tty1
speed 38400 baud ; rows 26; columns 82; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; \
eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S ; susp = ^Z; rprnt = ^R; werase = ^W; \
lnext = ^V; flush = ^O; min = 1; time = 0;
−parenb −parodd cs8 hupcl −cstopb cread −clocal −crtscts
−ignbrk brkint −ignpar −parmrk −inpck −istrip −inlcr \
−igncr icrnl ixon −ixoff −iuclc −ixany imaxbel iutf8
opost −o lcuc −ocrnl onlcr −onocr −onlret −ofill −ofdel \
nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok −echonl −noflsh \
−xcase −tostop −echoprt −echoctl echoke
#
 
 
Search WWH ::




Custom Search