#asahi-dev · 2022-03-28 03:50
nicolas17well sure, just checking if I understood the situation :)#asahi-dev · 2022-03-28 03:50
nicolas17Jamie[m]1: would it be easier to RE AVD on the M1 with the older DART then?#asahi-dev · 2022-03-28 03:49
nicolas17"didn't want to RE both unknowns at the same time"#asahi-dev · 2022-03-28 03:07
nicolas17chadmed: http://phpsadness.com/sad/52#asahi-dev · 2022-03-28 02:35
nicolas17rqou_: that is indeed A15... "backported" dart block?#asahi-dev · 2022-03-26 07:35
nicolas17from Retr0id: https://cdn.discordapp.com/attachments/779844089196576809/908436702484365372/PXL_20211111_192046702.jpg https://cdn.discordapp.com/attachments/779844089196576809/908436716162007040/PXL_20211111_192117778.jpg#asahi-dev · 2022-03-24 21:25
nicolas17I wouldn't be surprised if darling doesn't support arm64 and that could be relevant, but beyond that...#asahi-dev · 2022-03-24 21:24
nicolas17"we finally have basic experimental support for running simple graphical applications"#asahi-dev · 2022-03-24 21:23
nicolas17but it's waaaay behind something like Wine#asahi-dev · 2022-03-24 21:23
nicolas17there's https://www.darlinghq.org/#asahi-dev · 2022-03-24 21:23
nicolas17ah well#asahi-dev · 2022-03-24 21:22
nicolas17there's hundreds of huge frameworks#asahi-dev · 2022-03-24 21:22
nicolas17to find what? :P#asahi-dev · 2022-03-24 18:29
nicolas17still, seems that was relatively simple :)#asahi-dev · 2022-03-24 18:28
nicolas17ah#asahi-dev · 2022-03-24 18:24
nicolas17but some of that stuff is like "turn on the cores on the other die", without that patch it still booted without those cores?#asahi-dev · 2022-03-24 18:23
nicolas17ah nice#asahi-dev · 2022-03-24 18:21
nicolas17wait so did it Just Boot on the ultra?#asahi-dev · 2022-03-23 15:50
nicolas17yeah, on the one hand Asahi doesn't even boot on the Mac Studio yet, on the other hand there's plenty of research and dev to do that can be done even on the cheapest M1 Mac Mini#asahi-dev · 2022-03-22 21:16
nicolas17idk if this wireshark thing is useful but at least it got my executive functioning un-stuck yesterday#asahi-dev · 2022-03-22 20:36
nicolas17me playing around with a DCP wireshark dissector while having a hundred other things to do#asahi-dev · 2022-03-22 04:05
nicolas17I'm just exploring the possibilities, with my current code it would be completely impractical to decode all the methods#asahi-dev · 2022-03-22 04:00
nicolas17marcan: https://cdn.imgpaste.net/2022/03/22/KMfV0u.png starts to look more useful with request-response tracking :)#asahi-dev · 2022-03-22 03:56
nicolas17so asahi-installer has its own python3 :)#asahi-dev · 2022-03-22 03:51
nicolas17https://twitter.com/mikeymikey/status/1486772339622567937#asahi-dev · 2022-03-22 03:50
nicolas17kode54: nope, Xcode has python3#asahi-dev · 2022-03-22 01:16
nicolas17yeah I saw that the magic of construct and ipc.py lets you use the same code to dissect and to marshal new calls#asahi-dev · 2022-03-22 01:06
nicolas17and instead of figuring out how to explain that idea I decided to make a proof of concept https://cdn.imgpaste.net/2022/03/22/KMTj2v.png#asahi-dev · 2022-03-22 01:05
nicolas17I was wondering if Wireshark would be useful for tinkering with coprocessor protocols#asahi-dev · 2022-03-22 01:04
nicolas17so#asahi-dev · 2022-03-22 00:46
nicolas17I see, all Pointers are nullable and that adds an extra bool#asahi-dev · 2022-03-22 00:41
nicolas17marcan: ohh, I figured 4 bytes couldn't be padding, but if the 00 is relevant that changes things :)#asahi-dev · 2022-03-21 23:43
nicolas17ok I did get it parsed into <d[0x0] D414 ServiceRelay::sr_setProperty_int(obj='IOMF', key='bics_mode', value=0) but it seems there's 4 more bytes at the end (00 ff ff ff) and I don't know what they are#asahi-dev · 2022-03-21 22:32
nicolas17is this actual leftover garbage in memory because the client only writes bics_mode\0 and leaves whatever was left in the remaining bytes untouched?#asahi-dev · 2022-03-21 22:31
nicolas17the data I'm seeing has "FMOI" (probably the fourcc "IOMF" in little endian) but then the following 0x40 bytes are "bics_mode" + a few nulls + more garbage, I expected it to be all null-padded...#asahi-dev · 2022-03-21 22:30
nicolas17D414 = Callback(bool_, "sr_setProperty_int", obj=FourCC, key=string(0x40), value=InPtr(uint64_t))#asahi-dev · 2022-03-21 22:30
nicolas17hm#asahi-dev · 2022-03-21 21:01
nicolas17oh dcp/ipc.py has two things called Call, I was *so* confused#asahi-dev · 2022-03-21 20:06
nicolas17clearly the second one is what's being passed to Call()#asahi-dev · 2022-03-21 20:06
nicolas17well I don't know if the first msg being overwritten is a problem#asahi-dev · 2022-03-21 19:53
nicolas17marcan: https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/fw/dcp/parse_log.py#L11 that mentions 'msg' twice so it's overwriting it...#asahi-dev · 2022-03-21 19:16
nicolas17curl deals with it anyway, wget gives a bizarre error :D#asahi-dev · 2022-03-21 19:15
nicolas17jannau: btw, your server seems to be misconfigured and http://www... redirects to https:/www... (single slash)#asahi-dev · 2022-03-21 19:13
nicolas17cool thanks both#asahi-dev · 2022-03-21 19:07
nicolas17okay so this is not as low level of a trace as I thought but could still be interesting... could you send me such a trace file if you have one laying around...?#asahi-dev · 2022-03-21 19:05
nicolas17so that way at least some of the parsing is done "offline" later from the trace file and not during "capturing", right?#asahi-dev · 2022-03-21 19:02
nicolas17reading the code it seems DCP trace files aren't quite a "raw binary dump" either :P#asahi-dev · 2022-03-21 17:31
nicolas17sven: oh, you mean the stuff you use in m1n1 to intercept ANS comms outputs parsed text directly?#asahi-dev · 2022-03-21 16:30
nicolas17sven: can you share a m1n1 trace file for ANS or some other rtkit thing? I wanted to look into the protocol but uh I don't own M1 hardware >.>#asahi-dev · 2022-03-21 05:50
nicolas17oh huh