#
✕ nick:marcan
#asahi-re · 2021-07-31 09:34
marcandougall: hah
#asahi-re · 2021-07-16 01:50
marcanhttps://mrcn.st/p/AkZP2Inr mostly decoded trace of DCP calls, boot to desktop on the HV
#asahi-re · 2021-07-14 17:20
marcanhttps://mrcn.st/p/Eusu4iHk with most of the prototypes
#asahi-re · 2021-07-14 16:32
marcansome classes are now in the DCP, some classes are still in the AP
#asahi-re · 2021-07-14 16:32
marcansome arbitrary chunk of it anyway
#asahi-re · 2021-07-14 16:32
marcandottedmag: they did
#asahi-re · 2021-07-14 14:43
marcanopen-coded, a binding generator, something else...
#asahi-re · 2021-07-14 14:43
marcanstill haven't decided how I want to do this at all anyway, once we get to linux
#asahi-re · 2021-07-14 14:43
marcansure
#asahi-re · 2021-07-14 14:40
marcansighs
#asahi-re · 2021-07-14 14:40
marcanthere's a bunch like that
#asahi-re · 2021-07-14 14:40
marcanas far as I can tell those two are serialized exactly the same way, and have exactly the same effect
#asahi-re · 2021-07-14 14:40
marcan "D417": "bool IOMFB::ServiceRelay::setProperty(unsigned int, char const[0x40], OSArray const*)",
#asahi-re · 2021-07-14 14:40
marcan "D412": "bool IOMFB::ServiceRelay::setProperty(unsigned int, OSString<0x40> const*, OSArray const*)",
#asahi-re · 2021-07-14 14:40
marcanand yes they even have method overloading, because of course
#asahi-re · 2021-07-14 14:40
marcanhttps://mrcn.st/p/aa1igDYb Axxx are AP->DCP, Dxxx are DCP->AP
#asahi-re · 2021-07-14 14:39
marcanthere's AP->DCP calls and DCP->AP calls
#asahi-re · 2021-07-14 14:39
marcanmeanwhile DCP really is a giant marshalling glue
#asahi-re · 2021-07-14 14:37
marcanwe must go deeper
#asahi-re · 2021-07-14 14:37
marcanI love how we have coprocessors booting smaller coprocessors
#asahi-re · 2021-07-14 14:37
marcan[DCPTracer@/arm-io/dcp] [syslog] * [M3Hal_v1.cpp:196]IOMFB: load APT M3 DMem : size 0x4bc8
#asahi-re · 2021-07-14 14:37
marcan[DCPTracer@/arm-io/dcp] [syslog] * [M3Hal_v1.cpp:196]IOMFB: load APT M3 IMem : size 0x61f8
#asahi-re · 2021-07-13 09:56
marcanin that case u-boot should also do that and linux reinit, at least eventually
#asahi-re · 2021-07-13 09:55
marcanmakes sense
#asahi-re · 2021-07-13 09:12
marcanfair enough
#asahi-re · 2021-07-13 09:12
marcanah heh
#asahi-re · 2021-06-17 09:48
marcanin general we do not allow binary reverse engineering if you want to contribute to this project
#asahi-re · 2021-06-17 09:48
marcanmindfreeze: read https://alx.sh/re first
#asahi-re · 2021-05-20 03:28
marcanWelcome to Asahi Linux's new home on OFTC! Logs from Freenode up until 2021-05-19 have been backfilled into the OFTC log interface, to avoid a discontinuity and split search.
#asahi-re · 2021-02-19 03:52
marcannever_released: I think AMX is a bit in APSTATE but I don't know what the encoding for thatis yet
#asahi-re · 2021-02-18 18:34
marcanthe page compress/uncompress instructions and translate instruction might not like that
#asahi-re · 2021-02-18 18:34
marcando note that the other cores have the MMU off
#asahi-re · 2021-02-18 18:32
marcanfeel free to extend it with a cpu= argument where 0 is call() and others go through smp_call_sync or so
#asahi-re · 2021-02-18 18:31
marcan*inst()
#asahi-re · 2021-02-18 18:31
marcanto run it on other CPUs, you call p.smp_start_secondaries() first and then just copy/hack the instr() thing in util.py to use proxy.smp_call_sync() instead of proxy.call()
#asahi-re · 2021-02-18 18:30
marcanthe script is just stuff like https://mrcn.st/p/sBwViUh5 and manually poking around
#asahi-re · 2021-02-18 18:30
marcanI pushed a minor framework change
#asahi-re · 2021-02-18 18:30
marcan(has anyone with a serial cable *not* tried m1n1's python stuff? because you're totally missing out)
#asahi-re · 2021-02-18 18:30
marcan(it's adding one line of code at the top of my python script...)
#asahi-re · 2021-02-18 18:29
marcanI can try later anyway
#asahi-re · 2021-02-18 18:29
marcanthat would be madness
#asahi-re · 2021-02-18 18:29
marcanI did not, and I sure hope there aren't
#asahi-re · 2021-02-18 18:16
marcanbut the ARM instructions return via sysreg, the apple one returns via GPR
#asahi-re · 2021-02-18 18:16
marcanand the output format is the same even
#asahi-re · 2021-02-18 18:16
marcanthe thing is ARM *already has* instructions for translate address
#asahi-re · 2021-02-18 18:07
marcandavidrysk[m]: it's in there https://github.com/AsahiLinux/docs/wiki/HW:Apple-Instructions
#asahi-re · 2021-02-18 17:20
marcan(could just be some hint space Apple made for themselves, or PAC related or something)
#asahi-re · 2021-02-18 17:20
marcanthe previous subset all does "nothing" as far as I can tell, but does not fault; no idea what it is
#asahi-re · 2021-02-18 17:20
marcanit's literally the first thing that had an obvious effect (faulting), numerically, in the range
#asahi-re · 2021-02-18 17:20
marcanhttps://twitter.com/marcan42/status/1362450439845781505

plus ›