#
✕ nick:pipcet[m]
#asahi-dev · 2021-08-25 18:49
pipcet[m]sven: we need payload data so that's hard to do with interrupts
#asahi-dev · 2021-08-25 18:49
pipcet[m]sven: I tried the interrupt controller thing and another mailbox controller, didn't like either very much :-/
#asahi-dev · 2021-08-25 18:46
pipcet[m]oh. there's a file called smc.wiki in my home directory which I never uploaded because my net was down
#asahi-dev · 2021-08-25 18:45
pipcet[m]anyway, my fault for not documenting it properly :-(
#asahi-dev · 2021-08-25 18:45
pipcet[m]sven: IIRC it's the first thing it does, and tracing macos is good for you! builds moral fibre!
#asahi-dev · 2021-08-25 18:44
pipcet[m]no, mea culpa, never put it on the wiki :-/
#asahi-dev · 2021-08-25 18:43
pipcet[m]I've been using NTAP for a while and I think it's on the wiki :-)
#asahi-dev · 2021-08-25 18:42
pipcet[m]I would guess
#asahi-dev · 2021-08-25 18:42
pipcet[m]"notify Application Processor"
#asahi-dev · 2021-08-25 18:40
pipcet[m]\o/
#asahi-dev · 2021-08-25 15:02
pipcet[m]honestly I think sven is Mr DART and both options sound like work :P
#asahi-dev · 2021-08-25 14:47
pipcet[m]I've beaten up my Digital Crash Processor a bit more and I really don't think we should mix the interfaces if we can avoid it. I also don't like the current page table stealing hacks and am hoping you guys come up with something way better...
#asahi-dev · 2021-08-25 09:57
pipcet[m]alyssa: do you have timing info on your printks? on my system, the time between enabling the disp dart and switching the FB was perilously close to 1/60 s
#asahi-dev · 2021-06-11 19:46
pipcet[m]jannau: 45 decimal is the spinor CS line, I think?
#asahi-dev · 2021-05-30 12:35
pipcet[m]so it's a DAG not a tree?
#asahi-dev · 2021-05-30 09:21
pipcet[m]corrupt boot args, maybe?
#asahi-dev · 2021-05-29 22:56
pipcet[m]compatible-device-fallback=c64,sprite?
#asahi-dev · 2021-05-29 22:51
pipcet[m]weird, I would have expected two registers, one each for white level and black level
#asahi-dev · 2021-05-29 22:47
pipcet[m]what does it do?
#asahi-dev · 2021-05-29 21:04
pipcet[m](yeah, it's a large MMIO space...)
#asahi-dev · 2021-05-29 21:03
pipcet[m]bloom: I don't have many notes because I was looking for something else but 0x230046330/0x230046328 seemed very weird to me. They're counters increasing at different rates, if I'm reading this correctly, at least on this machine.
#asahi-dev · 2021-05-29 20:58
pipcet[m]it's not immediate, there's intermediate states that shouldn't be there
#asahi-dev · 2021-05-29 20:58
pipcet[m]while True: write32(0x230850000 + 124, 0x5220); write32(0x230850000 + 124, 0x5230)
#asahi-dev · 2021-05-29 20:42
pipcet[m]thought I was missing something in the code, sorry :-)
#asahi-dev · 2021-05-29 20:41
pipcet[m]you mean the code they dropped on january 20? :-)
#asahi-dev · 2021-05-29 20:39
pipcet[m]which version is that? The one I looked at only writes 0x5000 to 0x230850030
#asahi-dev · 2021-05-29 20:37
pipcet[m]wait, I thought they just did a single register write?
#asahi-dev · 2021-05-29 20:29
pipcet[m]bloom: now what I'd like to know is why macos gives me a pink screen of death just before it reboots when I do horrible things to it.
#asahi-dev · 2021-05-29 20:27
pipcet[m]oooh, that sounds likely
#asahi-dev · 2021-05-29 20:23
pipcet[m](I know virtually nothing about modern graphics. I understand it's not just bitblitting anymore?)
#asahi-dev · 2021-05-29 20:21
pipcet[m]bloom: beats me. If you want to see something really weird there is an MMIO range writes to which will temporarily "highlight" (make whiter) bits of the screen...
#asahi-dev · 2021-05-29 20:15
pipcet[m]oh, byte order then?
#asahi-dev · 2021-05-29 20:15
pipcet[m]right-to-left video? :-)
#asahi-dev · 2021-05-29 18:41
pipcet[m]we'll find out :-)
#asahi-dev · 2021-05-29 18:26
pipcet[m]ugh
#asahi-dev · 2021-05-29 18:26
pipcet[m]oh, iboot doesn't initialize to a decent resolution?
#asahi-dev · 2021-05-29 18:14
pipcet[m]"strings" also shows some strings that look like ADT keys for the macos kernel
#asahi-dev · 2021-05-29 18:14
pipcet[m]I think it's our best bet, and it's quite accurate as far as I can tell.
#asahi-dev · 2021-05-29 18:09
pipcet[m]jannau: my ADT also has an "#address-cels" property, so I suspect it wouldn't be the only typo
#asahi-dev · 2021-05-29 18:06
pipcet[m]and I'm not sure how much of the shared memory region is really mmio in disguise.
#asahi-dev · 2021-05-29 18:03
pipcet[m])bloom: I suspect the display stuff is indeed not fully reflected in the adt.
#asahi-dev · 2021-05-29 18:02
pipcet[m]the weird thing is I haven't seen anything in my mmiotraces yet, so decided to wait for marcan's instead.
#asahi-dev · 2021-05-29 18:01
pipcet[m]milek7: there's a master power switch in the SMC but no PWM as far as I can tell.
#asahi-dev · 2021-05-29 18:01
pipcet[m]milek7: probably, yes.
#asahi-dev · 2021-05-29 18:00
pipcet[m]and obviously the display controller is there...
#asahi-dev · 2021-05-29 18:00
pipcet[m]jannau: is there a part m1n1 doesn't parse? my parser also doesn't know about that range, which is why it was a bit weird to see it in the corellium code.
#asahi-dev · 2021-05-29 17:58
pipcet[m]I'm no longer entirely sure, but I think the "read only mirror" had different values when I started m1n1 in parallel to macos
#asahi-dev · 2021-05-29 17:56
pipcet[m]any idea how to find the frame buffer once macos moves it?
#asahi-dev · 2021-05-29 17:56
pipcet[m]maybe there are just two "surfaces", or "displays", or whatever?
#asahi-dev · 2021-05-29 17:55
pipcet[m]I can blank the backlight at least :-)

plus ›