-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HelloUefi: Add 30 second stall (#120)
## Description This application is the simplest UEFI application possible, with no dependencies. These changes add a 30 second stall such that a platform may boot directly to this application and see "Hello UEFI!" with no need for a shell to run it (Such as ShellPkg). Futher This - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [X] Includes documentation? - readme.md ## How This Was Tested Ran on a physical machine, QemuQ35, built With GCC and VS2022 ## Integration Instructions <_Describe how these changes should be integrated. Use N/A if nothing is required._> --------- Co-authored-by: Michael Kubacki <[email protected]>
- Loading branch information
Showing
3 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Simple Bootable Media Example | ||
|
||
Barebones example of how to boot to an EFI Application with no dependencies. | ||
|
||
## Boot Directions | ||
|
||
1. Format a usb drive as FAT32 | ||
2. At the root of this usb drive create the following folders: `EFI/Boot/` | ||
3. Build and rename `HelloUefi.efi` as `boot<arch>.efi` and place at `EFI/BOOT/` | ||
|
||
* IA32 - `bootx86.efi` | ||
* AMD64 - `bootx64.efi` | ||
* AARCH64 - `bootaa64.efi` | ||
|
||
4. On your platform, boot into UEFI Menu and change the boot order to boot USB first | ||
5. Turn off your platform | ||
6. Plug in usb drive | ||
7. Reboot | ||
8. If successful, you should now see `Hello Uefi!` in the top left corner |