5 ms·
This is a clean room open source implementation. Not property blobs are used. Additionally Apple intentionally designed the M1 architecture to support addition
by stirlo 4y ago
This is a clean room open source implementation. Not property blobs are used.
Additionally Apple intentionally designed the M1 architecture to support additional OSes. They have even made changes to their code that have fixed issues the Asahi project was having. So while there's no official support this project is certainly known to Apple and has raised no concerns so far.
- ankurdhama 4y ago> Additionally Apple intentionally designed the M1 architecture to support additional OSes How can you say that? Where is the documentation for M1 that can be used to implement support for other OSes?
- stormbrew 4y agoSee the section "Permissive Security Policy" at https://support.apple.com/en-ca/guide/security/sec7d92dc49f/web https://support.apple.com/en-ca/guide/security/sec7d92dc49f/... If you're looking for specific hardware documentation it doesn't really exist per se but the xnu kernel is open source, so if you want to look a lot of the basic architecture is out there I'm pretty sure. That said, afaik asahi is avoiding looking at the xnu source and is mostly using their own m1n1 bootloader/hypervisor to run macos under and monitor hardware interaction and deriving their drivers from that. (m1n1 is honestly some incredible work and I actually used it to get a non-Linux, non-macos os to boot to serial console a few weeks ago, it was fun)
- still_grokking 4y agoCould you explain what Apple changed in their code to help Asahi? Didn't you just say no proprietary code is used? I'm confused.
- kreetx 4y agoAFAIK to reverse engineer Asahi runs a virtual machine between macOS and hardware. If Apple made changes in the code then perhaps these helped make the instruction logs more obvious as to what the GPU was doing.
- roastedpeacock 4y agoExactly - https://github.com/AsahiLinux/m1n1 https://github.com/AsahiLinux/m1n1
- sushimako 4y agohttps://twitter.com/marcan42/status/1471799568807636994 https://twitter.com/marcan42/status/1471799568807636994 [...] they *also* added a raw image mode that will never break again and doesn't require Mach-Os. And people said they wouldn't help. This is intended for us. HN discussion about this tweet: https://news.ycombinator.com/item?id=29591578 https://news.ycombinator.com/item?id=29591578
- dottedmag 4y agoOne of recent macOS updates added a new option to boot non-macOS OS kernels easier. Apple engineers do not need this option, so it is presumably added to help Asahi (as there are no other known efforts to run non-macOS on these machines).
- roastedpeacock 4y agoPerhaps releasing internal code or documentation is a mile of red-tape so some forward-thinking people are trying to do what they can to support the project while avoiding the above-mentioned issues.