-
Notifications
You must be signed in to change notification settings - Fork 108
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
MacBook Pro 15+: Wifi Support #112
Comments
Hi everyone! I've been following this thread as I work on getting a USB SSD with linux that works on both of my Macs: MacBookAir8,2 (2019 MacBook Air) and iMac19,1 (2019 iMac). Fortunately the 2019 iMac does not contain a T2 chip, so things work fairly well out of the box. I'm attempting to get WiFi working on both models. The iMac seems to have the same chipset as the MacBookPro15,x (BCM4364, codename Midway) but the MacBook Air has a BCM4355 chipset (codename Hawaii). I created and applied this patch (based on the work from @MCMrARM): https://github.com/jhohisel/macbookair8-2-linux/blob/master/brcmfmac.patch and copied the firmware from macOS. However, the firmware fails to load (iMac):
MacBook Air fails with a slightly different error:
I observe a different error when the NVRAM file (.txt) is missing, so I know that it is correctly detecting the presence of these files and attempting to load them. Top tip: you can discover the firmware filenames that Apple uses by running:
|
@jhohisel well done and nice tip! I'm experimenting with the WLAN (WiFi) support on my |
I am currently running your I'll try the |
NVMe Works! I'll have to try installing it to a partition on the laptop now. One issue I've been unable to fix is getting the keyboard working when I unlock my root partition during boot. It works during the GRUB menu, then stops working when the kernel prompts to unlock the drive for dm-crypt, then functions immediately after when it loads the I built-in mbp2018-bridge-drv to the kernel by adding a Kconfig entry and declaring the source to the Makefile in |
If you really need the keyboard in this case you have to take a look into your current |
Please focus on wifi in this issue and discuss other topics (like keyboard or NVMe) in separate issues. |
Is WiFi (brcmfmac4364) working for anybody (besides @MCMrARM)? Whenever i'm trying to load brcmfmac module, i'm getting error mentioned below:
|
@mikeeq What kernel patch are you using for WiFi support? |
@jhohisel @mikeeq Works perfectly fine for me:
EDIT: I'm using this wifi patch (in my kernel tree) btw. |
@aunali1 yep, you're right - I've missed one line when I was generating a patch. @ppaulweber could you confirm if that fix is not needed for MacBookAir8,2? |
@aunali1 thanks for the hint and I've experimented for my @jhohisel can you check if this latest patch works for your @mikeeq it does need the same fix, which I've already updated in my repo (see commit reference above)
|
@ppaulweber The good news is that now the card is correctly recognized and shows as a WIFI device. The bad news is that I can't seem to connect to my network using it. It repeatedly times out and prompts for the password. I tried switching from wpa_supplicant to iwd as suggested in issue 71, but no difference. I also tried using wicd instead of NetworkManager, it fails to connect saying bad password. I have not yet tried an open network, and yes I am entering the correct password. Has anyone else experienced this? I am able to connect to my network using a USB WIFI card. |
@jhohisel try to reload brcmfmac kernel module. I'm experiencing the same issue and after module reload I'm able to connect to WPA2 network ;) |
I was missing:
From Now I can connect! |
Sorry for the silly question all - when I locate the files from mojave, where do I copy them on the linux side? |
@macphotoed Just copy the *.trx file to |
Amazing - thank you again @aunali1 - got the files, tjust grappling with the iwd/wpa_supplicant issue! And bluetooth for some reason? |
By the way 5Ghz generally works for me, through a full multiband 5ac does not achieve full speeds. |
Sorry. I'd like to ask if I don't have IDA,how can I get the wifi firmware?
Do anybody can share one with me. Mine model is mbp2010 13inch.
MCMrARM <[email protected]>于2019年8月28日 周三21:55写道:
By the way 5Ghz generally works for me, through a full multiband 5ac does
not achieve full speeds.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#112?email_source=notifications&email_token=AB7YLWSIKQQMJHPGUGE7ELTQG3J3NA5CNFSM4IJYB3TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5MJBLQ#issuecomment-525897902>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB7YLWVD7Z2O5KIWNKGTKKDQG3J3NANCNFSM4IJYB3TA>
.
--
Best Regards,
Liu, Min
INI, UZH/ETHZ
|
It seems that with 5.2.11, 5 Ghz works without any problems, and in some cases faster than macOS! |
@wzygzlm I mean, this no longer requires IDA, the firmware is in /usr/share/firmware on OS X. |
can anyone tell me where the trx and clmb files are? On Arch if it makes any difference. |
TL;Dr with the wifi is to first find your firmware files using |
Anyone else not have this working on MBA 8,1(air 2018) it shows up as a ethernet device, thanks :) |
@EmmaDSamms sorry, what? Show the output of |
@stefanpartheym well I haven't attempted booting any Linux distribution yet personally, but this repo here suggests the 16,1 uses BCM4364 according to the dumps others have contributed, and your script (after I figured out which The output was:
|
@abjugard I don't claim the scripts or the documentation is perfect haha. But as you see, it works for BCM4364 on your machine, so I suspect this is the correct model for the mbp16,1. Otherwise you would see an error that the |
@stefanpartheym Yes it seems to be correct, though apparently |
@abjugard Other people already had similair issues (see stefanpartheym/mbp15-wifi-driver#3 for instance). Hope this helps! |
Hi all, copy/pasting here what I posted on another repo and thread, it's in connection with the BCM4364/4 "trinidad" chip on a MacBookPro 16,2 (year 2020): Two pieces of info and two questions I have to dig into further but I'd like to share:
Question 1) are there two brcmf_chip_get_raminfo messages because it's one message per core? Only (somehow) related info I could find is on https://patchwork.kernel.org/patch/11286575:
EDIT:
However, doing this didn't work either:
Any thoughts? |
Hey ! Something new, any suggestions for MacBook Pro 16.2? I copied my Trinidad files from MacOS to Ubuntu using https://github.com/stefanpartheym/mbp15-wifi-driver. I tried several ways from different sources... Please, help me ! |
@emceku Did you work this out? How about keyboard and touchpad? |
@yurnam @MoonPadUSer @mushoku-ningen did you find a solution for BCM4377 on mbp 15,4 ? |
I'm interested in the 4677 driver for mbp 15,4 as well |
We all are, I think the ball is in Broadcoms court unfortunately, the open source driver doesn't work with the available macOS firmware. Unless someone puts in the considerable effort to fix those issues, we need some official firmware released by Broadcom, but I'm not sure how likely that is to happen here. Is there anyone besides Apple using that chip in their products? |
Just keep buying refurbished i7 Macbook Pro 2015 Retina computers and maybe they'll re-list them on the store /s |
After I compiled the code from this repository and extracted the firmware from macos, I can successfully open macbookpro 16, 1 bcm4364 wifi |
Confirmed, that the corelium patch, do the trick !! |
iMac19,1 has BCM4364 but no T2 Link: Dunedan/mbp-2016-linux#112 (comment) Link: https://support.apple.com/en-us/HT208862 Link: https://support.apple.com/en-us/HT201634 With most islands known, I've made guesses based off which macos version models released with and their bluetooth chip names. If my guesses are correct (or just have a couple of models switched), the only ones left are Sid and Kahana. These two islands are the only ones in both the 4364B2 and 4364B3 folders, and the only ones in the Mojave version of the 4364B3 folder. Could be the two models missing here https://www.theiphonewiki.com/wiki/T8012#Enabled_Mac_Products
I'm not sure why I entered this wrong Dunedan/mbp-2016-linux#112 (comment) also convert 4355 revision 0c to decimal 12
Dropping in for some help myself... Have a macbook 13 inch with the same 4364 driver. I've done what I could from reading this thread...
|
@xeacott which parts of the kernel did you patch exactly? e.g. ppaulweber/linux-mba@6916d9c |
This one https://mrarm.io/u/Paste%202019-07-26%2012-30-16.txt
|
@xeacott it looks to me that you forgot to patch the chip rambase address in the |
@xeacott are you sure that you have a |
@ppaulweber
|
@ppaulweber maybe this is related?
|
@xeacott of course, please check your kernel messages via |
@ppaulweber |
@xeacott the patch you have there is still missing the
Depends: If you have cloned the Linux kernel via [1] https://git-scm.com/docs/git-apply |
@ppaulweber tried to
|
@xeacott if you are trying to use the |
Discussion and updates regarding Broadcom Wifi related support. Parent thread is #71.
Current Status:
NOTE: Firmware from macOS Catalina is currently known to fail to initialize with
brcmfmac
. Use firmware from a macOS Mojave or lower installation, otherwise you can find the necessary files in my up-to-date archive here: https://packages.aunali1.com/apple/wifi-fw/18G2022Unfortunately, due to the nature of how tightly linked
.clmb
files are to each model variant, generic distribution of firmware is currently impractical.The text was updated successfully, but these errors were encountered: