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

macOS support #12

Open
MOZGIII opened this issue May 12, 2019 · 6 comments
Open

macOS support #12

MOZGIII opened this issue May 12, 2019 · 6 comments

Comments

@MOZGIII
Copy link
Contributor

MOZGIII commented May 12, 2019

macOS support can be implemented via nvram command, and I'd love to add support macOS in my app.

@alixinne
Copy link
Collaborator

Without access to Apple hardware, we should at least find some sample output of nvram as well as its expected behavior so we could test the backend against that mock version, before adding it to the crate.

@iTrooz
Copy link
Owner

iTrooz commented Jul 7, 2023

I'd like to try my hand at this, would you accept a PR ?

@MOZGIII
Copy link
Contributor Author

MOZGIII commented Jul 9, 2023

Sure (ops, nvm, I don't have access to accept PRs here) :D


There are now two flavors of macOS hardware, with Intel and Apple CPUs. The boot process is very different. @iTrooz which one do you plan to work on?

@alixinne
Copy link
Collaborator

I'd like to try my hand at this, would you accept a PR ?

Sure thing, I don't have much time to actively develop this project (as in, add new features and stuff) but I can review PRs no problem. The whole CI/release process is setup so any changes would get released as soon as they're merged.

@iTrooz
Copy link
Owner

iTrooz commented Jul 13, 2023

There are now two flavors of macOS hardware, with Intel and Apple CPUs. The boot process is very different. @iTrooz which one do you plan to work on?

Honestly, I have no idea. I just liked the idea of tinkering with MacOS's internals.
You seem to have some insight, so if you have any documentation links to share, please do so ^^

@MOZGIII
Copy link
Contributor Author

MOZGIII commented Jul 13, 2023

I did my research on this back in the day, and what I got to was the idea of running the nvram from the CLI and point things through that. Very suboptimal, but would do the trick. However, it was not clear if this was necessary, since macos has a built-in next boot switcher - that is, had on intel macs, but not on the arm macs as far as I can tell. Anyhow, my level of understanding is very surface here, probably the best source would be to look at asahi (or possibly even mainline) linux to see if the efi vars make sense at all on arm macs.

I suggest checking out the following:

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

3 participants