#
#asahi-re · 2022-04-13 05:30
marcanit should
#asahi-re · 2022-04-13 05:30
rqou_does that actually get uploaded properly?
#asahi-re · 2022-04-13 05:30
rqou_oh yeah i see that
#asahi-re · 2022-04-13 05:30
marcanso anyway, bluetooth would be identical to that
#asahi-re · 2022-04-13 05:30
marcansee src/kboot.c:561
#asahi-re · 2022-04-13 05:30
rqou_i have no idea why it's not using bluetooth-taurus-calibration
#asahi-re · 2022-04-13 05:29
rqou_yeah, bluetooth needs bluetooth-taurus-calibration-bf
#asahi-re · 2022-04-13 05:29
marcantoo many things inside my head lately...
#asahi-re · 2022-04-13 05:29
marcan(haven't touched wifi since january)
#asahi-re · 2022-04-13 05:29
marcanso yeah, I guess we do pass that through if I'm not mistaken
#asahi-re · 2022-04-13 05:29
marcandamn my memory is crap lol
#asahi-re · 2022-04-13 05:29
marcanwait it does
#asahi-re · 2022-04-13 05:29
marcanor does it?
#asahi-re · 2022-04-13 05:29
marcanm1n1 just doesn't pass it through yet :D
#asahi-re · 2022-04-13 05:28
marcanah wait, I'm dumb, I do have brcm,cal-blob implemented already
#asahi-re · 2022-04-13 05:27
rqou_some of their stuff has been vaguely helpful for overall big picture understanding, but it's all a bit dated / not quite looking at the same areas
#asahi-re · 2022-04-13 05:27
rqou_i wonder if the seemoo people know?
#asahi-re · 2022-04-13 05:26
marcanjust need to figure out how it gets sent over
#asahi-re · 2022-04-13 05:26
marcanIIRC that wifical stuff was in OTP on the T2s, so it makes sense that apple put it in the ADT on these since it seems they've stopped using OTP for anything device-specific
#asahi-re · 2022-04-13 05:25
marcanheh
#asahi-re · 2022-04-13 05:24
rqou_which is also fun
#asahi-re · 2022-04-13 05:24
rqou_btw bluetooth has two calibration blobs, but i don't know why one is different from the other or how they're chosen
#asahi-re · 2022-04-13 05:24
rqou_ah
#asahi-re · 2022-04-13 05:23
marcanneed to figure out how it gets sent
#asahi-re · 2022-04-13 05:23
marcanwe aren't using that one yet :)
#asahi-re · 2022-04-13 05:23
rqou_i had assumed that you had sorted that out already
#asahi-re · 2022-04-13 05:22
rqou_i mean, there's a "wifi-calibration-msf" whatever that is
#asahi-re · 2022-04-13 05:22
marcanI also suspect we're missing something along those lines for WiFi, since people report worse performance under Linux even though we use the same firmware/txcal/clm blobs
#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:21
rqou_dunno how that should be handled
#asahi-re · 2022-04-13 05:21
rqou_which is submitted over HCI commands
#asahi-re · 2022-04-13 05:20
rqou_you also need a calibration blob from the ADT
#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
rqou_i just copied the files i needed for my own hardware
#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
rqou_far from anything i looked at
#asahi-re · 2022-04-13 05:19
rqou_yeah idk it's controlled somewhere in userspace i think
#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:19
rqou_it uses the same island codenames though
#asahi-re · 2022-04-13 05:18
rqou_but i don't understand the details of how that works
#asahi-re · 2022-04-13 05:18
rqou_btw bluetooth will need to be added to the firmware munging installer script
#asahi-re · 2022-04-13 05:18
rqou_possibly
#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
rqou_i find i'm much better at RE though
#asahi-re · 2022-04-13 05:15
rqou_yeah i'm pretty familiar with how the wall works (at least under US law)
#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)

plus ›