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)
Mon, Jan 6, 8:33 AM
Unknown Object (File)
Dec 2 2024, 12:42 PM
Unknown Object (File)
Oct 3 2024, 10:20 AM
Unknown Object (File)
Sep 27 2024, 8:48 PM
Unknown Object (File)
Sep 27 2024, 8:48 PM
Unknown Object (File)
Sep 27 2024, 8:48 PM
Unknown Object (File)
Sep 27 2024, 8:39 PM
Unknown Object (File)
Sep 25 2024, 10:42 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 Not Applicable
Unit
Tests Not Applicable

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.