#asahi-re · 2022-04-12 09:24
kode54I know you'll get it eventually#asahi-re · 2022-04-12 09:07
rqou_SCO is weird, it has a totally different setup with e.g. doorbells#asahi-re · 2022-04-12 09:06
chadmednice! #asahi-re · 2022-04-12 09:05
rqou_now the only thing that doesn't work is SCO#asahi-re · 2022-04-12 09:04
rqou_i got bluetooth ACL links working: https://twitter.com/rqou_/status/1513804983308746753#asahi-re · 2022-04-11 11:53
svennice!#asahi-re · 2022-04-11 11:00
jannaunice#asahi-re · 2022-04-11 10:33
rqou_they're conceptually similar, but for some reason they have different flags#asahi-re · 2022-04-11 10:32
rqou_not _quite_ sure how SCO/ACL links work yt#asahi-re · 2022-04-11 10:32
rqou_https://twitter.com/rqou_/status/1513463982073409537#asahi-re · 2022-04-11 10:32
rqou_bluetooth bringup: HCI is basically all figured out#asahi-re · 2022-04-11 06:03
jannaushould be easy to test and count when you're looking for it#asahi-re · 2022-04-11 05:52
Jamie[m]1but maybe it was something else#asahi-re · 2022-04-11 05:52
Jamie[m]1hmm, pretty sure it is triggered after lots of quick proxyclient reboot.pys for me#asahi-re · 2022-04-10 17:40
jannauI think reboots are fine, reboots after crashing dcp or trying to use powered down usb ports seems to cause it#asahi-re · 2022-04-10 17:36
sventhe only time I was sent into recovery was when I let that weird other watchdog thing expire#asahi-re · 2022-04-10 17:36
svenme neither, and i've rebooted this thing a lot and very quickly#asahi-re · 2022-04-10 17:35
j`eynever been sent into recovery either#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 17:25
roxfansleep is for the weak#asahi-re · 2022-04-10 12:16
rqou_whoops i forgot to go to bed, but success! https://github.com/AsahiLinux/m1n1/pull/192#asahi-re · 2022-04-10 10:32
Jamie[m]1yeah, avd experimenting is where i'm wanting it now#asahi-re · 2022-04-10 10:13
jannauwould have been useful for display experiments and m1 ultra bringup#asahi-re · 2022-04-10 10:12
jannauI think it's sensible that it is only reset by the os but for m1n1 experimnets it would be nice to have#asahi-re · 2022-04-10 10:11
jannausee what smc reboot does, there is a boot errror count and if that exceeds a certain value iboot boots into recovery#asahi-re · 2022-04-10 10:09
Jamie[m]1(i know i can get back into the OS by picking it from the boot picker, but trying to prevent being sent there in the first place)#asahi-re · 2022-04-10 10:08
Jamie[m]1can I stop myself from being sent into recovery mode after rebooting many times in quick succession?#asahi-re · 2022-04-10 09:14
sventrace the writes to that rid2sid register and then find the stream from there#asahi-re · 2022-04-10 09:14
rqou_rn i hardcode it and reboot if it seems wrong#asahi-re · 2022-04-10 09:13
rqou_sven: how do i do that from a trace script though?#asahi-re · 2022-04-10 09:13
rqou_but i see a 0xFC01 command, a 0x0C13 command and my computer hostname, and then a huge pile of 0xFD97 with a payload that starts with "BLOB"#asahi-re · 2022-04-10 09:13
svenit’s configurable #asahi-re · 2022-04-10 09:13
svenlooks for rid2sid in the Linux pcie driver to get the pcie device/dart stream mapping #asahi-re · 2022-04-10 09:11
rqou_still don't understand replies though, nor a giant pile of magic numbers#asahi-re · 2022-04-10 09:11
rqou_success(-ish)! i can read what appear to be bluetooth HCI commands that macos is sending to the bluetooth card#asahi-re · 2022-04-10 07:08
rqou_and there's a mapping between everything encoded in the macos plist#asahi-re · 2022-04-10 07:08
rqou_but somehow this has to share a fixed number of doorbells#asahi-re · 2022-04-10 07:07
rqou_seems there's a "main" message and completion ring, which maybe is used to "open" a pipe containing its own message and completion rings?#asahi-re · 2022-04-10 07:07
rqou_everything here is over-layered AF#asahi-re · 2022-04-10 06:58
rqou_it's really not quite designed to trace access to general RAM, isn't it#asahi-re · 2022-04-10 06:45
rqou_wtf, AlignmentError on STUR emulation#asahi-re · 2022-04-10 06:43
rqou_it seems nondeterministic#asahi-re · 2022-04-10 06:42
rqou_ugh what's the proper way to figure out which DART stream a pcie device is using?#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:44
rqou_i don't care about skywalk though#asahi-re · 2022-04-10 05:44
rqou_neat#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:25
rqou_after also taking a detour through a giant undocumented networking-related stack called skywalk (which i do not care about)