#
✕ nick:marcan
#asahi · 2021-12-21 14:33
marcanzsxh: *into* the kernel? not as a module?
#asahi · 2021-12-21 14:14
marcanthen the driver isn't loaded or you're missing the pcie bus support
#asahi · 2021-12-21 14:04
marcanzsxh: there should be two broadcom devices (wifi and bluetooth, two functions)
#asahi · 2021-12-21 13:47
marcanand see what happens; it'll log a ton and will probabl complain a lot, but it might help us find the OTP if it's somewhere unexpected
#asahi · 2021-12-21 13:47
marcanRedecorating[m]: if you feel like a bit of a brute force test, you can try changing BRCMF_OTP_MAX_WORDS to 0x800 and base to 0 and words = 0x800
#asahi · 2021-12-21 13:46
marcanhttps://github.com/AsahiLinux/linux/commit/ce352dbd1c276e3b64d02dbbb00bda0abb0c85b7#diff-8031660c6ab8477bad8cf8603eb34311776f8f8d0d6e1fd57c5c32027b04c577R2012
#asahi · 2021-12-21 13:44
marcanzsxh: broadcom what? if this is a mini, wired ethernet is also broadcom
#asahi · 2021-12-21 13:42
marcanRedecorating[m]: what machine is this, and can you let me know the revision? (lspci -vvnn will tell you)
#asahi · 2021-12-21 13:41
marcanRedecorating[m]: thanks for the 4364 check, I'll see if I can figure out what's going on. something looks broken there.
#asahi · 2021-12-21 11:16
marcannot so much picker, just efi services (nothing fake about them)
#asahi · 2021-12-21 11:15
marcanas400[m]: probably
#asahi · 2021-12-21 11:15
marcanyou do need the BRCMFMAC driver with PCIE support
#asahi · 2021-12-21 11:15
marcanzsxh: ^
#asahi · 2021-12-21 11:15
marcanyou need to run that before running linux for the wifi device to show up
#asahi · 2021-12-21 11:15
marcanhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/pcie_enable_devices.py
#asahi · 2021-12-21 11:13
marcanI forgot about that, sec
#asahi · 2021-12-21 11:13
marcanwhich is actually required for wifi
#asahi · 2021-12-21 11:13
marcanSMC
#asahi · 2021-12-21 11:12
marcanzsxh: yes
#asahi · 2021-12-21 11:12
marcannumber of elements in the array that get set later plus one (terminator)
#asahi · 2021-12-21 10:59
marcanstill need to do a review pass to make sure I didn't screw up the commit splitting, but to a first approximation it should be a sane patch series
#asahi · 2021-12-21 10:55
marcanit actually spends a noticeable amount of time doing that
#asahi · 2021-12-21 10:55
marcanso it's worth optimizing
#asahi · 2021-12-21 10:55
marcanj`ey: yes
#asahi · 2021-12-21 10:55
marcan28 patches...
#asahi · 2021-12-21 10:54
marcanif I get a few reports that it works properly (and reliably), I'll push it to a future asahi rebase along with other updates
#asahi · 2021-12-21 10:53
marcanI did a ~full GUI test on j314s and a smoke test (ifup, no config) on j274
#asahi · 2021-12-21 10:53
marcanyou need to get the firmware manually from macOS for now; from asahi-installer: cd src; python -m firmware.wifi /usr/share/firmware/wifi firmware.tar
#asahi · 2021-12-21 10:52
marcanit should add support for all the chips (including the T2 ones), but firmware selection for T2 machines isn't properly done yet.
#asahi · 2021-12-21 10:52
marcanjust pushed the wifi stuff to wifi/take1. It's on top of the current asahi branch (with one rebase/fixup applied).
#asahi · 2021-12-21 10:43
marcanheh
#asahi · 2021-12-21 07:21
marcanI should probably also do something like stash some metadata into our stubs, like the VGID of the macOS that the users were cloned from, so that future invocations can refer to it and update that file if necessary
#asahi · 2021-12-21 07:20
marcaneventually, once we support the SEP in Linux, we should do something on first boot to prompt the user to create new SEP-backed credentials, and ideally switch the Preboot stuff to point to that
#asahi · 2021-12-21 07:20
marcanyes, this is somewhat fragile, because we're basically cloning the user references that macOS has
#asahi · 2021-12-21 07:19
marcanfionera[m]: to fix that you need to copy a certain file in the preboot partition
#asahi · 2021-12-21 03:10
marcanhm, I think 3 hubs should work
#asahi · 2021-12-20 13:10
marcanonce the git history is cleaned up a bit, probably tomorrow, I'll push the wifi stuff to asahi
#asahi · 2021-12-20 13:10
marcangoes to make dinner
#asahi · 2021-12-20 13:07
marcansigh
#asahi · 2021-12-20 13:07
marcanif people *tell* you to please test a branch, *that* is when you do that
#asahi · 2021-12-20 13:06
marcanand you are not entitled to support
#asahi · 2021-12-20 13:06
marcanyou are certainly free to check it out and look at it, but there is zero expectation that anything works
#asahi · 2021-12-20 13:06
marcana git branch existing does not mean you are invited to test the code
#asahi · 2021-12-20 13:05
marcanyou trying to use this ahead of time is literally a complete waste of time for everyone because you're running into things I already fixed or will fix before I actually ask people to test things
#asahi · 2021-12-20 13:04
marcaneverything you are running into is stuff I will fix in the DTs etc
#asahi · 2021-12-20 13:04
marcanplease stop using random branches and wasting people's time with code that isn't ready
#asahi · 2021-12-20 13:03
marcanI already told you that thing was just something I pushed so alyssa could look at the OTP code
#asahi · 2021-12-20 13:03
marcanplease don't use that branch
#asahi · 2021-12-20 11:17
marcanI can test M1 devices myself :p
#asahi · 2021-12-20 11:11
marcan(it should be obvious if it breaks)

plus ›