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

Add a crate for working with apple device trees (no-std) #151

Open
theoparis opened this issue Aug 14, 2024 · 0 comments · May be fixed by #166
Open

Add a crate for working with apple device trees (no-std) #151

theoparis opened this issue Aug 14, 2024 · 0 comments · May be fixed by #166

Comments

@theoparis
Copy link
Contributor

I would like to be able to create apple device trees in Rust. After finding out that there is a apfs crate here with no-std support I figured this would be the best place to implement this kind of thing.

Use case: I could create apple device trees from a Rust program. These device trees could be loaded into u-boot to then boot the XNU kernel on various platforms. Apple device trees seem to be slightly different from Linux device trees but I'm not sure what the specific changes are.

There seems to be a device tree for the Raspberry Pi floating around somewhere but it is hard to modify it and to create a new one at the moment. See NSG650's blog post on booting XNU on a Raspberry Pi for more information.

I also found these repositories that might be useful. I am willing to make a attempt at a PR for this.

@theoparis theoparis linked a pull request Nov 3, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant