Project

General

Profile

Feature #9928

uts: prepare very early console on ttya

Added by Toomas Soome 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2018-10-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

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.

History

#1

Updated by Joshua M. Clulow 11 months ago

  • Description updated (diff)
#2

Updated by Electric Monk 11 months 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>

Also available in: Atom PDF