Page MenuHomeFreeBSD

gptboot, zfsboot, gptzfsboot: Enable the video and serial consoles early
ClosedPublic

Authored by allanjude on Jun 17 2018, 1:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 15, 9:25 PM
Unknown Object (File)
Fri, Aug 14, 5:03 PM
Unknown Object (File)
Thu, Aug 13, 12:18 PM
Unknown Object (File)
Thu, Aug 13, 12:18 PM
Unknown Object (File)
Thu, Aug 13, 12:17 PM
Unknown Object (File)
Tue, Aug 11, 9:17 PM
Unknown Object (File)
Tue, Aug 11, 6:58 PM
Unknown Object (File)
Mon, Aug 10, 3:00 PM
Subscribers
None

Details

Summary

Normally the serial console is not enabled until /boot.config is read and we know how the serial console should be configured.
Initialize the consoles early in 'dual' mode (serial & keyboard) and a serial rate of 115200.
Serial is re-initialized again once /boot.config can be read, after the disk is decrypted.

This allows the GELIBoot passphrase to be provided via the serial console

Test Plan

I need to test this some a few more types of real hardware

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17365
Build 17198: arc lint + arc unit

Event Timeline

I'd reword the commit message.
You are really enabling serial and video early...

This revision is now accepted and ready to land.Jun 17 2018, 2:58 AM
allanjude retitled this revision from gptboot, zfsboot, gptzfsboot: Enable the serial console sooner to gptboot, zfsboot, gptzfsboot: Enable the video and serial consoles early.Jun 17 2018, 3:05 AM
allanjude edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.