<jannau>
porting involved just updating the API to the one documented in m1n1's tracer and powering the output on
yuyichao_ has quit [Ping timeout: 480 seconds]
<marcan>
_jannau_: it should work with bputil -r (or whatever the reduced mode option was)
<marcan>
bputil will *create* the boot policy for you
<marcan>
and do a bunch of what startup disk does
<marcan>
I'm going to add that to the installer since it's required to insulate us from the phone home requirement
<marcan>
just haven't gotten around to it yet
<marcan>
and yes, I did confirm that the API didn't change in 12.0 final
<jannau>
now that the dcp driver "works" on 12.0 final and 12.1 my interest in 12.0 beta releases has vanished
<jannau>
I tried with to create the boot policy but I don't think I tried bputil -r
<marcan>
jannau: you can't go to permissive mode in 12.x without being paired, but you can go into reduced mode
<marcan>
hence why it's a two-step process
<marcan>
either way last night I think I understood the IPC call stack for the iBoot/disp0 endpoint well enough
<marcan>
going to try writing a python client today
<marcan>
leave it to apple to require 5 protocol layers on top of a mailbox to *turn on the screen from the bootloader*...
<marcan>
(mailbox -> ring buffers -> EPIC header -> sub header -> command header -> shared memory buffers containing commands
<marcan>
)
<marcan>
and for the other endpoints there's like an extra ipcx header layer, but I *think* iBoot doesn't do that? need to look at that function again, I spent all my time figuring out what layer of the protocol stack it sat at
<marcan>
I also found a lot of juicy low level commands in the other endpoints; this is, apparently, how you do things like configure audio modes, send InfoFrames, handle HDCP, DisplayPort training and configuration and link width, etc
<marcan>
so we're probably going to have to implement this EPIC thing in Linux too
<jannau>
sigh, so the complexity might a valid reason to remove hdmi initialization from iboot
<jannau>
experiments/dcp.py probably misses just a setPowerState to work with 12.0 final and 12.1