[MinnowBoard] elinux-MinnowBoard Digest, Vol 10, Issue 12

vijaikumar k vijaikumar.k at mistralsolutions.com
Mon Jun 16 09:25:28 UTC 2014


Hi Jack,
            Do the following changes in the Minnowboard BDS to enable
HotKey functionality
*File:* BdsUiLib.c
*File Path:* MinnowBoardPkg/Bds/
*Line No:* 1311 (approximate)
*Function Name:* BdsUiInteractiveMenus()
Comment out the following line
/*
if (PcdGetBool (PcdEnableFastBoot)  && (BootMode ==
BOOT_WITH_MINIMAL_CONFIGURATION || BootMode ==
BOOT_ASSUMING_NO_CONFIGURATION_CHANGES)) {
    if (gPickList != NULL) {
      mEfiBootCallBack (gPickList[0].BootOption);
    }
  }
*/
In Platform.dsc file Set "PcdPlatformBootTimeOut" pcd to 2 seconds.
This might solve your issue.
You may now press Esc key to interrupt the boot. + / - keys can be used to
navigate through the available boot list.
 If you don't press the Esc Key, the Boot Menu will be visible to you, but
only for 2 Seconds as set in PcdPlatformBootTimeOut.

Regards
Vijai Kumar K


On Sat, Apr 26, 2014 at 5:30 PM, <
elinux-minnowboard-request at lists.elinux.org> wrote:

> Send elinux-MinnowBoard mailing list submissions to
>         elinux-minnowboard at lists.elinux.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> or, via email, send a message with subject or body 'help' to
>         elinux-minnowboard-request at lists.elinux.org
>
> You can reach the person managing the list at
>         elinux-minnowboard-owner at lists.elinux.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of elinux-MinnowBoard digest..."
>
>
> Today's Topics:
>
>    1. Re: BIOS/UEFI/Firmware settings hotkey? (Darren Hart)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 25 Apr 2014 08:56:02 -0700
> From: Darren Hart <dvhart at linux.intel.com>
> To: MinnowBoard Development and Community Discussion
>         <elinux-minnowboard at lists.elinux.org>
> Subject: Re: [MinnowBoard] BIOS/UEFI/Firmware settings hotkey?
> Message-ID: <CF7FD370.888C2%dvhart at linux.intel.com>
> Content-Type: text/plain;       charset="US-ASCII"
>
> We have a firmware category for minnow board bugs in the yoctoproject
> bugzilla. Would you be willing to add a bug for this? I'll triage it and
> try to get it to the right people.
>
> On 4/24/14, 16:03, "Jack Black" <theworkaccount2 at gmail.com> wrote:
>
> >Correct
> >
> >I did try hitting + and - a bunch while booting but all I ended up
> >with is + and - on the shell prompt.
> >
> >Also it appears I can get to that menu by doing exit two consecutive
> >times from the shell (it's therefore possible that the menu existed
> >pre-1.0 and that I just never bothered to exit twice in a row.) The
> >reason I'm still searching for the magic key to break into a boot menu
> >is because even hitting esc a bunch won't drop me to the EFI shell
> >when booting Windows 8. There you have to either do the special
> >settings dance from within windows (which I've seen before but haven't
> >re-looked up), or you take the simpler route of just unplugging the HD
> >and waiting for the shell/boot menu.
> >
> >I'm done for the day but tomorrow I will try messing with bcfg to see
> >if I can disable the fastboot to make it maybe just stall at the boot
> >menu so that I always have to press enter (or hopefully it would
> >timeout after 5 sec) to then boot into the first entry. (The yocto
> >document is interesting because it says "Select the Shell from the EFI
> >boot menu, or allow it to timeout and start the shell automatically."
> >which implies I should be seeing the boot menu before it goes into the
> >shell which is definitely not the case. I see "Connecting all devices"
> >and then straight to shell (or win 8 boot) no matter what keys I
> >hammer on.)
> >
> >JB
> >
> >
> >
> >On Thu, Apr 24, 2014 at 3:47 PM, Neill Kapron <nkapron at gmail.com> wrote:
> >> 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=mast
> >>>er#
> >>> 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
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
>
>
> End of elinux-MinnowBoard Digest, Vol 10, Issue 12
> **************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20140616/ad7bf5a5/attachment-0001.html>


More information about the elinux-MinnowBoard mailing list