Skip to content
Permalink
Browse files
Platform/RaspberryPi: add UEFI Shell to boot manager menu
Take advantage of a recent change to the core EDK2 BDS code that
makes boot options with the LOAD_OPTION_ACTIVE flag cleared visible
in the boot manager menu, so that they can be selected manually
while never being considered for automatic booting (unless selected
specifically via BootNext)

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Pete Batard <pete@akeo.ie>
Tested-by: Pete Batard <pete@akeo.ie>
Acked-by: Leif Lindholm <leif@nuviainc.com>
  • Loading branch information
Ard Biesheuvel committed Jun 5, 2020
1 parent 42b86f6 commit 1c31eea8a3da6fee715200540c4425ca36007bea
Showing 1 changed file with 1 addition and 1 deletion.
@@ -460,7 +460,7 @@ PlatformRegisterOptionsAndKeys (
RemoveStaleBootOptions ();

ShellOption = PlatformRegisterFvBootOption (&gUefiShellFileGuid,
L"UEFI Shell", LOAD_OPTION_CATEGORY_APP);
L"UEFI Shell", 0);
if (ShellOption != -1) {
//
// F1 boots Shell.

2 comments on commit 1c31eea

@Pon22359
Copy link

@Pon22359 Pon22359 commented on 1c31eea Jun 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uu

@fabianmendes
Copy link

@fabianmendes fabianmendes commented on 1c31eea Jun 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I implement these updates to my Rapsberry Pi?

Please sign in to comment.