UEFI GOP: screen goes blank during boot after loader is finished

Warner Losh imp at bsdimp.com
Fri Nov 16 05:03:56 UTC 2018


On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran <rebecca at bluestop.org> wrote:

> On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote:
>
> > What is the ConOut evifar look like? We set serial when the UEFI env says
> > to do  so.
>
> Booting with:
>
> sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s 2,ahci-
> cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s
> 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait -l
> bootrom,/usr/local/share/uefi-
> firmware/BHYVE_UEFI.fd -u vm5
>
> dh in the shell shows:
>
> 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput)
> PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0))
>
> 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx SimpleTextIn
> DevicePath(t(115200,8,N,1)/VenVt100Plus())
>
> 89: SimpleTextOut SimpleTextInEx SimpleTextIn
> DevicePath(Uart(115200,8,N,1)/
> VenPcAnsi())
>

If I read that right, then the ConOut variable first has the video device
listed, then the serial port (this wasn't the form I expected to see it in,
so I'm not sure thats the case). In either event, we should get console
output on both the serial and the video at least until the /etc/rc script
starts...

Warner


More information about the freebsd-virtualization mailing list