#
#asahi-dev · 2026-01-25 14:09
sveni assume it exists
#asahi-dev · 2026-01-25 14:09
svenyeah, but we can figure that one out
#asahi-dev · 2026-01-25 14:04
nickchanadt seem to be missing dockchannel uart interrupt
#asahi-dev · 2026-01-25 14:02
nickchanand also pl011 uart used in virtualmac2,1
#asahi-dev · 2026-01-25 14:01
svenjust that one is hooked up to KIS on the other end and the other to MTP
#asahi-dev · 2026-01-25 14:01
nickchanthere's seem to be code for apple uart and bcm2837 uart (since removed) in there
#asahi-dev · 2026-01-25 14:01
svenso this all really looks like two instantiations of the same HW block
#asahi-dev · 2026-01-25 14:00
svenit's all open-coded in xnu
#asahi-dev · 2026-01-25 14:00
svenmy point is that the dockchannel kext isn't used for that early uart
#asahi-dev · 2026-01-25 14:00
svennot my point
#asahi-dev · 2026-01-25 14:00
nickchanbefore more and more functions are moved into kext over time
#asahi-dev · 2026-01-25 14:00
nickchanthat's just how xnu originally is
#asahi-dev · 2026-01-25 13:59
svenfrom what i can tell the uart implementation is directly hacked into xnu to allow something similar to earlycon
#asahi-dev · 2026-01-25 13:58
sventhanks, that matches what i suspected
#asahi-dev · 2026-01-25 13:58
jannausven: since I already prepated that: https://paste.debian.net/hidden/c8d41c53
#asahi-dev · 2026-01-25 13:55
sveni think the uart dockchannel one is directly connected to whatever that "kanzi in system" co-proc is, and the mtp one to, well, MTP
#asahi-dev · 2026-01-25 13:55
svenanyone got a m2 device tree for me? i suspect that the uart dockchannel fifo is separate from the mtp dockchannel fifo
#asahi-dev · 2026-01-25 13:54
svenso yeah, looking at dockchannel this thing definitely wants to be something like a mailbox and not that weird parent/subnode things with an interrupt controller
#asahi-dev · 2026-01-25 13:52
fl0_id__integralpilot - could I take a look at a more complete device tree of yours?
#asahi-dev · 2026-01-25 13:34
nickchanalas of course this trng is also the source of misery with racing seprom firmware load on a10
#asahi-dev · 2026-01-25 13:33
nickchanintegralpilot: do you have the unexpected getrand reply?
#asahi-dev · 2026-01-25 13:32
nickchanjust the trng command is added in a10
#asahi-dev · 2026-01-25 13:32
nickchanhigh level seprom communication is the same since A7 even
#asahi-dev · 2026-01-25 13:30
svenhuh, especially the KASLR RNG breaking is weird
#asahi-dev · 2026-01-25 13:30
nickchanseprom
#asahi-dev · 2026-01-25 13:30
nickchanbut sep uses only 64 bit anyways so the high level commands are identical
#asahi-dev · 2026-01-25 13:30
nickchannote the mailbox hardware changed in a11, on a10 messages are 32+32 and on a11 to m2 it's 64+32
#asahi-dev · 2026-01-25 13:30
integralpilotoh weird then! will look into SEP more when i have time
#asahi-dev · 2026-01-25 13:29
nickchanwould be the first change since it's added in a10
#asahi-dev · 2026-01-25 13:29
integralpilot*SEP BootROM
#asahi-dev · 2026-01-25 13:28
integralpiloti think they changed the way BootROM talks to give early randomness and boot firmware
#asahi-dev · 2026-01-25 13:28
integralpilotbut weirdly, the driver did not work on M3. neither does the way m1n1 talks to sep to try to get a KASLR RNG
#asahi-dev · 2026-01-25 13:28
integralpilotthe problem was it's a rust driver and i hadn't enabled rust support lol
#asahi-dev · 2026-01-25 13:27
nickchansep *must* be stable
#asahi-dev · 2026-01-25 13:27
integralpilothappened to me why i was testing SEP, i was like why is it not probing???
#asahi-dev · 2026-01-25 13:27
svenonly noticed because there was occasional lag and because all cores were somehow busy at ~30% all the time
#asahi-dev · 2026-01-25 13:27
integralpilot:D
#asahi-dev · 2026-01-25 13:27
nickchansince base m3 does have those
#asahi-dev · 2026-01-25 13:27
sventook me almost a day to realize i built the kernel without rust support :D
#asahi-dev · 2026-01-25 13:27
nickchanwell, maybe it could work if you use 13.5/13.6.2 specifically
#asahi-dev · 2026-01-25 13:27
integralpiloti'd imagine a lot changed in 13.5 -> 14.latest given how much they change DCP
#asahi-dev · 2026-01-25 13:26
sveneven dcp and llvmpipe was surprisingly usable at ccc
#asahi-dev · 2026-01-25 13:26
integralpilotjust using framebuffer for now
#asahi-dev · 2026-01-25 13:26
integralpilotyes, haven't even tried DCP
#asahi-dev · 2026-01-25 13:26
integralpilotthat's great then!
#asahi-dev · 2026-01-25 13:26
nickchanthere's no chance that dcp would work
#asahi-dev · 2026-01-25 13:26
chaos_princesswhich, well, you will :P
#asahi-dev · 2026-01-25 13:25
chaos_princessintegralpilot: if you don't use dcp and use raw framebuffer instead, it is surprisingly usable
#asahi-dev · 2026-01-25 13:25
integralpilotoh really, that's good. will try that then
#asahi-dev · 2026-01-25 13:25
nickchanuntil the opengl 2.1 drivers came around

plus ›