#
✕ nick:marcan
#asahi-dev · 2021-11-23 15:48
marcan #107 @ 0x7ac0268 ep= 0x0 0x70000000000010
#asahi-dev · 2021-11-23 15:48
marcan #105 @ 0x7aba484 ep= 0x0 0xb0000000000010
#asahi-dev · 2021-11-23 15:48
marcan #104 @ 0x7ab9b39 ep= 0x0 0xb0000000000010
#asahi-dev · 2021-11-23 15:48
marcanfor DCP it does this (you have to imagine the directions)
#asahi-dev · 2021-11-23 15:46
marcanthough that might've been when I was initializing it...
#asahi-dev · 2021-11-23 15:46
marcanin fact it dies a bad death on t6000 if I kill SPMI
#asahi-dev · 2021-11-23 15:46
marcanit has to keep running even without the OS
#asahi-dev · 2021-11-23 15:46
marcanalso, I don't think SMC is even in a low power state?
#asahi-dev · 2021-11-23 15:45
marcanplease do
#asahi-dev · 2021-11-23 15:45
marcan(I still don't understand why they lock down DCP firmware and then put the entire data section in writable memory...)
#asahi-dev · 2021-11-23 15:44
marcanwhich also means we can also *censored*... :p
#asahi-dev · 2021-11-23 15:44
marcanand yeah, I thought so
#asahi-dev · 2021-11-23 15:43
marcanmakes sense
#asahi-dev · 2021-11-23 15:43
marcanI also do wonder if DCP can actually be reset properly
#asahi-dev · 2021-11-23 15:42
marcansure
#asahi-dev · 2021-11-23 15:42
marcanor at least make it a separate function
#asahi-dev · 2021-11-23 15:39
marcanwe have 6 as "start" and b as "start syslog" but that might be total BS
#asahi-dev · 2021-11-23 15:38
marcanb is for syslog, yeah
#asahi-dev · 2021-11-23 15:38
marcanit actually sends the start command with another arg, which I guess makes that command the "set power/mode" command
#asahi-dev · 2021-11-23 15:37
marcansame with DCP
#asahi-dev · 2021-11-23 15:37
marcanthe .stop() thing
#asahi-dev · 2021-11-23 15:37
marcanyes, that's what I do now in m1n1
#asahi-dev · 2021-11-23 15:37
marcanshouldn't be as insane as the DCPEP stuff, but we'd still need the RTKit parts...
#asahi-dev · 2021-11-23 15:37
marcanso if it comes down to it, we can *probably* implement a client for that in m1n1 to kick the display on the Mac Mini
#asahi-dev · 2021-11-23 15:36
marcan(yay confusing name)
#asahi-dev · 2021-11-23 15:36
marcanthough I have mostly figured out that it initializes about 4 of the EPIC endpoints (the ones we haven't looked at yet beyond the ring buffer...), and one of them, DISP0 I believe, is actually the iBoot protocol
#asahi-dev · 2021-11-23 15:36
marcanI was hoping to be able to crash DCP early enough to get a nice log of everything iBoot does, but it doesn't quite fit in 128 entries :(
#asahi-dev · 2021-11-23 15:35
marcanyeah, same, but you know :p
#asahi-dev · 2021-11-23 15:35
marcanat least the message and mailbox log and some misc stuff
#asahi-dev · 2021-11-23 15:35
marcanoh also, the m1n1 rtkit stuff now parses crashlogs partially
#asahi-dev · 2021-11-23 15:34
marcan(probably when I wake up tomorrow)
#asahi-dev · 2021-11-23 15:34
marcanI'll get the pmgr branch ready then, as soon as you give me the OK on that I'll fire it off
#asahi-dev · 2021-11-23 15:34
marcankk
#asahi-dev · 2021-11-23 15:33
marcan?
#asahi-dev · 2021-11-23 15:33
marcangot a branch>
#asahi-dev · 2021-11-23 15:33
marcanheh
#asahi-dev · 2021-11-23 15:32
marcanjust want to know the code isn't made of fail :)
#asahi-dev · 2021-11-23 15:32
marcandid you actually try using it yet? if so that's good enough for me
#asahi-dev · 2021-11-23 15:31
marcansven: the reset stuff?
#asahi-dev · 2021-11-23 15:31
marcanfwiw, I added shutdown support to the m1n1 client stuff; tested with SMC at least a few times until it crashes with an overflow (I think we aren't fully initializing/polling something)
#asahi-dev · 2021-11-23 15:30
marcansven: think it's worth throwing PMGR reset support into the rtkit/ans stuff, so we can recover from a wedged ANS and exercise that feature in the pmgr stuff?
#asahi-dev · 2021-11-23 15:29
marcanthere's one more potential one
#asahi-dev · 2021-11-23 15:29
marcanspeaking of yaks shaved, I think I'm done with almost the ones I wanted to shave before sending the PMGR series
#asahi-dev · 2021-11-23 15:28
marcanhttps://mrcn.st/t/yak.jpg
#asahi-dev · 2021-11-23 15:27
marcanhave I ever shared that comment my old boss wrote on the whiteboard when I was at Google with this crowd?
#asahi-dev · 2021-11-23 15:27
marcan_jannau_: hey, you know we shave all the yaks over here ;)
#asahi-dev · 2021-11-23 15:26
marcanI think there's AOP I2C to it, so in principle they could implement fancier stuff
#asahi-dev · 2021-11-23 14:36
marcan... whoops, broke the build, but apparently not with my compiler. repushed.
#asahi-dev · 2021-11-23 14:33
marcanjannau: pushed a change to disable the missing i2c devices (and it's generalized, so I use it for USB too and got rid of the old function for that)
#asahi-dev · 2021-11-23 13:05
marcanpovik: not exactly how I'd do it, but I like the concept. I'll probably do something like that on top of the verbose flag gate once we start shipping this with u-boot pre-bundled

plus ›