public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ruiyu" <ruiyu.ni@intel.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: falling back to UiApp?
Date: Thu, 27 Apr 2017 05:40:22 +0000	[thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B93AF36@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <43c8bb1a-3f04-e133-211f-0601d6ec9078@redhat.com>

Laszlo,
I believe the "Unable to boot" message was added by intention.

I just checked the UEFI Spec Boot Manager chapter again, still I didn't
find any wording to say what to do, when boot and recovery failure
happens.

Putting "Unable to boot" message there is to tell platform developer
that system is not in good state (no bootable option), helpful for debugging.

But rethinking about that, maybe I could also print a user-visible
string "Unable to boot, press any key to enter Boot Manager Menu." to
STD console and redirect to Boot Manager Menu when any key is received.

I still don't like to silently show UI when this failure happens.

What's your opinion?
If you agree, could you please help submit a Bugzilla tracker?

Thanks/Ray

> -----Original Message-----
> From: Laszlo Ersek [mailto:lersek@redhat.com]
> Sent: Wednesday, April 26, 2017 10:23 PM
> To: Ni, Ruiyu <ruiyu.ni@intel.com>
> Cc: edk2-devel-01 <edk2-devel@lists.01.org>
> Subject: falling back to UiApp?
> 
> Hi Ray,
> 
> the UiApp application is added to the UEFI boot order automatically, but it is not
> invoked automatically, even if BDS gives up and hangs with
> 
>   [Bds] Unable to boot!
> 
> For example, consider the following:
> - no UEFI bootable application available anywhere in the system,
> - ... not even for the default platform recovery option,
> - no shell is built into the firmware image,
> - but UiApp is available in the firmware image.
> 
> Is it possible to jump to UiApp in this case, rather than hanging with
> 
>   [Bds] Unable to boot!
> 
> ?
> 
> Can (or should) platform code do something about this?
> 
> Or would this conflict with the UEFI spec either way?
> 
> Thank you,
> Laszlo

  reply	other threads:[~2017-04-27  5:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26 14:23 falling back to UiApp? Laszlo Ersek
2017-04-27  5:40 ` Ni, Ruiyu [this message]
2017-04-27  5:50   ` Andrew Fish
2017-04-27  9:10   ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=734D49CCEBEEF84792F5B80ED585239D5B93AF36@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox