Remix.run Logo
ch33zer 6 days ago

Didn't all the asahi Linux Mac m1 drivers essentially get reverse engineered with little to no support from apple and no public docs? If I'm remembering correctly then I guess it's possible with enough effort and reverse engineering skills

stefan_ 6 days ago | parent | next [-]

It was reverse engineered from a driver. With no driver and purely some PCIE device registers mapped into memory you might as well be trying to guess lottery numbers.

ch33zer 6 days ago | parent [-]

I guess the driver was the one that runs on Mac that they were able to refer to? Not sure you have any links to blog posts about this process it sounds so cool

morganw 6 days ago | parent [-]

From https://news.ycombinator.com/item?id=39385382 Here's Hector Martin (marcan) talking about their tooling: https://asahilinux.org/2021/08/progress-report-august-2021/

Running macOS in a hypervisor controlled from a second machine (proxy mode + verbose==on) to watch drivers talk to the hardware:

https://asahilinux.org/docs/sw/m1n1-user-guide/#running-a-ma...

ch33zer 5 days ago | parent [-]

Thanks for taking the time to round up these posts for me!

nicce 6 days ago | parent | prev [-]

But it took 5 years. And since the first model, there are many others. It is huge work.