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
F151031860: D15862.diff
Sun, Apr 5, 1:44 PM
F150995558: D15862.diff
Sun, Apr 5, 9:01 AM
Unknown Object (File)
Mon, Mar 30, 3:53 PM
Unknown Object (File)
Tue, Mar 24, 2:45 PM
Unknown Object (File)
Mon, Mar 23, 2:18 AM
Unknown Object (File)
Mon, Mar 9, 6:16 AM
Unknown Object (File)
Feb 8 2026, 7:22 AM
Unknown Object (File)
Feb 7 2026, 5:32 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.