Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DTBLoader #45

Open
powpingdone opened this issue Nov 18, 2024 · 1 comment
Open

Use DTBLoader #45

powpingdone opened this issue Nov 18, 2024 · 1 comment

Comments

@powpingdone
Copy link
Contributor

https://github.com/TravMurav/dtbloader

dtbloader is an EFI driver that finds and installs DeviceTree into the UEFI configuration table

Since most existing Windows-on-Arm devices focus on Windows, they use ACPI to boot. In many cases though this ACPI is hard or impossible to use with Linux so instead DT should be used. dtbloader attemtps to simplify running Linux-based or other OS that use DT by providing:

  • Device detection that uses DMI to pick which DTB should be used.
  • Device-specific DT fixups to allow tailoring generic dtb to a given device (i.e. set hw variants, MAC...)
  • DT Fixup protocol to allow bootloaders like sd-boot to load their own dtb while still applying the fixups.
@kuruczgy
Copy link
Owner

If this is something we develop, we would probably want to upstream it to nixpkgs as well.

I think the best way to go about this would be to develop it as a draft nixpkgs PR (that we can include as a patch here in the meantime), and possibly get some early feedback/help on it. (E.g. bring the topic up in https://matrix.to/#/#nixos-on-arm:nixos.org )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants