3 ms·
> So if the WiFi chip is something that is available in a non-Apple system, one could tweak the AArch64 Linux driver a bit and get it to work on AArch64 Mx Linu
by est31 4y ago
> So if the WiFi chip is something that is available in a non-Apple system, one could tweak the AArch64 Linux driver a bit and get it to work on AArch64 Mx Linux.
Yeah that's precisely what they did. According to this [0] dmesg of a mac mini, M1 macs have the BCM4378 chip, for which they use the existing [1] brcmfmac driver. That driver is years old. A cursory look into git log drivers/net/wireless/broadcom/brcm80211/brcmfmac shows maintenance from various people, including folks with @broadcom.com e-mails, reaching back to 2015 (but that might only have been the date the directory was moved, it might be actually older, as again it's only been a cursory look to establish a lower bound on the age). They did have to add some patches to add support for the specific chip used by apple thogh, which they are upstreaming [2], but they weren't starting from scratch.
[0]: https://gist.github.com/z4yx/13520bd2beef49019b1b7436e3b95ddd https://gist.github.com/z4yx/13520bd2beef49019b1b7436e3b95dd...
[1]: https://wiki.debian.org/brcmfmac https://wiki.debian.org/brcmfmac
[2]: https://lore.kernel.org/lkml/4928ea79-2794-05fb-d1a8-942b589a1c3a@marcan.st/T/ https://lore.kernel.org/lkml/4928ea79-2794-05fb-d1a8-942b589...
- garaetjjte 4y ago> [2] You linked to the old Corellium patch, here's proper one: https://lore.kernel.org/linux-acpi/20211226153624.162281-1-marcan@marcan.st/ https://lore.kernel.org/linux-acpi/20211226153624.162281-1-m...
- est31 4y agoMy bad, thanks for pointing it out! It seems that these patches have also been accepted since and are part of 5.18 onward.