Update to the sysutils/uefi-edk2-bhyve and related ports

MR mr at freebsd.org
Sun Dec 6 09:15:56 UTC 2020


Zitat von Rebecca Cran <rebecca at bsdio.com>:

> On 12/5/2020 10:20 AM, MR wrote:
>
>> With the current UEFI images the VM starts.
>>
>> Can this be debugged further?
>
> Can you see if anything gets displayed on /dev/nmdm-w10l.1B ?
>
> I don't know if other applications like screen allow this, but using  
> `tio` from https://tio.github.io/ (it's in FreeBSD Ports -  
> comms/tio) you can connect to the device before it's active.
>
> If you don't see any output and you're using the RELEASE firmware I  
> provided, could you try again with the DEBUG version?
>

RELEASE prints nothing.

DEBUG gives:

[tio 10:11:42] tio v1.32
[tio 10:11:42] Press ctrl-t q to quit
[tio 10:12:19] Connected
SecCoreStartupWithStack(0xFFFCC000, 0x820000)
Register PPI Notify: DCD0BE23-9586-40F4-B643-06522CED4EDE
Install PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3
Install PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A
The 0th FV start address is 0x00000820000, size is 0x000E0000, handle  
is 0x820000
Register PPI Notify: 49EDB1C1-BF21-4761-BB12-EB0031AABB39
Register PPI Notify: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38
Install PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6
Install PPI: DBE23AA9-A345-4B97-85B6-B226F1617389
DiscoverPeimsAndOrderWithApriori(): Found 0x6 PEI FFS files in the 0th FV
Loading PEIM 9B3ADA4F-AE56-4C24-8DEA-F03B7558AE50
Loading PEIM at 0x0000082B840 EntryPoint=0x0000082E855 PcdPeim.efi
Install PPI: 06E81C58-4AD7-44BC-8390-F10265F72480
Install PPI: 01F34D25-4DE2-23AD-3FF3-36353FF323F1
Install PPI: 4D8B155B-C059-4C8F-8926-06FD4331DB8A
Install PPI: A60C6B59-E459-425D-9C69-0BCC9CB27D81
Register PPI Notify: 605EA650-C65C-42E1-BA80-91A52AB618C6
Loading PEIM A3610442-E69F-4DF3-82CA-2360C4031A23
Loading PEIM at 0x000008300C0 EntryPoint=0x000008313C5  
ReportStatusCodeRouterPei.efi
Install PPI: 0065D394-9951-4144-82A3-0AFC8579C251
Install PPI: 229832D3-7A30-4B36-B827-F40CB7D45436
Loading PEIM 9D225237-FA01-464C-A949-BAABC02D31D0
Loading PEIM at 0x00000831FC0 EntryPoint=0x00000833130  
StatusCodeHandlerPei.efi
Loading PEIM AA89D903-345B-4AB2-9ABF-030B5EFB5D50
Loading PEIM at 0x00000833EC0 EntryPoint=0x00000837C3B PlatformPei.efi
Platform PEIM Loaded
CMOS:
00: 19 00 12 00 09 00 01 06 12 20 20 02 00 80 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 20 00 00 BF 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 40 01 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Install PPI: 7408D748-FC8C-4EE6-9288-C4BEC092A410
GetFirstNonAddress: Pci64Base=0x800000000 Pci64Size=0x800000000
PublishPeiMemory: mPhysMemAddressWidth=36 PeiMemoryCap=65800 KB
PeiInstallPeiMemory MemoryBegin 0xBBFBE000, MemoryLength 0x4042000
QemuInitializeRam called
Reserved variable store memory: 0xBFF7C000; size: 528kb
Platform PEI Firmware Volume Initialization
Install PPI: 49EDB1C1-BF21-4761-BB12-EB0031AABB39
Notify: PPI Guid: 49EDB1C1-BF21-4761-BB12-EB0031AABB39, Peim notify  
entry point: 825B97
The 1th FV start address is 0x00000900000, size is 0x00B00000, handle  
is 0x900000
Register PPI Notify: EE16160A-E8BE-47A6-820A-C6900DB0250A
Temp Stack : BaseAddress=0x818000 Length=0x8000
Temp Heap  : BaseAddress=0x810000 Length=0x8000
Total temporary memory:    65536 bytes.
   temporary memory stack ever used:       4648 bytes.
   temporary memory heap used for HobList: 6416 bytes.
   temporary memory heap occupied by memory pages: 0 bytes.
Memory Allocation 0x00000004 0x806000 - 0x806FFF
Memory Allocation 0x00000006 0xBFF7C000 - 0xBFFFFFFF
Memory Allocation 0x00000004 0x820000 - 0x8FFFFF
Memory Allocation 0x00000004 0x900000 - 0x13FFFFF
Old Stack size 32768, New stack size 131072
Stack Hob: BaseAddress=0xBBFBE000 Length=0x20000
Heap Offset = 0xBB7CE000 Stack Offset = 0xBB7BE000
TemporaryRamMigration(0x810000, 0xBBFD6000, 0x10000)
Loading PEIM 52C05B14-0B98-496C-BC3B-04B50211D680
Loading PEIM at 0x000BFF70000 EntryPoint=0x000BFF77CD8 PeiCore.efi
Reinstall PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3
Reinstall PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A
Reinstall PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6
Install PPI: F894643D-C449-42D1-8EA8-85BDD8C65BDE
Loading PEIM 86D70125-BAA3-4296-A62F-602BEBBB9081
Loading PEIM at 0x000BFF6B000 EntryPoint=0x000BFF6DF31 DxeIpl.efi
Install PPI: 1A36E4E7-FAB6-476A-8E75-695A0576FDD7
Install PPI: 0AE8CE5D-E448-4437-A8D7-EBF5F194F731
Loading PEIM 89E549B0-7CFE-449D-9BA3-10D8B2312D71
Loading PEIM at 0x000BFF67000 EntryPoint=0x000BFF69335 S3Resume2Pei.efi
Install PPI: 6D582DBC-DB85-4514-8FCC-5ADF6227B147
DiscoverPeimsAndOrderWithApriori(): Found 0x0 PEI FFS files in the 1th FV
DXE IPL Entry
Loading PEIM D6A2CB7F-6A18-4E2F-B43B-9920A733700A
Loading PEIM at 0x000BFF44000 EntryPoint=0x000BFF4E0C3 DxeCore.efi
Loading DXE CORE at 0x000BFF44000 EntryPoint=0x000BFF4E0C3
AddressBits=36 5LevelPaging=0 1GPage=0
Pml5=1 Pml4=1 Pdp=64 TotalPage=66
Install PPI: 605EA650-C65C-42E1-BA80-91A52AB618C6
Notify: PPI Guid: 605EA650-C65C-42E1-BA80-91A52AB618C6, Peim notify  
entry point: 82D7F9
CoreInitializeMemoryServices:
   BaseAddress - 0xBBFE0000 Length - 0x3C20000 MinimalMemorySizeNeeded  
