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]
<j_ey> * [new branch] mailbox/v1 -> asahi/mailbox/v1 👀
Andalu30 has joined #asahi
<sven> stalker :-P
<sven> will probably submit that tomorrow
<j_ey> I prefer the term git branch watcher
<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 :)
<marcan> #246 CIO0_RECONFIG-V id: 337 gate: 0 psreg: 0 flags: 00000010 unk: 0x000 unk3: 0 0 0 0 @
<marcan> all zeros? there are like literally no ids there
<sven> yeah, it's weird
<sven> it's not one of the normal "clocks"
<marcan> also -V usually means power/voltage I think?
<sven> dunno any details, i just poked random memory locations until CIO came up
<marcan> I get the feeling they hardcode half these things and that devices table is an incomplete mess
<sven> yeah, could be
<TheLink> sounds like it has a cuckoo clock built-in
<j_ey> sven: oh so thats how you found that you actually need to ack the m3s
<sven> yup
<sven> otherwise the interrupt will keep firing. which kinda makes sense.
<sven> my best guess is that m3 is an older version of asc and that it used to only have a single shared interrupt line
zigmars_ has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
thinkofher has quit [Quit: Ping timeout (120 seconds)]
thinkofher has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Remote host closed the connection]
dvlbr^ 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]
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]
Andalu30 has quit [Quit: Konversation terminated!]
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
aleasto has quit [Remote host closed the connection]
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 [Remote host closed the connection]
xuw has joined #asahi
zigmars_ has quit [Ping timeout: 480 seconds]
xuw has quit [Read error: Connection reset by peer]
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]
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]
dvlbr^ 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]
X-Scale` has joined #asahi
zigmars_ has quit [Ping timeout: 480 seconds]
X-Scale has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
malvo has quit [Ping timeout: 480 seconds]
zigmars has quit [Ping timeout: 480 seconds]
malvo has joined #asahi
aleasto has joined #asahi
zigmars has joined #asahi
torstenvl has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars_ has joined #asahi
zigmars_ has quit [Ping timeout: 480 seconds]
aleasto has quit [Quit: Konversation terminated!]
zigmars has joined #asahi