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, Jan 25, 9:34 AM
Unknown Object (File)
Thu, Jan 23, 11:42 AM
Unknown Object (File)
Tue, Jan 21, 10:31 PM
Unknown Object (File)
Sat, Jan 18, 9:55 PM
Unknown Object (File)
Sat, Jan 18, 9:50 PM
Unknown Object (File)
Mon, Jan 6, 8:33 AM
Unknown Object (File)
Dec 2 2024, 12:42 PM
Unknown Object (File)
Oct 3 2024, 10:20 AM
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.