aarch64 support: efi stub and devicetree selection#722
Merged
Conversation
4b60c5c to
0ec4a20
Compare
Member
Author
|
Go go gadget force push |
b64815c to
cccb2b0
Compare
ahesford
approved these changes
Feb 9, 2025
Member
ahesford
left a comment
There was a problem hiding this comment.
This works exactly as I'd expect. I offer only some trivial comments, take or leave them as you like.
We need documentation on the config.yaml options and the ZFS property.
classabbyamp
approved these changes
Feb 25, 2025
Member
classabbyamp
left a comment
There was a problem hiding this comment.
worked for me, pending docs ofc
4a91f62 to
cb699bc
Compare
Member
|
In the fixup, I reworded the docs to replace sample paths with generic prose. If you think this improves clarity, squash it; if not, just stick with your original. |
generate-zbm now understands the EFI.DeviceTree key. This key can
contain one of three possible values:
1) /absolute/path/%{kernel}/to/device-tree-file.dtb
2) /absolute/path/to/device-tree-file.dtb
3) partial/path/device-tree-file.dtb
Inside ZFSBootMenu, the org.zfsbootmenu:devicetree property is read. The
value of this property are handled in the same order/priority as
EFI.DeviceTree.
This has been tested on a Lenovo x13s running Void Linux.
6933d78 to
6a5ada6
Compare
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.
generate-zbm now understands the
EFI.DeviceTreekey. This key can contain one of three possible values:If found, %{kernel} is replaced with the kernel version being built in to the EFI asset. Partial paths are appended to
/boot/dtbs/dtb-$kernel/, a well-known path for device tree files used by Void Linux.Inside ZFSBootMenu, the
org.zfsbootmenu:devicetreeproperty is read. The values of this property are handled in the same order/priority asEFI.DeviceTree.Documentation will be written and appended to this PR once the overall design of this support is accepted.