#
#asahi-re · 2022-04-07 18:14
svenit should be behind a t6000 dart at least
#asahi-re · 2022-04-07 18:13
svenhrm, let me check if I ever pushed my code to drive that AES engine
#asahi-re · 2022-04-07 18:13
rqou_i'm driving them with m1n1 python scripts and polling for the done bit
#asahi-re · 2022-04-07 18:13
rqou_i do know of such devices (jpeg, prores), but i don't know how to get any useful timings
#asahi-re · 2022-04-07 18:12
svenif it bypasses the cache that should be slower
#asahi-re · 2022-04-07 18:12
svendo you have some device for which you can easily trigger a read from a page and time it?
#asahi-re · 2022-04-07 18:11
svenyeah
#asahi-re · 2022-04-07 18:11
svenhrm, so write and read protection also moved around compared to t8103
#asahi-re · 2022-04-07 18:11
rqou_t8020 also appears to have wrprot at bit7 and rdprot at bit8 according to the symbols
#asahi-re · 2022-04-07 18:10
rqou_i'm not sure how i would go about testing whether device accesses are bypassing cache though
#asahi-re · 2022-04-07 18:10
rqou_which for t6000 and t8110 indeed look the same, with bits 0-3 being valid, uncacheable, wrprot, rdprot
#asahi-re · 2022-04-07 18:09
rqou_sven: re DART "uncacheable": i'm going off of the DWARF symbols in the KDK KernelSupport object files which contain a DW_TAG_typedef for "tXXXXdart_l3tte_t"
#asahi-re · 2022-04-07 08:15
svenamarioguy: finally found the slightly better sep trace i worked on a while ago. it's probably broken though https://f.svpe.de/d48b3719f56e413e94ca40a6e9cbc8636577695c66054ef44093270998999449_trace_sep.py
#asahi-re · 2022-04-07 06:06
rqou_is this related to AGX compression or is this a different way to make data be tiled?
#asahi-re · 2022-04-07 06:06
rqou_does anybody know what IOSurface::getTileHeaderRegionOffsetOfPlane does?
#asahi-re · 2022-04-07 03:44
rqou_i asuume _that_ might be related to some of the magic flags that are also not understood
#asahi-re · 2022-04-07 03:42
rqou_in addition to the magic quality parameters, i do still have a concern of "how the heck does the hardware know what size of descriptor it should be reading?"
#asahi-re · 2022-04-07 03:38
Jamie[m]1ayy
#asahi-re · 2022-04-07 03:26
rqou_in other news, i have an experiment that's able to drive the prores encoder usefully
#asahi-re · 2022-04-07 03:26
rqou_anybody have any guesses what these prores parameters might control? https://github.com/rqou/m1n1/blob/prores/proxyclient/experiments/prores.py#L621
#asahi-re · 2022-04-06 23:56
nicolas17M1 has the recfg engine thing too right?
#asahi-re · 2022-04-06 16:18
marcanand full system sleep via PSCI too
#asahi-re · 2022-04-06 16:18
marcanon the short term list are figuring out how to make sleep work for brcmfmac, whether we can power down/up the PCIe controllers sanely, doing the PSCI-over-UEFI thing for CPU deep idle, shutdown/startup, and deep sleep
#asahi-re · 2022-04-06 15:18
amarioguysounds like it's "almost everything" lol
#asahi-re · 2022-04-06 15:18
amarioguymarcan: like an overall picture, just kinda a "what's left" in that regard
#asahi-re · 2022-04-06 15:17
nicolas17amarioguy: not the first time things ended up in ipsws that weren't supposed to be there >.>
#asahi-re · 2022-04-06 15:17
marcanin what sense? haven't really done much since the release, too busy working around Apple bugs and catching up on everything I slacked off on
#asahi-re · 2022-04-06 15:16
amarioguybtw how's power management progress?
#asahi-re · 2022-04-06 15:16
amarioguyfair enough
#asahi-re · 2022-04-06 15:16
marcan(of course, as with other kinds of RE in general, whether you're okay getting ahold of them or not in the first place is a personal decision; I'm strictly talking about the project stance here, not individual liability)
#asahi-re · 2022-04-06 15:13
marcantechnically that would also include leaked schematics, but I make an exception for those because facts are not copyrightable, they are widely available, considered critical for repair, practically useless for evil purposes, and it is almost impossible for us to end up infringing their copyright by merely looking things up in them and using the learned information
#asahi-re · 2022-04-06 15:11
marcanwhen I say leaks I mean things like that iBoot source code leak, or internal tooling, and things like that
#asahi-re · 2022-04-06 15:09
amarioguyawesome, APFS stuff just got easier lol
#asahi-re · 2022-04-06 15:09
marcancorrect
#asahi-re · 2022-04-06 15:09
amarioguygotcha, so sounds like it's fair game since these are in official, final released seeds just accidental releases
#asahi-re · 2022-04-06 15:08
marcan"leaks" means stolen or similar in the context of the policy; anything officially published does not count, accidental or not
#asahi-re · 2022-04-06 15:06
amarioguydo we treat this as a leak and therefore offlimits since it was an accident (in all 12.3 seeds) or is this development kernelcache fair game for something like m1n1 tracing (definitely not binary RE) since other than the development kexts, it's identical to what the KDK would give and it's in an official IPSW
#asahi-re · 2022-04-06 15:06
amarioguymarcan: want some clarification on the RE policy since this is kind of an edge case here: with the 12.3 and 12.3.1 IPSWs (all 12.3.x seeds actually), complete dev kernelcaches accidentally ended up shipping with these (the difference between these and the KDK stuff is a number of kexts are shipped as development versions, including apfs)
#asahi-re · 2022-04-06 15:02
amarioguyi'd assume that too, since it's still a14 based at the end of the day
#asahi-re · 2022-04-06 14:57
svenbut i'd assume they're very similar if not the same
#asahi-re · 2022-04-06 14:57
svenno idea, i only have t8103 as well
#asahi-re · 2022-04-06 14:57
amarioguysven: right right. any major SEP changes between t8101 and t600x platforms i should be aware of? have a t8101, still waiting on a t6002
#asahi-re · 2022-04-06 14:55
sventhe first step would be to understand SEP and probably implement some features into sep.py
#asahi-re · 2022-04-06 14:55
amarioguymarcan: i see, so any SEP works relies on the APFS driver not crashing and burning first right?
#asahi-re · 2022-04-06 14:51
marcanxARTS requires a very limited set of operations, namely in-place overwrites of a single file, though with the CoW nature of APFS I'm not sure how overcomplicated even that could turn out to be
#asahi-re · 2022-04-06 14:51
svenmost things will probably have to be done inside userland
#asahi-re · 2022-04-06 14:50
marcanso a prereq here is a bunch of audit/lockdown work on linux-apfs to convince ourselves that either 1) it's stable enough it'll *never* break the iSC, or 2) we can mount it with some kind of restriction option that disables enough things we can consider it stable
#asahi-re · 2022-04-06 14:49
marcanit's systemwide and not practical to replace/duplicate
#asahi-re · 2022-04-06 14:49
marcanand iBoot, yes
#asahi-re · 2022-04-06 14:49
amarioguyright since the xART partition macOS normally uses is an APFS partition right

plus ›