Tim Crawford
168bf9514f
MdeModulePkg/BMM: Unregister F9 and F10 hotkeys
2020-07-21 12:42:46 -06:00
Tim Crawford
f17c7a730c
MdeModulePkg/BMM: Disable Commit/Discard buttons
2020-07-21 12:42:46 -06:00
Tim Crawford
e807bc67b6
MdeModulePkg/BMM: Save BootOrder on list update
2020-07-21 12:42:46 -06:00
Tim Crawford
de23a37ab2
MdeModulePkg/BMM: Add some debug logging
2020-07-21 12:42:46 -06:00
Jeremy Soller
e30d17a0d2
Implement SerialPortLib and PlatformHookLib with System76EcLib
2020-07-02 11:15:13 -07:00
Jeremy Soller
c6f1c4e654
Use 0x7600 as FRONT_PAGE_ID to prevent conflicts with Device Manager
2020-07-02 11:15:13 -07:00
Jeremy Soller
0e66ac75c3
Merge pull request #11 from system76/skip-console-vars
...
MdeModulePkg/EmuRuntimeDxe: skip console NVRAM variables
2020-06-22 15:49:31 -06:00
Matt DeVillier
e10ad1c874
MdeModulePkg/EmuRuntimeDxe: skip console NVRAM variables
...
Tianocore currently reads/writes a lot of NVRAM variables that
don't actually need to be saved. Occasionally some, specifically
related to the graphical/serial consoles, can become corrupted,
leading to a bricked device. To avoid this, temporarily restrict
the reading/writing of variables to skip console related ones
(starting with 'Con') until a better solution can be found.
Test: build/boot google/eve, inject "bad" NVRAM data, observe
device boots normally instead of hanging with no display detected.
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com >
2020-06-22 09:37:18 -06:00
Jeremy Soller
e3e4f6ddd5
Add EXT4 and NTFS drivers
2020-06-11 11:10:19 -06:00
Tim Crawford
e61bb9222c
MdeModulePkg/BM: Initialize variable before use
2020-05-20 16:26:41 -06:00
Matt DeVillier
8222473c5d
MdeModulePkg: load boot logo into BGRT table
...
This is a shoehorned-in implementation of an ACPI BGRT
table, ported pretty much directly from the version used
under CorebootPayloadPkg.
EDK2 provides a facility to do this already, but it assumes
the ACPI tables already exist as EFI structures, so would need
to write code to populate those using the tables already in RAM
created by coreboot. This seemed like the easier option ATM.
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com >
2020-04-27 10:34:28 -06:00
ReddestDream
d52c0b860b
BlSupportPei: prevent lower coreboot table from being overwritten
...
Exclude the bottom 4kb from being included in System Memory HoB
2020-04-17 14:58:30 -06:00
Tim Crawford
4984cdcb36
UefiPayloadPkg: Add library for logging to EC
...
Make use of the SMFI command interface to forward logs from edk2 to
System76 EC.
2020-04-17 10:45:17 -06:00
Tim Crawford
331d92a8ba
UefiPayloadPkg: Add PCI support from DuetPkg
...
Skip PCI enumeration, which is already handled by Coreboot, by using
PciBusNoEnumerationDxe and PciRootBridgeNoEnumerationDxe from the
deleted DuetPkg.
2020-04-14 09:20:45 -06:00
Tim Crawford
5bbb149f55
UefiPayloadPkg: Reduce timeout to 2s
...
Current firmware does not honor PcdPlatformBootTimeOut and hard-codes a
timeout of 2s.
2020-04-13 13:01:31 -06:00
Tim Crawford
f4424abfe9
UefiPayloadPkg: Use EmuRuntimeDxe
2020-04-10 08:01:33 -06:00
Jeremy Soller
9a25338c4a
MdeModulePkg/EmuRuntimeDxe: Delete SMMSTORE variable by appending it with size 0
2020-04-10 08:01:33 -06:00
Jeremy Soller
3cc1bab6db
MdeModulePkg/EmuRuntimeDxe: Ignore keysizes of 0
2020-04-10 08:01:33 -06:00
Patrick Rudolph
394dfa9302
MdeModulePkg/EmuRuntimeDxe: Check SMM store return codes
...
Check SMM store return code and return on error.
Fixes significant boot delay in case no SMM store is present.
This can happend quite often if the tianocore payload is build standalone
and patched into a coreboot ROM.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com >
2020-04-10 08:01:33 -06:00
Matt DeVillier
e32cbe0cab
WIP: MdeModulePkg/EmuRuntimeDxe: Sync data with coreboot SMMSTORE
...
changed: buffer size from 64k to 256k
Change-Id: I7f443b9f36612f79787e1b4b1075176a91107686
Signed-off-by: Patrick Georgi <pgeorgi@google.com >
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com >
2020-04-10 08:01:33 -06:00
Tim Crawford
5d853c79de
Revert "MdeModulePkg: Remove EmuVariableRuntimeDxe"
...
This reverts commit 4a7aa8d34a
.
2020-04-10 08:01:33 -06:00
Tim Crawford
71ce340b44
MdeModulePkg/UefiBootManager: Remove serial number from description
2020-04-10 08:01:33 -06:00
Tim Crawford
67c4655bea
MdeModulePkg/UefiBootManager: Remove 'UEFI' description prefix
2020-04-10 08:01:33 -06:00
Tim Crawford
ecaa4a790a
MdeModulePkg/UefiBootManager: Skip non-EFI devices
2020-04-10 08:01:33 -06:00
Tim Crawford
40b9ce83bf
MdeModulePkg/UiApp: Add warning if no bootable options found
2020-04-10 08:01:33 -06:00
Tim Crawford
b1bed529dc
MdeModulePkg/BM: Add warning if no bootable options found
2020-04-10 08:01:33 -06:00
Tim Crawford
f189c6191b
MdeModulePkg/BdsDxe: Forward any key for booting
...
Pressing escape will bring a user to the boot manager. Pressing any
other key will continue booting, forwarding the key to systemd-boot.
2020-04-10 08:01:33 -06:00
Tim Crawford
4249b8eb5b
MdeModulePkg: Wait for input on each boot failure
2020-04-10 08:01:33 -06:00
Tim Crawford
e458f432b6
UefiPayloadPkg: Clear screen on boot error
2020-04-10 08:01:33 -06:00
Tim Crawford
65bb2a9982
UefiPayloadPkg: Copy PlatformBootManagerUnableToBoot() from OvmfPkg
2020-04-10 08:01:33 -06:00
Tim Crawford
f0b1403f40
MdeModulePkg/BootMaintenanceManagerUiLib: Make it look like current BMM
2020-04-10 08:01:33 -06:00
Tim Crawford
98633064c4
MdeModulePkg/UiApp: Fix reporting model/version
...
Use the SMBIOS table directly instead of the EFI SMBIOS protocol.
2020-04-10 08:01:33 -06:00
Tim Crawford
65d7e5bfaa
MdeModulePkg/UiApp: Make it look like current FrontPage
2020-04-10 08:01:33 -06:00
Tim Crawford
9773fdd270
MdeModulePkg/BootManagerUiLib: Make it look like current BootMngr
2020-04-10 08:01:33 -06:00
Tim Crawford
f017dd1e1a
MdeModulePkg/BootLogoLib: Center logo 38.2% from top of screen
...
Use Microsoft's recommended positioning [1] for the boot logo.
> We recommend that the logo is placed with its center at 38.2% from the
> screen's top edge. This positioning is based on the golden ratio's
> visual aesthetics and matches the Windows 10 design proportions.
[1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/boot-screen-components#position-the-logo-during-post
2020-04-10 08:01:33 -06:00
Tim Crawford
2c57af8da4
MdeModulePkg/Logo: Use System76 boot logo
2020-04-10 08:01:33 -06:00
Tim Crawford
e3754a7631
UefiPayloadPkg: Show boot message as progress text
2020-04-10 08:01:33 -06:00
Tim Crawford
d04e564e95
UefiPayloadPkg: Enable boot logo
2020-04-10 08:01:33 -06:00
Tim Crawford
dc0e568d10
UefiPayloadPkg: Disable Device Manager
2020-04-10 08:01:33 -06:00
Tim Crawford
bff3319ae5
UefiPayloadPkg: Disable EFI shell
2020-04-10 08:01:33 -06:00
Tim Crawford
68e4fc4a10
UefiPayloadPkg: Map ESC to boot manager
2020-04-10 08:01:33 -06:00
Tim Crawford
b3d4910fbd
UefiPayloadPkg: Enable NVMe support
2020-04-10 08:01:33 -06:00
Jeremy Soller
cc4f44d4e7
UefiPayloadPkg: Load firmware-smmstore driver
2020-04-10 08:01:33 -06:00
Jeremy Soller
e106197ec2
MdeModulePkg/PartitionDxe: Prioritize UDF/ElTorito over MBR partitions
...
Fixes ISO boots.
2020-04-10 08:01:33 -06:00
Jeremy Soller
df3e6a4032
UefiCpuPkg: Ignore DEBUG interrupt (happens on gaze14)
2020-04-10 08:01:33 -06:00
Jeremy Soller
1bd847bd22
UefiPayloadPkg: Update serial port to use
2020-04-10 08:01:33 -06:00
Jeremy Soller
a258434cd8
UefiPayloadPkg: Add Intel GOP driver
2020-04-10 08:01:33 -06:00
Jeremy Soller
b99c14feb4
UefiPayloadPkg: Add System76 Setup menu
2020-04-10 08:01:33 -06:00
Tim Crawford
84d9737f71
UefiPayloadPkg: Enable PS2 keyboard
2020-04-10 08:01:33 -06:00
Tim Crawford
cf97530eea
UefiPayloadPkg: Default to coreboot
2020-04-10 08:01:33 -06:00