- 0x10F4000
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B BFF64A88
ProtectUefiImageCommon - 0xBFF64A88
   - 0x00000000BFF44000 - 0x0000000000023000
DxeMain: MemoryBaseAddress=0xBBFE0000 MemoryLength=0x3C20000
HOBLIST address in DXE = 0xBFA17018
Memory Allocation 0x00000004 0x806000 - 0x806FFF
Memory Allocation 0x00000006 0xBFF7C000 - 0xBFFFFFFF
Memory Allocation 0x00000004 0x820000 - 0x8FFFFF
Memory Allocation 0x00000004 0x900000 - 0x13FFFFF
Memory Allocation 0x00000004 0xBFF24000 - 0xBFF43FFF
Memory Allocation 0x00000003 0xBFF70000 - 0xBFF7BFFF
Memory Allocation 0x00000003 0xBFF6B000 - 0xBFF6FFFF
Memory Allocation 0x00000003 0xBFF67000 - 0xBFF6AFFF
Memory Allocation 0x00000003 0xBFF44000 - 0xBFF66FFF
Memory Allocation 0x00000003 0xBFF44000 - 0xBFF66FFF
Memory Allocation 0x00000004 0xBFF24000 - 0xBFF43FFF
Memory Allocation 0x00000004 0xBFC00000 - 0xBFDFFFFF
Memory Allocation 0x00000007 0xBFE00000 - 0xBFF23FFF
Memory Allocation 0x00000004 0xBBFBE000 - 0xBBFDDFFF
FV Hob            0x900000 - 0x13FFFFF
InstallProtocolInterface: D8117CFE-94A6-11D4-9A3A-0090273FC14D BFF63C70
InstallProtocolInterface: 8F644FA9-E850-4DB1-9CE2-0B44698E8DA4 BFA13D30
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B BFA13098
InstallProtocolInterface: 220E73B6-6BDB-4413-8405-B974B108619A BFA13630
InstallProtocolInterface: EE4E5898-3914-4259-9D6E-DC7BD79403CF BFF63930
Loading driver 9B680FCE-AD6B-4F3A-B60B-F59899003443
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B BF777BC0
Loading driver at 0x000BFB90000 EntryPoint=0x000BFB97B2E DevicePathDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF BF777118
ProtectUefiImageCommon - 0xBF777BC0
   - 0x00000000BFB90000 - 0x000000000000AF40
InstallProtocolInterface: 0379BE4E-D706-437D-B037-EDB82FB772A4 BFB9AC00
InstallProtocolInterface: 8B843E20-8132-4852-90CC-551A4E4A7F1C BFB9ABE0
InstallProtocolInterface: 05C99A21-C70F-4AD2-8A5F-35DF3343F51E BFB9ABC0
Loading driver 80CF7257-87AB-47F9-A3FE-D50B76D89541
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B BF7772C0
Loading driver at 0x000BFB8A000 EntryPoint=0x000BFB8D7C1 PcdDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF BF770018
ProtectUefiImageCommon - 0xBF7772C0
   - 0x00000000BFB8A000 - 0x0000000000005900
InstallProtocolInterface: 11B34006-D85B-4D0A-A290-D5A571310EF7 BFB8F5C0
InstallProtocolInterface: 13A3F0F6-264A-3EF0-F2E0-DEC512342F34 BFB8F520
InstallProtocolInterface: 5BE40F57-FA68-4610-BBBF-E9C5FCDAD365 BFB8F4F0
InstallProtocolInterface: FD0F4478-0EFD-461D-BA2D-E58C45FD5F5E BFB8F4D0
Loading driver 2EC9DA37-EE35-4DE9-86C5-6D9A81DC38A7
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B BF776B40
Loading driver at 0x000BFB87000 EntryPoint=0x000BFB88998 AmdSevDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF BF770B18
ProtectUefiImageCommon - 0xBF776B40
   - 0x00000000BFB87000 - 0x0000000000002D00
Error: Image at 000BFB87000 start failed: Unsupported
Loading driver 733CBAC2-B23F-4B92-BC8E-FB01CE5907B7
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B BF776B40
Loading driver at 0x000BFBC3000 EntryPoint=0x000BFBC5B38  
FvbServicesRuntimeDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF BF776098
ProtectUefiImageCommon - 0xBF776B40
   - 0x00000000BFBC3000 - 0x0000000000008000
QEMU Flash: Attempting flash detection at FFC00010



-- 
greetings
---
mike mr at freebsd.org



More information about the freebsd-virtualization mailing list