#
…

2021-09-06

01:01zigmars has joined #asahi
01:09zigmars has quit [Ping timeout: 480 seconds]
02:05phiologe has joined #asahi
02:09PhilippvK has quit [Ping timeout: 480 seconds]
02:29malvo has quit [Ping timeout: 480 seconds]
02:30malvo has joined #asahi
03:03PhilippvK has joined #asahi
03:07phiologe has quit [Ping timeout: 480 seconds]
03:23marcanj_ey: yes, uncompressed kernels need to come *last* for this reason
03:23marcansince it can't locate any payloads after that
03:23marcanit's a bit awkward
03:24marcanit might be time to start considering using an actual archive format (cpio?)
03:25klangeustar is really straightforward
03:25marcanso is cpio
03:25marcaneven moreso really
03:26marcanthat 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
03:51marvin24_ has joined #asahi
03:55marvin24 has quit [Ping timeout: 480 seconds]
07:09kettenis_u-boot developers are pushing FIT images
07:10kettenis_worth looking into since it supports including multiple device trees
07:31zigmars has joined #asahi
07:46zigmars has quit [Remote host closed the connection]
07:46zigmars has joined #asahi
07:46zigmars has quit [Remote host closed the connection]
08:42aleasto has joined #asahi
09:04chadmed has joined #asahi
09:14zigmars has joined #asahi
09:22zigmars has quit [Ping timeout: 480 seconds]
09:45zigmars has joined #asahi
09:53zigmars has quit [Ping timeout: 480 seconds]
09:53bps has joined #asahi
10:14zigmars has joined #asahi
10:22zigmars has quit [Ping timeout: 480 seconds]
10:24zigmars has joined #asahi
10:32zigmars has quit [Ping timeout: 480 seconds]
10:45zigmars has joined #asahi
10:53zigmars has quit [Ping timeout: 480 seconds]
10:56zigmars has joined #asahi
11:04zigmars has quit [Ping timeout: 480 seconds]
11:14zigmars has joined #asahi
11:22zigmars has quit [Ping timeout: 480 seconds]
11:25zigmars has joined #asahi
11:33zigmars has quit [Ping timeout: 480 seconds]
11:41roxfan has quit [Ping timeout: 480 seconds]
11:45zigmars has joined #asahi
11:49roxfan has joined #asahi
11:50zigmars has quit [Remote host closed the connection]
11:50zigmars has joined #asahi
12:20zigmars has quit [Remote host closed the connection]
12:24zigmars has joined #asahi
13:39bps has quit [Ping timeout: 480 seconds]
14:36bps has joined #asahi
15:19zigmars has quit [Remote host closed the connection]
15:25zigmars has joined #asahi
15:33zigmars has quit [Ping timeout: 480 seconds]
15:42zigmars has joined #asahi
15:50zigmars has quit [Ping timeout: 480 seconds]
15:51zigmars has joined #asahi
16:00zigmars has quit [Ping timeout: 480 seconds]
16:10zigmars has joined #asahi
16:11zigmars_ has joined #asahi
16:11zigmars has quit [Read error: Connection reset by peer]
16:14j_ey * [new branch] mailbox/v1 -> asahi/mailbox/v1 👀
16:16Andalu30 has joined #asahi
16:17svenstalker :-P
16:17svenwill probably submit that tomorrow
16:17j_eyI prefer the term git branch watcher
16:19sven(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)
16:20j_eysven: ooh you rewrote this to use match data
16:20svenyeah, because it turned out that the m3 mailbox actually needs the interrupts to be acked at the mailbox controller
16:20svenand doing that the other way turned a bit ugly
16:22svenbut other than that this thunderbolt/CIO coprocessor just uses the standard rtkit protocol
16:22svendoesn't seem to send anything over syslog though, but that's probably because i only did the bare minimum to enable it
16:24sveni 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
16:25zigmars_ has quit [Ping timeout: 480 seconds]
16:27j_eytheres 5 drivers with num_chans = 1
16:30j_eysven: anyways, lgtm, gl with the upstreaming!
16:34zigmars has joined #asahi
16:35zigmars_ has joined #asahi
16:35zigmars has quit [Remote host closed the connection]
16:39marcanfwiw, 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
16:39j_eywhat's genpd?
16:40marcangeneric power domain
16:40j_eyah, it's a linux thing, not a mac thing
16:40marcansven: \o/
16:41svenfwiw, 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
16:41svenno idea yet where it gets that address from though
16:42marcanalso the cio firmware is like 100kB and I'm not even sure if it has any printfs
16:42sven(well, "clock". no idea what it is but i need to enable it before i can bring up cio)
16:42marcanthere are few strings in there
16:42marcanso I wouldn't expect syslogs
16:42sveni just realized i also forgot to setup the dart, so i would've have been able to get the syslog anyway :D
16:42sven*wouldn't
16:44svenjust needed to see [ 0.456216] apple-mailbox 501100000.mbox: < RX 00b0000000000020 00000000 to confirm these m3 mailboxes also work :)
16:44marcan #246 CIO0_RECONFIG-V id: 337 gate: 0 psreg: 0 flags: 00000010 unk: 0x000 unk3: 0 0 0 0 @
16:44marcanall zeros? there are like literally no ids there
16:44svenyeah, it's weird
16:45svenit's not one of the normal "clocks"
16:45marcanalso -V usually means power/voltage I think?
16:45svendunno any details, i just poked random memory locations until CIO came up
16:45marcanI get the feeling they hardcode half these things and that devices table is an incomplete mess
16:45svenyeah, could be
16:46TheLinksounds like it has a cuckoo clock built-in
16:47j_eysven: oh so thats how you found that you actually need to ack the m3s
16:47svenotherwise the interrupt will keep firing. which kinda makes sense.
16:48svenmy best guess is that m3 is an older version of asc and that it used to only have a single shared interrupt line
17:03zigmars_ has quit [Ping timeout: 480 seconds]
17:10zigmars has joined #asahi
17:30thinkofher has quit [Quit: Ping timeout (120 seconds)]
17:30thinkofher has joined #asahi
17:33zigmars has quit [Ping timeout: 480 seconds]
17:43zigmars has joined #asahi
17:45zigmars_ has joined #asahi
17:45zigmars has quit [Remote host closed the connection]
17:47dvlbr^ has joined #asahi
17:53zigmars_ has quit [Ping timeout: 480 seconds]
18:03zigmars has joined #asahi
18:05zigmars_ has joined #asahi
18:05zigmars has quit [Read error: Connection reset by peer]
18:13zigmars_ has quit [Ping timeout: 480 seconds]
18:24zigmars has joined #asahi
18:32zigmars has quit [Ping timeout: 480 seconds]
18:42zigmars has joined #asahi
18:50zigmars has quit [Ping timeout: 480 seconds]
18:50Andalu30 has quit [Quit: Konversation terminated!]
18:53zigmars has joined #asahi
19:01zigmars has quit [Ping timeout: 480 seconds]
19:03zigmars has joined #asahi
19:11zigmars has quit [Ping timeout: 480 seconds]
19:14zigmars has joined #asahi
19:16aleasto has quit [Remote host closed the connection]
19:22zigmars has quit [Ping timeout: 480 seconds]
19:25zigmars has joined #asahi
19:33zigmars has quit [Ping timeout: 480 seconds]
19:43zigmars has joined #asahi
19:45zigmars_ has joined #asahi
19:45zigmars has quit [Remote host closed the connection]
19:52xuw has joined #asahi
19:53zigmars_ has quit [Ping timeout: 480 seconds]
19:58xuw has quit [Read error: Connection reset by peer]
20:03zigmars has joined #asahi
20:11zigmars has quit [Ping timeout: 480 seconds]
20:21zigmars has joined #asahi
20:23zigmars_ has joined #asahi
20:23zigmars has quit [Read error: Connection reset by peer]
20:31zigmars_ has quit [Ping timeout: 480 seconds]
20:34zigmars has joined #asahi
20:42zigmars has quit [Ping timeout: 480 seconds]
20:52zigmars has joined #asahi
21:00zigmars has quit [Ping timeout: 480 seconds]
21:02zigmars has joined #asahi
21:10zigmars has quit [Ping timeout: 480 seconds]
21:12zigmars has joined #asahi
21:20zigmars has quit [Ping timeout: 480 seconds]
21:23zigmars has joined #asahi
21:31zigmars has quit [Ping timeout: 480 seconds]
21:55dvlbr^ has quit [Ping timeout: 480 seconds]
22:27zigmars has joined #asahi
22:35zigmars has quit [Ping timeout: 480 seconds]
22:38zigmars has joined #asahi
22:39zigmars_ has joined #asahi
22:39zigmars has quit [Read error: Connection reset by peer]
22:47X-Scale` has joined #asahi
22:48zigmars_ has quit [Ping timeout: 480 seconds]
22:52X-Scale has quit [Ping timeout: 480 seconds]
22:58zigmars has joined #asahi
23:06zigmars has quit [Ping timeout: 480 seconds]
23:08zigmars has joined #asahi
23:16malvo has quit [Ping timeout: 480 seconds]
23:16zigmars has quit [Ping timeout: 480 seconds]
23:17malvo has joined #asahi
23:22aleasto has joined #asahi
23:27zigmars has joined #asahi
23:33torstenvl has joined #asahi
23:35zigmars has quit [Ping timeout: 480 seconds]
23:38zigmars_ has joined #asahi
23:46zigmars_ has quit [Ping timeout: 480 seconds]
23:51aleasto has quit [Quit: Konversation terminated!]
23:56zigmars has joined #asahi
…