#
✕ nick:marcan
#asahi-re · 2022-04-13 05:21
marcanno surprise there either, we need to forward that into the DT in m1n1
#asahi-re · 2022-04-13 05:19
marcanso existing users need to do nothing
#asahi-re · 2022-04-13 05:19
marcanI'll ship a userspace tool to re-run the firmware extraction from linux and update it
#asahi-re · 2022-04-13 05:19
marcanthis is why I added the last minute "package all the raw firmwares tarball" thing to the installer
#asahi-re · 2022-04-13 05:19
marcanwe need to first understand how firmware selection happens in macOS, i.e. what hardware IDs we need to pick one
#asahi-re · 2022-04-13 05:18
marcanif anything there's going to be copypasta from *brcmfmac*, not from your PoC
#asahi-re · 2022-04-13 05:17
marcanI was pretty happy with your JPEG stuff; I haven't looked at BT but from the sound of it there's enough shared concepts with WiFi that it sounds unlikely that we'd carry infringing stuff over across the layers from your PoC to a Linux driver (as long as whoever does the Linux side knows what they're doing with all this)
#asahi-re · 2022-04-13 05:15
marcanso if you enjoy doing the RE bit and writing PoCs and want to leave the kernel munging to others, that's encouraged and having a split between two people, even if not a strict documentation wall, still increases our legal defense in case anything happens
#asahi-re · 2022-04-13 05:15
marcan*but* certainly, if folks come by and like to stick on one side of that wall, we'll certainly go with it and it helps
#asahi-re · 2022-04-13 05:14
marcangenerally, I always said we can't do textbook cleanroom because that's just too much overhead and we can't easily construct the documentation wall with the people we have (and it's not a legal requirement anyway, that's a myth)
#asahi-re · 2022-04-13 05:13
marcanyeah, that kind of thing is what we're trying to avoid...
#asahi-re · 2022-04-13 05:12
marcanthat's reasonable, yeah
#asahi-re · 2022-04-13 05:12
marcanit'd be different if you'd worked on these particular subsystems recently, of course
#asahi-re · 2022-04-13 05:12
marcanif the work wasn't related and/or it's so long ago it's irrelevant and any NDAs are expired, it doesn't matter
#asahi-re · 2022-04-13 05:11
marcanI mean, sven interned at Apple a long time ago
#asahi-re · 2022-04-13 05:11
marcanheh
#asahi-re · 2022-04-13 05:10
marcanI'd have to take a look re the IP perspective, but you seem to be pretty prolific at reversing the hardware so feel free to keep doing that, that is very helpful :)
#asahi-re · 2022-04-13 05:01
marcannot the first time I've wanted it
#asahi-re · 2022-04-13 05:01
marcanyeah, I should write that up TBH
#asahi-re · 2022-04-13 05:01
marcan*written it
#asahi-re · 2022-04-13 05:01
marcanif you had written as a m1n1 script that exposes the HCI on the host side that would've 1) been hilarious, and 2) fit in proxyclient/ :)
#asahi-re · 2022-04-13 05:00
marcanI think that belongs in its own repo, we don't really have a place for that
#asahi-re · 2022-04-12 10:03
marcanrqou_: nice!
#asahi-re · 2022-04-10 17:35
marcan(without doing the count reset)
#asahi-re · 2022-04-10 17:35
marcanI actually don't get sent into recovery most of the time and I reboot all the time; I'm not sure exactly what the logic is
#asahi-re · 2022-04-10 05:45
marcananyway yeah, it sounds like this is an apple-specific instantiation of broadcom bluetooth, pcie, and some glue
#asahi-re · 2022-04-10 05:43
marcanthat was recently (finally) dumped
#asahi-re · 2022-04-10 05:43
marcanrqou_: https://github.com/apple-oss-distributions/xnu/tree/rel/xnu-8019/bsd/skywalk
#asahi-re · 2022-04-10 05:12
marcanmaybe there's some way to configure a timeout
#asahi-re · 2022-04-10 05:12
marcanI dunno, maybe? I mean it sounds like a TLP that never completes
#asahi-re · 2022-04-10 05:12
marcanI find it hard to believe nothing else uses this
#asahi-re · 2022-04-10 05:12
marcanis there really no linux driver for this at all? like no other bluetooth driver that fits? some broadcom sdhc stuff? some android source drop?
#asahi-re · 2022-04-10 05:12
marcanwhich is not sane
#asahi-re · 2022-04-10 05:12
marcansince a stuck MMIO isn't exactly recoverable except by another CPU
#asahi-re · 2022-04-10 05:11
marcanit's unclear if there is a way to recover
#asahi-re · 2022-04-10 05:11
marcanI know
#asahi-re · 2022-04-10 05:11
marcanI would expect the PCIe core to be ~the same, but not a lot of the rest since the bluetooth stuff has a very different lineage
#asahi-re · 2022-04-10 05:10
marcanthat's not surprising
#asahi-re · 2022-04-10 05:09
marcanyes, it uses two for wifi too
#asahi-re · 2022-04-10 05:09
marcanand then other hardcoded ones
#asahi-re · 2022-04-10 05:09
marcanat least two configurable ones
#asahi-re · 2022-04-10 05:09
marcanalso there are several BAR windows, linux only uses one AFAIR
#asahi-re · 2022-04-10 05:08
marcanand I doubt they have a different PCIe core for bluetooth so it should have the same registers for that?
#asahi-re · 2022-04-10 05:08
marcanI mean the idea of remapping the BAR window via config space
#asahi-re · 2022-04-10 05:08
marcaneverything you're describing about the window stuff sounds exactly like what it does
#asahi-re · 2022-04-10 05:07
marcanrqou_: you should read the broadcom wifi driver
#asahi-re · 2022-04-06 16:18
marcanand full system sleep via PSCI too
#asahi-re · 2022-04-06 16:18
marcanon the short term list are figuring out how to make sleep work for brcmfmac, whether we can power down/up the PCIe controllers sanely, doing the PSCI-over-UEFI thing for CPU deep idle, shutdown/startup, and deep sleep
#asahi-re · 2022-04-06 15:17
marcanin what sense? haven't really done much since the release, too busy working around Apple bugs and catching up on everything I slacked off on
#asahi-re · 2022-04-06 15:16
marcan(of course, as with other kinds of RE in general, whether you're okay getting ahold of them or not in the first place is a personal decision; I'm strictly talking about the project stance here, not individual liability)

plus ›