Re: UEFI Payload Issue

Christian Walter


we do have a updated fork here:

This should be more stable than the current one - also we have at least build testing for the UEFIPayload branch.



On 2/6/21 9:56 AM, You, Benjamin wrote:

If HPET works but 8254 does not work, further investigation could be on 8254
settings made by Coreboot.


- ben

-----Original Message-----
From: You, Benjamin
Sent: Saturday, February 6, 2021 4:41 PM
To: Ma, Maurice <>; Laszlo Ersek <>;;
Cc: Dong, Guo <>
Subject: RE: [edk2-discuss] UEFI Payload Issue


Yes, timer could be a cause for this hang. Old Payload has the option of
USE_HPET_TIMER - you could try setting this to TRUE to use HPET instead of


- ben

-----Original Message-----
From: Ma, Maurice <>
Sent: Thursday, February 4, 2021 11:26 PM
To: Laszlo Ersek <>;;
Cc: Dong, Guo <>; You, Benjamin
Subject: RE: [edk2-discuss] UEFI Payload Issue

UEFI Payload from EDK2 2017 seems to be pretty old.

Below are some of my recommendations:
- Enable serial debug console in UEFI payload so that you don't depend on USB
KB for input. Once you booted to Shell using serial console, further info can be
collected to root cause USB issue.
- If you saw the hang at "[Bds]BdsWait(3)..Zzzz...", it could be timer related
I saw some instances where the ACPI timer base was reported incorrectly to
UEFI payload and ACPI timer base was wrong. That would cause the dead
in delay function.
- Try out the latest UefiPayload in EDK2 to see if it works for you.


-----Original Message-----
From: Laszlo Ersek <>
Sent: Thursday, February 4, 2021 1:58
Cc: Ma, Maurice <>; Dong, Guo
<>; You, Benjamin <>
Subject: Re: [edk2-discuss] UEFI Payload Issue

On 02/02/21 13:16, wrote:

I have generated a payload from edk2 2017. When i booting with payload i
got struck after the below message. The keyboard is not detecting so i can't
press any key. Mouse got powered up. Even i exchanged the usb ports but
still keyboard not detecting. I am using coreboot and edk2 payload. I am
using Coffeelake processor. If i use the uefi payload binary from Intel.
Everything is working and able to select device in the boot manager and load
LastBlock : 4FFFFF
[0m [37m [40m
F2 or Down to enter Boot Manager Menu.
ENTER to boot directly.

[Bds]OsIndication: 0000000000000000
[Bds]=============Begin Load Options Dumping ...=============
SysPrep Options:
Boot Options:
Boot0000: UiApp 0x0109
Boot0001: UEFI SM659GXC CDZ A0519022617060000001 0x0001
Boot0002: UEFI Shell 0x0001
PlatformRecovery Options:
PlatformRecovery0000: Default PlatformRecovery 0x0001
[Bds]=============End Load Options Dumping=============
Adding the UefiPayloadPkg folks to the CC list.


*Christian Walter*
*Head of Firmware Development / Cyber Security *

9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany
Phone: _+49 234 68 94 188 <tel:+492346894188>_
Mobile: _+49 176 70845047 <tel:+4917670845047>_

Sitz der Gesellschaft: Bochum
Handelsregister: Amtsgericht Bochum, HRB 17519
Geschäftsführung: Sebastian Deutsch, Eray Basar

Datenschutzhinweise nach Art. 13 DSGVO <>

Join to automatically receive all group messages.