2022-06-19
01:24chadmed has joined #asahi-dev
01:29nicolas17 has quit [Quit: Konversation terminated!]
01:29nicolas17 has joined #asahi-dev
01:54nicolas17 has quit [Quit: Konversation terminated!]
01:54nicolas17 has joined #asahi-dev
02:33PhilippvK has quit [Ping timeout: 480 seconds]
02:52nicolas17 has quit [Ping timeout: 480 seconds]
03:33nico_32 has quit [Ping timeout: 480 seconds]
03:58nico_32 has joined #asahi-dev
06:19the_lanetly_052 has joined #asahi-dev
07:09bisko has joined #asahi-dev
07:21bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:19the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:29c10l has quit [Quit: Bye o/]
09:29svendoes anyone know how to add the bluetooth function here by heart? it'll also need at least the board type. otherwise i'll go read some documentation but i'd like to avoid that :D https://github.com/AsahiLinux/linux/blob/asahi/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi#L125
09:33c10l has joined #asahi-dev
09:47svenand now it can also construct the correct firmware filename (minus that weird MUR vs. USI part I still have to figure out)
09:48svenR already did some nice reverse engineering, essentially it's HCI over what apple calls "Apple Converged IPC"
09:53the_lanetly_052 has joined #asahi-dev
09:54svenI kinda hoped it would just be similar enough to some other broadcom stuff but there's no pcie broadcom bluetooth driver in linux
10:20the_lanetly_052 has quit [Ping timeout: 480 seconds]
10:35svenokay, looks like that's the bluetooth OTP then. unfortunately it doesn't seem to contain that "USI" or "MUR" string that's part of the bt firmware name
10:38gabuscus has joined #asahi-dev
10:50c10l has quit [Quit: Bye o/]
10:54c10l has joined #asahi-dev
13:17chadmed has quit [Ping timeout: 480 seconds]
13:18chadmed has joined #asahi-dev
13:40MajorBiscuit has joined #asahi-dev
14:35sven[ 0.727909] applebt 0000:01:00.1: firmware name: brcmbt4378b1-apple,atlantisb-m.bin; ptb name: brcmbt4378b1-apple,atlantisb-m.ptb
14:36svenOTP parsing works just the same. let's see if I can actually get it to boot that firmware now
15:08amarioguy has joined #asahi-dev
15:24jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]
15:30jakebot6 has joined #asahi-dev
15:38___nick___ has joined #asahi-dev
16:07MajorBiscuit has quit [Quit: WeeChat 3.5]
18:53svenat least that confirms that this abomination actually requires the msi doorbell addressed to be configured inside some register in the BAR though
19:55sveni got a bit sidetracked with what I assumed to be a quick and fun driver (Bluetooth) to take a break from that atcphy mess
19:59jannausigh, why is the slimmed down io-pgtable-arm copy now broken. according to git reflog i made no significant changes
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:41sven[ 0.735752] applebt 0000:01:00.1: firmware name: brcmbt4378b1-apple,atlantisb-m.bin; ptb name: brcmbt4378b1-apple,atlantisb-m.ptb
20:42svennow let's see about these complex IPC structures. so far I could drop most of the mystery init pokes as usual
21:11jannauhttps://github.com/jannau/linux/tree/apple-dart-t6000 with stripped down copy of io-pgtable-arm.c as io-pgtable-dart.c
21:42yuyichao has joined #asahi-dev
21:45LunaFoxgirlVT has joined #asahi-dev
22:18LunaFoxgirlVT has quit [Quit: Leaving]
22:31manawyrm has joined #asahi-dev