public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Cameron Craig <Cameron.Craig@exterity.com>
To: "'You, Benjamin'" <benjamin.you@intel.com>,
	"'edk2-devel@lists.01.org'" <edk2-devel@lists.01.org>
Subject: Re: Enabling boot menu via serial & PXE boot in CorebootPayloadPkg
Date: Mon, 4 Dec 2017 15:29:26 +0000	[thread overview]
Message-ID: <be78d11b78724033944981c06cf20ed7@exterity.com> (raw)
In-Reply-To: <E748835C6D8DB54B8E8AF33091ECC57C62132984@SHSMSX103.ccr.corp.intel.com>

Hi Benjamin,

>Hi Cameron,
>
>> >I get serial output from edk2 with the release build and the debug build.
>> >However this serial output does not include the boot menu, I just get
>> >progress and error codes (and debug messages in debug mode).
>> >I have attached a runtime log of a recent debug build.
>
>From your log, I cannot see the below prompt message:
>
>"F2 or Down      to enter Boot Manager Menu.
>ENTER           to boot directly."
>
>With my system, there is above message shown in serial. When I press F2
>upon the message, the boot manager is shown.
>
>The message is printed in PlatformBootManagerAfterConsole() in
>CorebootPayloadPkg\Library\PlatformBootManagerLib\PlatformBootManage
>r.c.
>Not sure what went wrong, but you might add some debug message to trace
>the execution flow.
>
>Or, have you been able to boot to UEFI Shell? If yes, you may type "exit"
>from the Shell prompt, and boot manager should show up.
>
>Thanks,
>
>- ben

I managed to work out the problem.
Coreboot applies patches to the edk2 source after the git fetch, one of these changes the BdsDxe provider from MdeModulePkg to IntelFrameworkModulePkg [1].

Changing it back to MdeModulePkg fixed the issue.

[1] https://github.com/coreboot/coreboot/blob/master/payloads/external/tianocore/patches/02_CorebootPayloadPkg_bds.patch

Thanks again for your help,
Cameron


Cameron Craig | Graduate Software Engineer | Exterity Limited
tel: +44 1383 828 250 | fax:  | mobile:
e: Cameron.Craig@exterity.com | w: www.exterity.com



______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

      reply	other threads:[~2017-12-04 15:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-24  9:15 Enabling boot menu via serial & PXE boot in CorebootPayloadPkg Cameron Craig
2017-11-25 15:25 ` You, Benjamin
2017-11-25 16:21   ` You, Benjamin
2017-11-30 14:11     ` Cameron Craig
2017-12-01  0:31       ` You, Benjamin
2017-12-01 10:23         ` Cameron Craig
2017-12-01 10:26           ` Cameron Craig
2017-12-02  3:02             ` You, Benjamin
2017-12-04 15:29               ` Cameron Craig [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=be78d11b78724033944981c06cf20ed7@exterity.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