diff options
author | Ain <41307858+nero@users.noreply.github.com> | 2018-08-13 12:16:35 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-21 11:30:06 +0000 |
commit | 99716520d4cf093d42f5a93cac73964ceffc6b4e (patch) | |
tree | e2e3d424fb4fbc40567e86ceea68998a5ce3eb33 /fstab | |
parent | 5dcea63213712c3ffdc56d4fc3d463955117b828 (diff) | |
download | mkinitfs-99716520d4cf093d42f5a93cac73964ceffc6b4e.tar.bz2 mkinitfs-99716520d4cf093d42f5a93cac73964ceffc6b4e.tar.xz |
Reuse kernel-side configuration for console= devices
Instead of parsing the console= options in the initramfs, we ask the
kernel of its interpretation of the console= parameters. The kernel
does the console setup as part of its early startup, including the
configuration of the baud rate, control bits and flow control.
The options and format of the console= parameter are documented here:
https://www.kernel.org/doc/html/v4.15/admin-guide/serial-console.html
By keeping the settings from the kernel, we avoid baud rate switching
between printk and getty output on edge cases.
This adds support for additional tty types, like hvc, while removing
string parsing code from the initramfs.
Diffstat (limited to 'fstab')
0 files changed, 0 insertions, 0 deletions