public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: "Ni, Ruiyu" <ruiyu.ni@intel.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: falling back to UiApp?
Date: Thu, 27 Apr 2017 11:10:35 +0200	[thread overview]
Message-ID: <bd2060f9-ba7c-ef70-52e1-b6b6d6425ae4@redhat.com> (raw)
In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5B93AF36@SHSMSX104.ccr.corp.intel.com>

On 04/27/17 07:40, Ni, Ruiyu wrote:
> 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.

This sounds great!

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

I think your suggestion above is better than my original thought (which
was just a guess, really). The request I originally received was to show
"something" to the user on the screen, rather than just a (more or less
invisible) DEBUG message via DebugLib.

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

I filed <https://bugzilla.tianocore.org/show_bug.cgi?id=513>.

Thank you!
Laszlo

> 
>> -----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



      parent reply	other threads:[~2017-04-27  9:10 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
2017-04-27  5:50   ` Andrew Fish
2017-04-27  9:10   ` Laszlo Ersek [this message]

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=bd2060f9-ba7c-ef70-52e1-b6b6d6425ae4@redhat.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