Merge ~xypron/grub:fixups into ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | fdb8c44103af4ed21e9b7d3b2f55360932b84834 | ||||
Proposed branch: | ~xypron/grub:fixups | ||||
Merge into: | ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu | ||||
Diff against target: |
193 lines (+173/-0) 3 files modified
debian/patches/efi-EFI-Device-Tree-Fixup-Protocol.patch (+140/-0) debian/patches/fdt-add-debug-output-to-devicetree-command.patch (+31/-0) debian/patches/series (+2/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Core Development Team | Pending | ||
Review via email:
|
Commit message
efi: EFI Device Tree Fixup Protocol
Device-trees are used to convey information about hardware to the operating
system. Some of the properties are only known at boot time. (One example of
such a property is the number of the boot hart on RISC-V systems.) Therefore
the firmware applies fix-ups to the original device-tree. Some nodes and
properties are added or altered.
When using GRUB's device-tree command the same fix-ups have to be applied.
The EFI Device Tree Fixup Protocol allows to pass the loaded device tree
to the firmware for this purpose.
The protocol can
* add nodes and update properties
* reserve memory according to the /reserved-memory node and the memory
reservation block
* install the device-tree as configuration table
With the series GRUB checks if the protocol is installed and invokes it if
available. (LP: #1965796)
For debugging we need feedback that the devicetree command has be executed.
Add debug output.