Replace Linux kernel BDS patch with linuxboot.efi BDS implementation#32
Merged
rminnich merged 26 commits intolinuxboot:masterfrom Jan 8, 2020
Merged
Replace Linux kernel BDS patch with linuxboot.efi BDS implementation#32rminnich merged 26 commits intolinuxboot:masterfrom
linuxboot.efi BDS implementation#32rminnich merged 26 commits intolinuxboot:masterfrom
Conversation
Contributor
|
How relevant is dxe/README.md within this PR context ? |
|
Hey guys. We just tested in on the real hardware and it actually works. Just though you may want to know :). Edit: by this I mean the linuxboot DXE. Kernel was attached separately with appropriate GUID. |
|
ping @osresearch , any plan to merge this? |
|
ping @rminnich @vejmarie @osresearch any plan to merge this? |
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This removes a large set of patches (currently in heads/patches/linux-4.9.80/0000-efi_bds.patch) and replaces this code with a DXE module that does the same thing. Keeping these patches updated to new kernel versions has slowed our ability to track kernel updates.
The advantage of doing this in the
linuxboot.efiDXE module is that we can boot a (relatively) unmodified Linux kernel, we add flexibility to finding the initrd in the ROM, we can enable flash regions on systems that have additoinal free space, and we provide a way to pass arguments to the kernel from UEFI NVRAM variables.Merging this will require coordinating with the Heads tree since it will need to replace its patch and change all of the kernel configurations to use
CONFIG_EFI_STUB, but notCONFIG_EFI_STUB_BDS.This has been tested with
BOARD=qemu-linuxboot, but not on real hardware yet.