2022-10-07
00:40goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:41goldsoultheory has joined #asahi-re
00:42goldsoultheory has quit []
01:29amarioguy has quit [Remote host closed the connection]
01:39off^ has joined #asahi-re
06:00illenialhackerm has quit [Remote host closed the connection]
06:19off^ has quit [Remote host closed the connection]
06:22HardWallzz has quit [Read error: Connection reset by peer]
06:56MajorBiscuit has joined #asahi-re
07:21millenialhacker has joined #asahi-re
07:22goldsoultheory has joined #asahi-re
07:41bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:57goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:07goldsoultheory has joined #asahi-re
08:29inkos[m] has joined #asahi-re
08:36ChaosPrincesspacman -Syu and thats more of a question that belongs in #asahi
08:48rqou_afaict the firmware generates a command stream (of unknown format) that it then writes into a fifo at addresses around 0x4010001c
09:06Jamie[m]is it avc video? it'd make sense that there's a block of 9 fifos there starting at 401000c and you're writing to the one at [4], following the general pattern of 4 HEVC then 4 AVC then 1 longhorn, but it'd be odd then that there's a 10th one at 40100030
09:08Jamie[m]oh yeah nah that doesn't add up, all those 401000xx regs are accessed by isrs for all the different codcs
09:13dottedmagIs the right USB port on mbpro m1 max connected differently than the left USB ports? I see it regularly stops detecting newly connected devices under macos, while left ports continue to work properly. reboot "fixes" it
09:18Jamie[m]ah nice the copy of 236 words (0x3b0 bytes) from 0x00000724 lines up with the fact that i saw a repeating block every 0x3b4 bytes starting 0x00000724, once for each slice in the frame
09:26_jannau_dottedmag: based on the ADT all three ports are identical. usb is just cursed, especially on this platform. ask s v e n
09:36rqou_i am guessing (once again based on insufficient evidence) that coded "10" is the fairplay engine
09:39nicolas17 has joined #asahi-re
09:51hir0pro has joined #asahi-re
10:03hir0pro has quit [Ping timeout: 480 seconds]
10:07Jamie[m]rqou_: think the word count in your understanding of piodma could be off by one? the things at 0x8b504 repeat every 11 words and are loaded into an array of 11-word structs, while your log says it's copying 10 words
10:10rqou_i.e. https://github.com/rqou/m1n1/blob/d438b8038868d5d343b2d6ef6d727ce67e9a6458/proxyclient/experiments/avd.py
10:10bisko has joined #asahi-re
10:23nicolas17 has quit [Quit: Konversation terminated!]
10:35chengsun_ has joined #asahi-re
10:37chengsun has quit [Ping timeout: 480 seconds]
10:50chengsun has joined #asahi-re
10:54chengsun_ has quit [Ping timeout: 480 seconds]
10:55chengsun has quit [Quit: Quit]
10:57chengsun has joined #asahi-re
11:03chengsun_ has joined #asahi-re
11:05chengsun has quit [Ping timeout: 480 seconds]
11:19SSJ_GZ has joined #asahi-re
11:47Jamie[m]C_DEBUGEN "can only be set to 1 from the DAP, it cannot be set to 1 under software control"
11:48Jamie[m]and writes to it don't stick using m3_write, so i guess that counts as software control
11:49Jamie[m]however we should still be able to patch the firmware to add in a DebugMonitor exception handler
12:08goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:28Jamie[m]oh duh of course it counts as under software control, i misread how the function was implemented, thought you had found mem read/write functionality in cm3_ctrl lmao
12:40chengsun_ has quit [Ping timeout: 480 seconds]
12:42goldsoultheory has joined #asahi-re
13:06Jamie[m]alright i built a firmware patcher that tacks on an extra function that runs before start
13:10Jamie[m]could just append to the existing log ringbuffer, as long as macos doesn't choke seeing unexpected stuff there
13:36goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:37goldsoultheory has joined #asahi-re
13:37goldsoultheory has quit []
13:39nsklaus has joined #asahi-re
13:41goldsoultheory has joined #asahi-re
13:42Jamie[m]what's the process for reloading a tracer? i get the impression my current "hard shutdown the mac, pick an alternate boot option, re-chainload, reboot macos" workflow isn't quite optional haha
13:44nsklaus_ has quit [Ping timeout: 480 seconds]
13:48dottedmagI use reboot.sh to reboot. You can select the default boot disk, I've done that from macOS's System Preferences -> Startup Disk
13:49Jamie[m]i'm pretty sure there's tracer-reloading functionality though, i can see all sorts of plumbing to make it work
14:20chengsun has joined #asahi-re
14:28chengsun has quit [Ping timeout: 480 seconds]
14:34chadmed[m]are you using an apple usb-c charge cable
14:35chadmed[m]mine was super flaky (that is moments before my dev machine died altogether so maybe that had more to do with it)
14:36chadmed[m]it was actually pretty reliable via one and only one usb-c port on my dev machine, and refused to work via any others or via my tb3 dock
14:36chadmed[m]theyre just cheap usb 2.0 cables
14:38chadmed[m]usb truly is the greatest thing ever
14:44chadmed[m]do any of those have thunderbolt on board yet
15:05amarioguy has joined #asahi-re
15:07Jamie[m](it's slow because i'm hooking the firmware writes, so it takes like 5-10 seconds to write the firmware)
15:25amarioguy has quit [Remote host closed the connection]
16:04chengsun has joined #asahi-re
16:16chengsun_ has joined #asahi-re
16:16chengsun has quit [Remote host closed the connection]
16:29MajorBiscuit has quit [Quit: WeeChat 3.5]
17:33fmstrat has quit [Ping timeout: 480 seconds]
17:41goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:42fmstrat has joined #asahi-re
17:59amarioguy has joined #asahi-re
21:08goldsoultheory has joined #asahi-re
21:25SSJ_GZ has quit [Ping timeout: 480 seconds]
22:42goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:48goldsoultheory has joined #asahi-re