Page MenuHomeFreeBSD

Add runtime option for all second-stage boot blocks to reset terminal
Needs ReviewPublic

Authored by lev on Sep 10 2018, 3:35 PM.



Some hardware/firmware leaves serial console in bogus state before calling user boot code. After that output of boot2, gptboot and other second level boot blocks could not be seen by user, which is inconvenient.
This diff adds new runtime option -R, which force all these boot blocks to send default VT-100 reset command <ESC>c before all output. This sequence could be changed with build time option BOOT_COMCONSOLE_RESET_TERM_CMD.

Diff Detail

Lint Skipped
Unit Tests Skipped

Event Timeline

lev created this revision.Sep 10 2018, 3:35 PM
lev added a reviewer: imp.
lev edited the summary of this revision. (Show Details)