Re: Updating uefi-edk2-bhyve

2019-03-31 Thread Rodney W. Grimes
> > On 3/30/19 2:37 PM, Rodney W. Grimes wrote: > >> On 3/30/19 1:08 AM, Rodney W. Grimes wrote: > >>> > >>> So it is a edk2 implementation, and can you point me at > >>> the bhyve version of it? The Qemu/KVM version is rather > >>> not relavent to this discussion as that would not work due > >>>

Re: Updating uefi-edk2-bhyve

2019-03-31 Thread Rebecca Cran via freebsd-virtualization
On 3/30/19 2:37 PM, Rodney W. Grimes wrote: On 3/30/19 1:08 AM, Rodney W. Grimes wrote: So it is a edk2 implementation, and can you point me at the bhyve version of it? The Qemu/KVM version is rather not relavent to this discussion as that would not work due to core vmm implementation differ

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Rodney W. Grimes
> On 3/30/19 1:08 AM, Rodney W. Grimes wrote: > > > > I do not know what the above is, could you elaborate for me? > > What is OVMF and what is its relation to bhyve? > > > OVMF is the Open Virtual Machine Firmware: it's open source (BSD > licensed) firmware for virtual machines. Currently, that

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Rebecca Cran via freebsd-virtualization
On 3/30/19 1:08 AM, Rodney W. Grimes wrote: I do not know what the above is, could you elaborate for me? What is OVMF and what is its relation to bhyve? OVMF is the Open Virtual Machine Firmware: it's open source (BSD licensed) firmware for virtual machines. Currently, that means Qemu/KVM.

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Rebecca Cran via freebsd-virtualization
On 3/29/19 2:08 PM, Rebecca Cran via freebsd-virtualization wrote: I ran the SCT 2.6 against the updated Bhyve firmware and uploaded the results to https://bluestop.org/files/Summary.log . I'm not sure how the failures compare with either the current firmware or OVMF though, so I'm not sure

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Marcelo Araujo
On Sat, Mar 30, 2019, 4:14 PM Rodney W. Grimes < freebsd-...@gndrsh.dnsmgr.net wrote: > > On 3/29/19 9:29 PM, Rodney W. Grimes wrote: > > > > > > That, iirc, would be the SMBIOS version of ed2k, which yes should > > > be updated if infact the newer ed2k has a new SBIOS implementation, > > > if it

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Rodney W. Grimes
> On 3/29/19 9:29 PM, Rodney W. Grimes wrote: > > > > That, iirc, would be the SMBIOS version of ed2k, which yes should > > be updated if infact the newer ed2k has a new SBIOS implementation, > > if it is still 1.00 implementaton then this needs to be left > > alone. > > > Under OVMF "smbiosview

Re: Updating uefi-edk2-bhyve

2019-03-29 Thread Rebecca Cran via freebsd-virtualization
On 3/29/19 9:29 PM, Rodney W. Grimes wrote: That, iirc, would be the SMBIOS version of ed2k, which yes should be updated if infact the newer ed2k has a new SBIOS implementation, if it is still 1.00 implementaton then this needs to be left alone. Under OVMF "smbiosview -t 0" shows: Vendor:

Re: Updating uefi-edk2-bhyve

2019-03-29 Thread Rodney W. Grimes
> On 3/25/19 3:59 PM, D Scott Phillips wrote: > > > > Yep, makes sense to me. For either of these changes we would want to get > > test converage on basically all functionality, so might as well take > > both changes at once. > > > One thing I noticed is that the SMBIOS information claims it's BH

Re: Updating uefi-edk2-bhyve

2019-03-29 Thread Rebecca Cran via freebsd-virtualization
On 3/29/19 12:29 PM, Rebecca Cran via freebsd-virtualization wrote: On 3/25/19 3:59 PM, D Scott Phillips wrote: Yep, makes sense to me. For either of these changes we would want to get test converage on basically all functionality, so might as well take both changes at once. One thing I noti

Re: Updating uefi-edk2-bhyve

2019-03-29 Thread Rebecca Cran via freebsd-virtualization
On 3/25/19 3:59 PM, D Scott Phillips wrote: Yep, makes sense to me. For either of these changes we would want to get test converage on basically all functionality, so might as well take both changes at once. One thing I noticed is that the SMBIOS information claims it's BHYVE BIOS v1.00 rele

Re: Updating uefi-edk2-bhyve

2019-03-27 Thread Rebecca Cran via freebsd-virtualization
On 3/25/19 3:59 PM, D Scott Phillips wrote: For either of these changes we would want to get test converage on basically all functionality, so might as well take both changes at once. What testing are you thinking is needed at this point? I guess installing and running FreeBSD, Linux and Win

Re: Updating uefi-edk2-bhyve

2019-03-25 Thread D Scott Phillips
Rebecca Cran writes: > On 3/22/19 4:29 PM, Rebecca Cran via freebsd-virtualization wrote: > > On 3/22/19 2:25 PM, D Scott Phillips wrote: > > > > > Hmm, I guess it might be some diference in the code generation > > > between gcc 4.8 and gcc 5. > > > > > > I've just tested switching from gcc 4.8 t

