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)
Wed, Dec 24, 10:39 PM
Unknown Object (File)
Dec 12 2025, 10:47 PM
Unknown Object (File)
Nov 28 2025, 8:22 PM
Unknown Object (File)
Nov 27 2025, 1:15 PM
Unknown Object (File)
Nov 26 2025, 6:51 PM
Unknown Object (File)
Nov 26 2025, 3:56 PM
Unknown Object (File)
Nov 26 2025, 5:59 AM
Unknown Object (File)
Nov 25 2025, 1:54 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.