#
#asahi-re · 2022-10-26 14:54
amarioguyhmm been testing s3_4_c15_c10_4 (want to figure out what bits do what), doesn't seem to be doing anything (SYS_IMP_APL_CYC_OVRD does actually seem to disable irqs/fiqs) on t6002 (been poking it with m1n1, trying to raise IRQs to see what happens, but they seem to go off as they normally do)
#asahi-re · 2022-10-22 08:28
sventag is probably just an id to match a request to a response
#asahi-re · 2022-10-22 08:27
svendon’t remember why I had two sepmessages, probably one is just a leftover
#asahi-re · 2022-10-22 00:31
amarioguyhw:sep wiki page is updated with stuff for the record
#asahi-re · 2022-10-22 00:02
amarioguylooking forward to tackling this day over day, but think i did a lot for one day lol
#asahi-re · 2022-10-21 23:58
amarioguyokay lot of interesting findings about xART init (one big one is that the "tag" when fetching xART lockers seems to increase incrementally the more lockers it finds), i need to process this a bit more tomorrow but otherwise felt great doing the mmio tracing
#asahi-re · 2022-10-21 23:11
amarioguy(note: SKS uses the other kind of message, just found that out now
#asahi-re · 2022-10-21 22:12
amarioguyesp. since it seems only the "SEPMessage" is used in practice
#asahi-re · 2022-10-21 22:11
amarioguysven - btw why are there two different definitions of SEPMessage in the tracer? was that part of that "secondary" IPC you were talking about before
#asahi-re · 2022-10-21 22:05
amarioguy(this is explicitly printed in xnu bootlog btw)
#asahi-re · 2022-10-21 22:04
amarioguyponders why HDCP endpoint is turned on then off then on again
#asahi-re · 2022-10-21 22:04
amarioguyHW:SEP should be updated again by end of today
#asahi-re · 2022-10-21 22:03
amarioguy(not complaining or anything just a really interesting experience)
#asahi-re · 2022-10-21 22:02
amarioguyman the mmio tracing here is having me take a lot of disorganized notes lol
#asahi-re · 2022-10-21 17:06
amarioguyxnu single user mode is definitely helpful for this lol
#asahi-re · 2022-10-21 17:05
amarioguyis attempting to decode what the xART messages mean
#asahi-re · 2022-10-18 14:22
amarioguy2(12.3.1, two partitions i mean)
#asahi-re · 2022-10-18 14:22
amarioguy2w/e the case on backcompat (i'm starting on one OS version anyways for tracing), definitely doing xarts first
#asahi-re · 2022-10-18 14:07
amarioguy2right
#asahi-re · 2022-10-18 14:05
sventhe firmware is essentially an opaque blob for us. and as i said, it's somewhere in RAM with the address passed in the ADT anyway
#asahi-re · 2022-10-18 14:04
svenso?
#asahi-re · 2022-10-18 14:04
svenand you can just dump the NOR from linux
#asahi-re · 2022-10-18 14:04
amarioguy2identifier for fw is in there
#asahi-re · 2022-10-18 14:04
amarioguy2headers are not though
#asahi-re · 2022-10-18 14:04
svenit's encrypted anyway
#asahi-re · 2022-10-18 14:04
amarioguy2issue is that i spent a decent amount on this t6002 would rather not do that lol
#asahi-re · 2022-10-18 14:03
amarioguy2could always dump the raw NOR :D
#asahi-re · 2022-10-18 14:03
svenactually wouldn't surprise me if it is
#asahi-re · 2022-10-18 14:03
svenand the firmware might actually be inside the NOR flash depending on how early iboot wants to bring SEP up
#asahi-re · 2022-10-18 14:01
svenhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/hw/sep.py dunno if it still works
#asahi-re · 2022-10-18 14:00
sventhere's code somewhere in m1n1 to boot it
#asahi-re · 2022-10-18 14:00
sveniboot puts the firmware in memory
#asahi-re · 2022-10-18 14:00
svenwe probably only care about a subset of what it does anyway. right now I can only think about touchid and secure key store/filevault
#asahi-re · 2022-10-18 14:00
amarioguy2iirc on the iOS side at least (not sure how applicable it is to the mac side) SEP is loaded by iBoot2, so unless they shove it in NOR or smth, i'd imagine the SEP firmware for the OS install is on the preboot partition
#asahi-re · 2022-10-18 13:59
_jannau_I'd hope that SEP is overall much smaller than DCP
#asahi-re · 2022-10-18 13:55
sven26: "generic_operation", <-- that call is that other IPC protocol iirc
#asahi-re · 2022-10-18 13:54
marcan(and SMC for that matter)
#asahi-re · 2022-10-18 13:54
svenyeah
#asahi-re · 2022-10-18 13:54
svenbut there's also at least a secondary IPC on top of the first one
#asahi-re · 2022-10-18 13:54
marcansame as ANS
#asahi-re · 2022-10-18 13:54
marcanthey can't, it has to be forever backwards compatible
#asahi-re · 2022-10-18 13:53
svenI think it's at least a bit more sane though and they shouldn't be able to break the API all the time
#asahi-re · 2022-10-18 13:53
svenSEP could well be DCP-level insanity :-P
#asahi-re · 2022-10-18 13:49
amarioguy2i know DCP is a royal pain anyways so it's fine
#asahi-re · 2022-10-18 13:49
amarioguy2fair enough, dw about it
#asahi-re · 2022-10-18 13:47
svenI don't think i'll have enough time to look at them
#asahi-re · 2022-10-18 13:45
amarioguy2do you want me to upload logs i get somewhere in case you want to take a look at anything
#asahi-re · 2022-10-18 13:45
amarioguy2yep
#asahi-re · 2022-10-18 13:43
svenit won't even expose the sks endpoint before it did some xARTs init dance
#asahi-re · 2022-10-18 13:43
sventhat shouldn't be very spammy and it's also the first thing required to get SEP up

plus ›