Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2018 22:03:42 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Rebecca Cran <rebecca@bluestop.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Kyle Evans <kevans@freebsd.org>, Mr Dandy <subbsd@gmail.com>, "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>,  freebsd-virtualization@freebsd.org
Subject:   Re: UEFI GOP: screen goes blank during boot after loader is finished
Message-ID:  <CANCZdfrpaqFDKm7N0O56br_9sWz6eifoMMx0v6sPRwooiOqqPQ@mail.gmail.com>
In-Reply-To: <1564776.xRuIxZukmv@photon.int.bluestop.org>
References:  <CAFt_eMpAOHJGiZkxZfv7jvz_6JuDf8zPFV3%2BD8zQ5EtvqakvOw@mail.gmail.com> <CACNAnaGm-s8F5AKVxincPDFjjBgw9ONV1%2BrQzh2oqFhHxq9ATw@mail.gmail.com> <CANCZdfqM0eNfx5J8O3HCpp4mQ-Lxws-=6yAarYBZ-NYp9jQo-Q@mail.gmail.com> <1564776.xRuIxZukmv@photon.int.bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran <rebecca@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrpaqFDKm7N0O56br_9sWz6eifoMMx0v6sPRwooiOqqPQ>