#
✕ nick:millenialhacker
#asahi-dev · 2022-04-26 17:07
millenialhackerbut i see sometimes dart regs are written with same values like when we set TTBR[0-16] in other offsets which makes me thing there more supported SIDs on those.
#asahi-dev · 2022-04-26 17:03
millenialhackersometimes not
#asahi-dev · 2022-04-26 17:03
millenialhackeryeah i noticed that sometimes these three darts are are using same translation tables
#asahi-dev · 2022-04-26 15:38
millenialhackerI think ISP also have more than 16
#asahi-dev · 2022-04-26 13:38
millenialhackerI think I mean 16 streams per DART
#asahi-dev · 2022-04-26 13:26
millenialhackersilly question: how do we know there are 16 TTBRs per DART unit?
#asahi-dev · 2022-04-24 17:36
millenialhackerj`ey what beauty :)
#asahi-dev · 2022-04-24 17:36
millenialhackerCool!
#asahi-dev · 2022-04-24 17:32
millenialhackercan I access Mac OSX serial console when I'm running under hypervisor?
#asahi-dev · 2022-04-22 22:16
millenialhackersven I'm trying to understand a little bit deeper the Apple IOMMU (aka DART). Is there any general doc that may help? e.g ARM SMMU spec doc?
#asahi-dev · 2022-04-20 21:13
millenialhackertypo was also in my search query :S
#asahi-dev · 2022-04-20 21:13
millenialhackerI was looking with SMPI in google and I didn't found
#asahi-dev · 2022-04-20 21:13
millenialhackeryes, that one, sorry
#asahi-dev · 2022-04-20 21:12
millenialhackersven: what's is SMPI?
#asahi-dev · 2022-04-20 21:09
millenialhackerOk, I was wrong. RTKIT 1827.100.26 :(
#asahi-dev · 2022-04-20 16:30
millenialhackerbut it has some interesting stuff related to I2C/GPIO and ANE. I feel I was going in the wrong direction all this time. but at least that's some progress, isn't?
#asahi-dev · 2022-04-20 16:29
millenialhackerI'm 99% sure that ISP doesn't use Mailbox or ASC RTKit stuff
#asahi-dev · 2022-04-20 16:29
millenialhackerthanks!
#asahi-dev · 2022-04-20 15:28
millenialhackerwhich is kind of useless xD
#asahi-dev · 2022-04-20 15:28
millenialhackerI know the physical addresses of some registers, but not their virtual address
#asahi-dev · 2022-04-20 15:26
millenialhackerlike reverse translation
#asahi-dev · 2022-04-20 15:26
millenialhackersven, marcan: there's any way I can know the vma of a given phy address?
#asahi-dev · 2022-04-20 10:43
millenialhackerdoes anyone has idea what this range is used for 0x23B700000 - 0x23B78C000. I see a lot of noise coming from this area and ADT seems to point these register are used for performance, error and log reporting, but I want to get some inputs from you.
#asahi-dev · 2022-04-19 16:02
millenialhackerholycow, I think the pattern repeats over each camera frame
#asahi-dev · 2022-04-19 15:53
millenialhackere.g. https://pastebin.com/2QWrf2vi
#asahi-dev · 2022-04-19 15:47
millenialhackerso I'm wondering if this could be some kind of polling between host and ISP
#asahi-dev · 2022-04-19 15:46
millenialhackerI actually copy pasted the logs, and then selected like 50 lines of memory accesses and then find them using VSCode and they get repeated over and over.
#asahi-dev · 2022-04-19 15:46
millenialhackerregarding isp, I noticed a pattern of access some memory regions that get's repeated over and over. :D
#asahi-dev · 2022-04-19 14:25
millenialhackershould I document that stuff, right?
#asahi-dev · 2022-04-19 14:25
millenialhackersven: yeah, it seems next 4 bytes are just the upper bits of the 64 bit counter
#asahi-dev · 2022-04-19 14:22
millenialhackerD:
#asahi-dev · 2022-04-19 14:22
millenialhackerbut I'm almost sure all of you are right, so no need to do the math
#asahi-dev · 2022-04-19 14:21
millenialhackerI was planning to count number of reads per second
#asahi-dev · 2022-04-19 14:21
millenialhackerholy cow guys, I didn't spot that one
#asahi-dev · 2022-04-19 14:20
millenialhackerSorry for the question, just curious, trying to learn here
#asahi-dev · 2022-04-19 14:20
millenialhackersven: how did you get is related to 24Mhz clock?
#asahi-dev · 2022-04-19 14:15
millenialhackersven: definely some kind of counter, timer, each 3 mins it does a full cycle and next subsequent word (+4 bytes) get incremented in one.
#asahi-dev · 2022-04-19 13:12
millenialhackersven: ring stuff makes sense, it always come back to lower addresses after some time
#asahi-dev · 2022-04-19 13:11
millenialhackere.g: https://pastebin.com/vAJ8AmHz
#asahi-dev · 2022-04-19 13:10
millenialhackerHi! here working on ISP, I notice a memory address which gets written always with a incrementing value but step between value and value is not constant. Have you ever seen a similar pattern?
#asahi-dev · 2022-04-18 21:13
millenialhackerLike: https://pastebin.com/uEuWef9A
#asahi-dev · 2022-04-18 21:10
millenialhackerI'm trying to do some analysis based on most-frequent accessed io memory addresses. Have anyone tried something like that? I created some utilities methods in Tracer class but I want to know if not reinventing the wheel
#asahi-dev · 2022-04-18 18:34
millenialhackerxD
#asahi-dev · 2022-04-18 18:34
millenialhacker[cpu1] [ISPTracer@/arm-io/isp] MMIO: W.4 0x22c104174 = 0xfeedbabe
#asahi-dev · 2022-04-18 18:34
millenialhackerThis is by far the most hilarious thing today:
#asahi-dev · 2022-04-18 16:51
millenialhackermarcan: I thought that ISP/Camera could be one low hanging fruit, it seems I'm deeply wrong and probably this is outside of my skillset, but will try to get more info. :)
#asahi-dev · 2022-04-18 16:40
millenialhackerOh, thanks!
#asahi-dev · 2022-04-18 16:39
millenialhackersven what do you mean exactly?
#asahi-dev · 2022-04-18 16:36
millenialhackerreading https://documentation-service.arm.com/static/5f900d34f86e16515cdc08fb?token=
#asahi-dev · 2022-04-18 16:33
millenialhackermarvan sven fyi, I just noticed mostly access to addresses ISP.REG[0] and DARTISP.REG[0] memory regions

plus ›