Re: Updating uefi-edk2-bhyve

2019-03-23 Thread Rebecca Cran via freebsd-virtualization
On 3/22/19 4:29 PM, Rebecca Cran via freebsd-virtualization wrote: On 3/22/19 2:25 PM, D Scott Phillips wrote: Hmm, I guess it might be some diference in the code generation between gcc 4.8 and gcc 5. I've just tested switching from gcc 4.8 to 8.3.0 and everything seems to work fine - both

Re: Updating uefi-edk2-bhyve

2019-03-22 Thread Rebecca Cran via freebsd-virtualization
On 3/22/19 2:25 PM, D Scott Phillips wrote: Hmm, I guess it might be some diference in the code generation between gcc 4.8 and gcc 5. I've just tested switching from gcc 4.8 to 8.3.0 and everything seems to work fine - both build and runtime - so I think it may be more productive to upgrade

Re: Updating uefi-edk2-bhyve

2019-03-22 Thread D Scott Phillips
Rebecca Cran writes: > On 3/22/19 10:12 AM, D Scott Phillips wrote: > > > > > You're seeing this firmware triple fault in the DEBUG build of this new > > firmware? It seems to be functioning properly for me. Do you get any > > serial output before the fault? > > I do get quite a bit of output bef

Re: Updating uefi-edk2-bhyve

2019-03-22 Thread Rebecca Cran via freebsd-virtualization
On 3/22/19 10:12 AM, D Scott Phillips wrote: You're seeing this firmware triple fault in the DEBUG build of this new firmware? It seems to be functioning properly for me. Do you get any serial output before the fault? I do get quite a bit of output before the fault. I'm running 13-CURRENT (

Re: Updating uefi-edk2-bhyve

2019-03-22 Thread D Scott Phillips
rebe...@bluestop.org writes: > On Mar 21, 2019, 9:54 PM -0600, Larry Rosenman , wrote: > > out of curiosity, is there any work being done to move this to later > > LLVM/CLANG? > > That’s something else I’m hoping to work on, since gcc 4.8 is very > outdated now. It seems to build fine using gcc 7,

Re: Updating uefi-edk2-bhyve

2019-03-22 Thread D Scott Phillips
Marcelo Araujo writes: > This is a fantastic news!!! > > I think after more tests done by the community, you should make a PR > to this repo: https://github.com/freebsd/uefi-edk2 and then I can > update the ports. Yep, that sounds like a good plan to me. Is there anything else I can be doing to

Re: Updating uefi-edk2-bhyve

2019-03-22 Thread D Scott Phillips
Rebecca Cran writes: > This is awesome! Updating to a newer edk2 has been on my todo list for > a while. > > However I don’t see a BhyvePkg in the first link you posted. And could > you confirm that you got HTTP boot working on FreeBSD as well as Linux > and Windows? I thought loader changes were

Re: Updating uefi-edk2-bhyve

2019-03-21 Thread Rebecca Cran via freebsd-virtualization
On Mar 21, 2019, 9:54 PM -0600, Larry Rosenman , wrote: > out of curiosity, is there any work being done to move this to later > LLVM/CLANG? That’s something else I’m hoping to work on, since gcc 4.8 is very outdated now. It seems to build fine using gcc 7, but I need to test that it still runs

Re: Updating uefi-edk2-bhyve

2019-03-21 Thread Larry Rosenman
On 03/21/2019 10:19 pm, Rebecca Cran via freebsd-virtualization wrote: On 3/21/19 6:44 PM, D Scott Phillips wrote: Hi freebsd-virtualization, Recently I wanted to be able to do UEFI HTTP Boot in bhyve, so I've rebased the bhyve firmware up to the latest upstream tag, edk2-stable201903. You can

Re: Updating uefi-edk2-bhyve

2019-03-21 Thread Rebecca Cran via freebsd-virtualization
On 3/21/19 6:44 PM, D Scott Phillips wrote: Hi freebsd-virtualization, Recently I wanted to be able to do UEFI HTTP Boot in bhyve, so I've rebased the bhyve firmware up to the latest upstream tag, edk2-stable201903. You can find the firmware here: https://gitlab.com/scott-ph/edk2/tree/wip/2019-

Re: Updating uefi-edk2-bhyve

2019-03-21 Thread Marcelo Araujo
Em sex, 22 de mar de 2019 às 08:45, D Scott Phillips < d.scott.phill...@intel.com> escreveu: > Hi freebsd-virtualization, > > Recently I wanted to be able to do UEFI HTTP Boot in bhyve, so I've > rebased the bhyve firmware up to the latest upstream tag, > edk2-stable201903. You can find the firmwa

Re: Updating uefi-edk2-bhyve

2019-03-21 Thread Rebecca Cran via freebsd-virtualization
This is awesome! Updating to a newer edk2 has been on my todo list for a while. However I don’t see a BhyvePkg in the first link you posted. And could you confirm that you got HTTP boot working on FreeBSD as well as Linux and Windows? I thought loader changes were needed for that to work, to ena