#asahi · 2023-08-21 06:55
marcanno, we do it in m1n1#asahi · 2023-08-21 06:55
marcan(basically it boots in "DFU" mode)#asahi · 2023-08-21 06:55
marcanso I think initially it runs from ROM only, that's how they implement the relative recoverability/safety#asahi · 2023-08-21 06:54
marcanfirmware is in flash but xnu commands the patch load I think#asahi · 2023-08-21 06:52
marcanbut story for another day#asahi · 2023-08-21 06:52
marcanso if it comes to that we can probably go full RE on this mess and see what's possible#asahi · 2023-08-21 06:52
marcanI think someone managed to do it#asahi · 2023-08-21 06:52
marcanI think it *is* possible to grab the firmware out of these things, but it probably needs swd shenanigans#asahi · 2023-08-21 06:52
marcansigh#asahi · 2023-08-21 06:51
marcanfriend still has a monitor that goes straight into 4-lane DP+USB2 which is ridiculous (on macOS)#asahi · 2023-08-21 06:51
marcandid we ever figure out if they manage to not screw up negotiation for DP+USB3 modes?#asahi · 2023-08-21 06:50
marcanlovely#asahi · 2023-08-21 06:50
marcanshould be easy to iterate the ports and find the first output and call it the boot display then#asahi · 2023-08-21 06:50
marcanso we just have to query it to see if it found any?#asahi · 2023-08-21 06:50
marcantipd in general sets up the alt modes by itself, right?#asahi · 2023-08-21 06:49
marcanbut it shouldn't be too painful given we're not dealing with linux and hotplug right?#asahi · 2023-08-21 06:48
marcanright#asahi · 2023-08-21 06:48
marcanI mean obviously it works on laptops for the disp0 output at *least*#asahi · 2023-08-21 06:48
marcanyeah#asahi · 2023-08-21 06:48
marcanah ok#asahi · 2023-08-21 06:48
marcansven: how hard is it to stupid hardcode dpalt mode for atcphy?#asahi · 2023-08-21 06:47
marcanso it'll be interesting to find out what it does and whether we can use it to bring up display on M2 desktops without full dcpep which would *suck*#asahi · 2023-08-21 06:47
marcanbut I do know iBoot screws around with the other EPIC endpoints too since I saw the mailbox logs#asahi · 2023-08-21 06:46
marcanI've actually never looked at the iBoot dcp side before, the stuff we have in m1n1 was blindly reversed from the DCP *firmware* side#asahi · 2023-08-21 06:45
marcanguess I have some ghidraing to do...#asahi · 2023-08-21 06:43
marcanI did not#asahi · 2023-08-21 06:43
marcanwhy did nobody tell me?!#asahi · 2023-08-21 06:42
marcanoooh#asahi · 2023-08-21 06:42
marcanwait M2?#asahi · 2023-08-21 06:39
marcanthough I guess getting keys for M2 builds would require someone with a dev/etc t8112 which is a whole different story...#asahi · 2023-08-21 06:38
marcan:/#asahi · 2023-08-21 06:38
marcanthat would've been *really* useful to have since it would tell us what the right way to talk to DCP to enable video via the iBoot protocol/etc on M2 with the display mux is#asahi · 2023-08-21 06:37
marcanannoyingly, we only have iBoot keys up to 13.0beta1, which is like a month before M2 came out#asahi · 2023-08-21 06:35
marcanjust needs basic bringup (hopefully)#asahi · 2023-08-21 06:34
marcanall the 2023 ones have a new wifi chip#asahi · 2023-08-21 06:34
marcanonly blocker there is me getting wifi up, and me being annoyed we still can't support desktops :p#asahi · 2023-08-21 06:34
marcanwhich is why M2* is not a problem there#asahi · 2023-08-21 06:34
marcanyes, laptops still do early framebuffer bring-up#asahi · 2023-08-21 06:33
marcanand blinks orange when in recovery panic mode etc#asahi · 2023-08-21 06:33
marcanit goes dimmer when you've held it down for long enough#asahi · 2023-08-21 06:33
marcannow they ditched it and they use the power LED for signaling#asahi · 2023-08-21 06:33
marcanthey used to have that in 11.x when they did display bring-up on HDMI#asahi · 2023-08-21 06:33
marcandoesn't exist on desktops :D#asahi · 2023-08-21 06:28
marcandrawn by WindowServer presumably#asahi · 2023-08-21 06:28
marcanI think that's literally userspace by then#asahi · 2023-08-21 06:28
marcanyeah, by then the gpu and everything is up and redraws it#asahi · 2023-08-21 06:27
marcanthere isn't even an apple logo in the framebuffer any more#asahi · 2023-08-21 06:27
marcanthat went away with 12.x#asahi · 2023-08-21 06:27
marcanthey don't enable *any* outputs#asahi · 2023-08-21 06:26
marcan(someday someone will be bored enough to implement that but yeah, if you need to mess with your bootloader, please hook up via DP if only temporarily)