marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
malvo has quit [Ping timeout: 480 seconds]
malvo has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
<marcan>
j_ey: yes, uncompressed kernels need to come *last* for this reason
<marcan>
since it can't locate any payloads after that
<marcan>
it's a bit awkward
<marcan>
it might be time to start considering using an actual archive format (cpio?)
<klange>
ustar is really straightforward
<marcan>
so is cpio
<marcan>
even moreso really
<marcan>
that would also allow us to stop caring about decompression of initramfs payloads, and leave it to linux, which saves boot memory and probably time if Linux's decompressor is better
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
<kettenis_>
u-boot developers are pushing FIT images
<kettenis_>
worth looking into since it supports including multiple device trees
zigmars has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Remote host closed the connection]
aleasto has joined #asahi
chadmed has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
bps has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
roxfan has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
roxfan has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
bps has quit [Ping timeout: 480 seconds]
bps has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Read error: Connection reset by peer]
<sven>
(random observation i made this evening: if you enable just enough magic for this CIO coprocessor to start you have about 2-3 minutes before the mini restarts because some internal hardware or software state machine probably died)
<j_ey>
sven: ooh you rewrote this to use match data
<sven>
yeah, because it turned out that the m3 mailbox actually needs the interrupts to be acked at the mailbox controller
<sven>
and doing that the other way turned a bit ugly
<sven>
but other than that this thunderbolt/CIO coprocessor just uses the standard rtkit protocol
<sven>
doesn't seem to send anything over syslog though, but that's probably because i only did the bare minimum to enable it
<sven>
i also found some precedent for just having a single channel mailbox: apparently something on the raspberry pi also uses some bits of the message as a channel but back then the conclusion on the mailing list was that the mailbox should still be single channel
zigmars_ has quit [Ping timeout: 480 seconds]
<j_ey>
theres 5 drivers with num_chans = 1
<j_ey>
sven: anyways, lgtm, gl with the upstreaming!
<alyssa>
!
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Remote host closed the connection]
<marcan>
fwiw, the reason I haven't sent the clocks patch yet is I need to give genpd a good look, seeing as apparently those pmgr bits are more than just clock gates
<j_ey>
what's genpd?
<marcan>
generic power domain
<j_ey>
ah, it's a linux thing, not a mac thing
<marcan>
yes
<marcan>
sven: \o/
<sven>
fwiw, CIO0_RECONFIG-V is actually some clock as well. it's in the devices structure but it's at 0x23b788000 and needs the first bit set to enable it
<sven>
no idea yet where it gets that address from though
<marcan>
also the cio firmware is like 100kB and I'm not even sure if it has any printfs
<sven>
(well, "clock". no idea what it is but i need to enable it before i can bring up cio)
<marcan>
there are few strings in there
<marcan>
so I wouldn't expect syslogs
<sven>
i just realized i also forgot to setup the dart, so i would've have been able to get the syslog anyway :D
<sven>
*wouldn't
<marcan>
heh
<sven>
just needed to see [ 0.456216] apple-mailbox 501100000.mbox: < RX 00b0000000000020 00000000 to confirm these m3 mailboxes also work :)