public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] OVMF vs ArmVirt: what to do when unable to boot (print a message or drop into UiApp)
@ 2025-06-15  2:44 Rebecca Cran
  2025-06-16 10:54 ` Gerd Hoffmann via groups.io
  0 siblings, 1 reply; 2+ messages in thread
From: Rebecca Cran @ 2025-06-15  2:44 UTC (permalink / raw)
  To: devel@edk2.groups.io, ardb+tianocore, Ruiyu Ni, Ray Ni

I've been testing some UI changes in OVMF and was surprised when instead 
of launching into the UiApp I got a message:


BdsDxe: No bootable option or device was found

BdsDxe: Press any key to enter the Boot Manager Menu


It looks like this behavior has existed since 2018, but since I often 
run ARM VMs I instead get the behavior added to

ArmVirtPkg in 2020 which is to drop into the UiApp. 
(https://patchew.org/EDK2/20200528091741.14610-1-ard.biesheuvel@arm.com/20200528091741.14610-3-ard.biesheuvel@arm.com/).


I was wondering if someone (Ard or Ray?) could explain why there's the 
difference: is it just people's preferences?

I'm currently working on improving the user experience of EDK2, so 
thinking about which might be better.


-- 

Rebecca



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121418): https://edk2.groups.io/g/devel/message/121418
Mute This Topic: https://groups.io/mt/113649673/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] OVMF vs ArmVirt: what to do when unable to boot (print a message or drop into UiApp)
  2025-06-15  2:44 [edk2-devel] OVMF vs ArmVirt: what to do when unable to boot (print a message or drop into UiApp) Rebecca Cran
@ 2025-06-16 10:54 ` Gerd Hoffmann via groups.io
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann via groups.io @ 2025-06-16 10:54 UTC (permalink / raw)
  To: devel, rebecca; +Cc: ardb+tianocore, Ruiyu Ni, Ray Ni

On Sat, Jun 14, 2025 at 08:44:35PM -0600, Rebecca Cran wrote:
> I've been testing some UI changes in OVMF and was surprised when instead of
> launching into the UiApp I got a message:
> 
> BdsDxe: No bootable option or device was found
> BdsDxe: Press any key to enter the Boot Manager Menu

ovmf prints the boot attempts to the console, via
OvmfPkg/Library/PlatformBmPrintScLib/, for better diagnoses of boot
failures.  This 'wait for keypress' allows to read those messages before
the screen gets overwritten by whatever is launched next.

recent update (new in 2025-05) is to launch the boot menu app instead of
efi shell or firmware setup app, so when something goes wrong the user
gets a menu with choices instead of being dropped somewhere
automatically.  This also allows the host (i.e. qemu) to allow or deny
access to efi shell / firmware setup.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121419): https://edk2.groups.io/g/devel/message/121419
Mute This Topic: https://groups.io/mt/113649673/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-16 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-15  2:44 [edk2-devel] OVMF vs ArmVirt: what to do when unable to boot (print a message or drop into UiApp) Rebecca Cran
2025-06-16 10:54 ` Gerd Hoffmann via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox