Page MenuHomeFreeBSD

Add build-time option to boot0sio to reset terminal
Needs ReviewPublic

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



Some hardware/firmware leaves serial console in bogus state before calling user boot code. After that output of boot0sio could not be seen by user, which is inconvenient.
This diff adds compile-time option BOOT_BOOT0_RESET_TERM, which force boot0sio to send default VT-100 reset command <ESC>c before all output.
This option is not compatible with PXE and VOLUME_SERIAL options, due to space constrains. Only two of these three options could be selected together.
This option is turned off by default.

Diff Detail

Lint Skipped
Unit Tests Skipped

Event Timeline

lev created this revision.Sep 10 2018, 3:32 PM
lev edited the summary of this revision. (Show Details)Sep 10 2018, 3:36 PM