Actions
Feature #9928
closeduts: prepare very early console on ttya
Start date:
2018-10-25
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
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 dboot_debug
to 1
in uts/i86pc/dboot/dboot_startkern.c
before building the kernel.
Updated by Electric Monk over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 805e8fd0e4405f1ff8b281a3eb4099a58315eb81
commit 805e8fd0e4405f1ff8b281a3eb4099a58315eb81 Author: Toomas Soome <tsoome@me.com> Date: 2018-11-19T05:27:01.000Z 9928 uts: prepare very early console on ttya Reviewed by: John Levon <john.levon@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
Actions