firmware-open icon indicating copy to clipboard operation
firmware-open copied to clipboard

UEFI menu timeout is not respected

Open pspacek opened this issue 4 years ago • 3 comments

Versions affected: 2021-04-07_236914e and also 2021-07-20_93c2809

Default EFI timeout is 2 seconds:

# efibootmgr 
BootCurrent: 0001
Timeout: 2 seconds

Changing timeout using efibootmgr command seems to succeed:

# efibootmgr --timeout 1
BootCurrent: 0001
Timeout: 1 seconds

... but the value seems to be ignored on boot, and is reset to 2 seconds:

# efibootmgr 
BootCurrent: 0001
Timeout: 2 seconds

pspacek avatar Aug 17 '21 07:08 pspacek

Looks like Timeout is useless in edk2 because it overwrites it with PcdPlatformBootTimeOut on every boot.

crawfxrd avatar Nov 10 '21 17:11 crawfxrd

Our current edk2 platform does not use the Timeout variable, as @crawfxrd mentioned. We might think about fixing this.

jackpot51 avatar Nov 10 '21 17:11 jackpot51

It just occurred to me that easiest way out might be removing the variable.

pspacek avatar Jan 10 '22 15:01 pspacek