[MinnowBoard] BIOS/UEFI/Firmware settings hotkey?

Neill Kapron nkapron at gmail.com
Thu Apr 24 19:47:52 UTC 2014


All,

I don't think this solves Jack's issue, as he does not want to boot into
the UiApp every boot, but instead he is looking for a way to enter the app
on select boots without first booting to the shell then exiting to the boot
menu.

This is why I suggest trying to spam the '+' or '-' key to see if it brings
up the boot menu before booting to the shell.

Neill




On Thu, Apr 24, 2014 at 1:42 PM, Darren Hart <dvhart at linux.intel.com> wrote:

> This is documented here:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-minnow/tree/README?h=master#
> n181
>
>
>
> On 4/24/14, 12:31, "Amaya, Elmer A" <elmer.a.amaya at intel.com> wrote:
>
> >Hi  Jack,
> >
> >Pls use the "bcfg" shell command to change the boot order - that command
> >modifies the UEFI NVRAM entries which should allow you to change the boot
> >entries or driver options.
> >
> >Quick tutorial:
> >
> >At the UEFI Shell prompt, enter the following shell command to display
> >current boot entries:
> >
> >bcfg boot dump -v
> >
> >In my MB, it shows the following boot options:
> >
> >Option: 00. Variable: Boot0000
> >  Desc    - Shell
> >  DevPath - Fv(07F426A2-5F6B-4ED5-9B35-6FF191BFB4DD)/Shell
> >  Optional- N
> >Option: 01. Variable: Boot0001
> >  Desc    - UiApp
> >  DevPath - Fv(30D9ED01-38D2-418A-90D5-C561750BF80F)/UiApp
> >  Optional- N
> >Option: 02. Variable: Boot0002
> >  Desc    - EFI USB Device
> >  DevPath -
> >PciRoot(0x0)/Pci(0x17,0x0)/Pci(0x0,0x0)/Pci(0x8,0x3)/USB(0x0,0x0)/HD(1,MBR
> >,0x00000000,0x40,0x3BAFC0)
> >  Optional- N
> >
> >Now, to change the boot order and have the "UiApp" as first option,
> >simply move it to the top.  I used the following command to do so:
> >
> >bcfg boot mv 1 0
> >
> >Pls let me know if you have any questions.
> >
> >Thanks,
> >Elmer
> >
> >-----Original Message-----
> >From: elinux-minnowboard-bounces at lists.elinux.org
> >[mailto:elinux-minnowboard-bounces at lists.elinux.org] On Behalf Of Jack
> >Black
> >Sent: Thursday, April 24, 2014 11:58 AM
> >To: MinnowBoard Development and Community Discussion
> >Subject: Re: [MinnowBoard] BIOS/UEFI/Firmware settings hotkey?
> >
> >Thanks Neill.
> >
> >And Dave you're extra incorrect (I don't know why someone from the
> >company that's making minnows would argue that any UI is evidence of
> >legacy BIOS :/). After I updated the minnow to firmware 1.0 and unplugged
> >my HD (or if I do some sort of weird combo of typing exit then hitting
> >esc then typing exit from the shell) I now have a boot menu option which
> >lists "shell", or "UiApp" which takes me into the expected settings UI
> >(and it even has options for enrolling keys for secureboot and such!), or
> >my bootable HD, bootable USB, or boot from network (IPv4 and IPv6).
> >
> >So my question kind of still remains: is there anything I can mash to
> >guarantee I get directly to that menu without having to go through the
> >shell exit/esc rigamarole?
> >
> >
> >Much appreciated,
> >JB
> >
> >On Wed, Apr 23, 2014 at 7:59 PM, Neill Kapron <nkapron at gmail.com> wrote:
> >> So after some examination, Intel has included the simple BDS in
> >> MinnowBoardPkg/Bds/ instead of the full BDS in
> >> IntelFrameworkModulePkg/Universal/BdsDxe/
> >>
> >> It would appear that the keys that are enabled are '+', '-', 'Esc' and
> >>'e'.
> >>
> >> I would assume + or - draws a short boot device selection menu.
> >>
> >> '+'  Selects the boot device earlier in the list, '-' Selects the boot
> >> device later in the list, 'Esc' and 'e' leave the list and clear the
> >> display, booting from the currently selected boot device.
> >>
> >> I think it would be possible to build a firmware image that enables
> >> the more useful setup menu, but I do not have a minnowboard yet to test
> >>on.
> >>
> >> Hopefully this helps,
> >> Neill
> >>
> >>
> >>
> >> On Wed, Apr 23, 2014 at 3:40 PM, Neill Kapron <nkapron at gmail.com>
> wrote:
> >>>
> >>> Dave,
> >>>
> >>> You are incorrect. There is still support for graphical setup
> >>> browsers in UEFI. Any modern UEFI-based PC motherboard is a great
> >>> example of this. In fact, most native UEFI browsers are much nicer
> >>> than legacy bios implementations.  (Decent graphics and mouse
> >>> support.)
> >>>
> >>> I'm looking through the source tree now, and have identified that
> >>> Intel has left code for boot device management and configuration in
> >>> the tree- see the comment below from
> >>> /IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
> >>>
> >>>
> >>>     //
> >>>     // If gCallbackKey is greater than 1 and less or equal to 5,
> >>>     // it will launch configuration utilities.
> >>>     // 2 = set language
> >>>     // 3 = boot manager
> >>>     // 4 = device manager
> >>>     // 5 = boot maintenance manager
> >>>     //
> >>>
> >>> I do not have a minnowboard to test on, and they may have neutered it
> >>> somewhere, but am looking for the hotkeys currently.
> >>>
> >>> Thanks,
> >>> Neill
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Apr 23, 2014 at 3:18 PM, David Anders <danders at circuitco.com>
> >>> wrote:
> >>>>
> >>>> Jack,
> >>>>
> >>>>
> >>>> On 04/23/2014 03:59 PM, Jack Black wrote:
> >>>>>
> >>>>> Other Intel developer boards I've used had both the UEFI shell and
> >>>>> a settings page, where when you would type "exit" from the shell,
> >>>>> it would drop you to the setting UI where you could do things like
> >>>>> change UEFI secure boot keys, change boot order, etc. I take it
> >>>>> then that the minnow firmware lacks this? (I know it lacks secure
> >>>>> boot, but I'm wondering if it completely lacks a firmware setup
> >>>>> options screen...)
> >>>>
> >>>>
> >>>> what you are referring to is called "Legacy BIOS". Legcy BIOS
> >>>> options can be included as part of the UEFI build however based on
> >>>> the minnowboard being targeted more at embedded application space,
> >>>> the decision was made not to include Legacy BIOS functionality.
> >>>>
> >>>> most "PCs" current do include the Legacy BIOS functionality, but
> >>>> going forward most new x86 based designs will only include the core
> >>>> UEFI support without Legacy BIOS...
> >>>>
> >>>> Dave
> >>>>
> >>>>
> >>>>> JB
> >>>>>
> >>>>> On Wed, Apr 23, 2014 at 4:22 PM, David Anders
> >>>>> <danders at circuitco.com>
> >>>>> wrote:
> >>>>>>
> >>>>>> JB,
> >>>>>>
> >>>>>> UEFI works very differently that what traditional BIOS features
> >>>>>> most people are familiar with.
> >>>>>>
> >>>>>> as you boot, you can stop the boot process and drop into a UEFI
> >>>>>>shell.
> >>>>>> this
> >>>>>> shell is very similar to a minimal DOS implementation
> >>>>>>
> >>>>>> https://software.intel.com/en-us/articles/efi-shells-and-scripting
> >>>>>>
> >>>>>> you can view/edit settings from there...
> >>>>>>
> >>>>>> Dave
> >>>>>>
> >>>>>>
> >>>>>> On 04/23/2014 03:19 PM, Jack Black wrote:
> >>>>>>>
> >>>>>>> (just called it BIOS to help future googlers ;))
> >>>>>>>
> >>>>>>> Is there a way to get into the UEFI settings on a stock
> >>>>>>> minnowboard? I mashed esc and F9-F12 to no avail. I would like to
> >>>>>>> see what options are exposed, and also boot from a USB CD for
> >>>>>>>installation to a HD.
> >>>>>>>
> >>>>>>> Much appreciated,
> >>>>>>> JB
> >>>>>>> _______________________________________________
> >>>>>>> elinux-MinnowBoard mailing list
> >>>>>>> elinux-MinnowBoard at lists.elinux.org
> >>>>>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> elinux-MinnowBoard mailing list
> >>>>>> elinux-MinnowBoard at lists.elinux.org
> >>>>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >>>>>
> >>>>> _______________________________________________
> >>>>> elinux-MinnowBoard mailing list
> >>>>> elinux-MinnowBoard at lists.elinux.org
> >>>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> elinux-MinnowBoard mailing list
> >>>> elinux-MinnowBoard at lists.elinux.org
> >>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> elinux-MinnowBoard mailing list
> >> elinux-MinnowBoard at lists.elinux.org
> >> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >>
> >_______________________________________________
> >elinux-MinnowBoard mailing list
> >elinux-MinnowBoard at lists.elinux.org
> >http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >_______________________________________________
> >elinux-MinnowBoard mailing list
> >elinux-MinnowBoard at lists.elinux.org
> >http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >
>
>
> --
> Darren Hart                                     Open Source Technology
> Center
> darren.hart at intel.com                                       Intel
> Corporation
>
>
>
> _______________________________________________
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org
> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20140424/97660109/attachment-0001.html>


More information about the elinux-MinnowBoard mailing list