uts: prepare very early console on ttya
Create a build time knob to enable dboot early console on ttya (COM1). Since the very early dboot has no way to know where to output, there is no way to have configurable mechanism, also since we do not know what device is connected to serial port, we can not enable such output as default, but at least we can provide the half prepared mechanism to help developers to prepare binary to get very early console output (on serial port).
Note that this mechanism is disabled by default, but can be enabled by setting
uts/i86pc/dboot/dboot_startkern.c before building the kernel.
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 805e8fd0e4405f1ff8b281a3eb4099a58315eb81 Author: Toomas Soome <email@example.com> Date: 2018-11-19T05:27:01.000Z 9928 uts: prepare very early console on ttya Reviewed by: John Levon <firstname.lastname@example.org> Approved by: Joshua M. Clulow <email@example.com>