HomeFreeBSD

efi-autoresizecons: Don't fail the boot w/o GOP or UGA

Description

efi-autoresizecons: Don't fail the boot w/o GOP or UGA

efi-autoresizecons is currently executed for every boot. If it fails, we
risk failing the boot, and we really shouldn't do that unless we absolutely
must.

Not being able to locate GOP or UGA is not a significant enough failure to
kill the boot. We always have the option to fall back to resizing ConOut to
a higher text mode resolution (if available), so do that.

This was detected by Doug [1] while attempting a bhyve + UEFI + PXE boot.
This patch was effectively also submitted by Doug, but I expanded the
comment he had originally sent me a little bit to indicate why this is an OK
idea.

Reported by: Doug Ambrisko <ambrisko@ambrisko.com> [1]

Details

Provenance
kevansAuthored on Aug 4 2018, 6:40 AM
Parents
rG1856c32ef62a: Set the default image base on arm64 and i386 to a superpage-aligned
Branches
Unknown
Tags
Unknown

Event Timeline