#
…

2022-03-25

00:03nicolas17 has quit [Quit: switching computers again]
00:06jn has joined #asahi-dev
00:08nicolas17 has joined #asahi-dev
00:13amarioguy has quit [Ping timeout: 480 seconds]
00:14cynthia has quit [Server closed connection]
00:14cynthia has joined #asahi-dev
00:20jn has quit [Ping timeout: 480 seconds]
00:24jn has joined #asahi-dev
00:27yuyichao_ has joined #asahi-dev
00:38marcan has quit [Server closed connection]
00:38marcan has joined #asahi-dev
00:40jnn has joined #asahi-dev
00:42jn has quit [Ping timeout: 480 seconds]
00:51chadmed has joined #asahi-dev
00:51aleasto has quit [Server closed connection]
00:51aleasto has joined #asahi-dev
00:55jnn has quit [Ping timeout: 480 seconds]
01:04jn has joined #asahi-dev
01:06Esmil has quit [Server closed connection]
01:06Esmil has joined #asahi-dev
01:08amarioguy has joined #asahi-dev
01:17sven has quit [Server closed connection]
01:17sven has joined #asahi-dev
01:32amarioguy has quit [Ping timeout: 480 seconds]
01:33user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:36Retr0id has quit [Server closed connection]
01:36Retr0id has joined #asahi-dev
02:11jnn has joined #asahi-dev
02:12jn has quit [Ping timeout: 480 seconds]
02:13kit_ty_kate has quit [Server closed connection]
02:13kit_ty_kate has joined #asahi-dev
02:30arisu has quit [Server closed connection]
02:30arisu has joined #asahi-dev
02:47hitmoon has quit [Remote host closed the connection]
02:49photogrant[m] has joined #asahi-dev
02:51user982492 has joined #asahi-dev
02:52riker77_ has joined #asahi-dev
02:54riker77 has quit [Ping timeout: 480 seconds]
02:54riker77_ is now known as riker77
02:59jnn has quit [Read error: Connection reset by peer]
03:01sajattack[m] has quit [Server closed connection]
03:01sajattack[m] has joined #asahi-dev
03:05psydroid[m]1 has quit [Server closed connection]
03:05psydroid[m]1 has joined #asahi-dev
03:15Eighth_Doctor has quit [Server closed connection]
03:15Eighth_Doctor has joined #asahi-dev
03:22PhilippvK has joined #asahi-dev
03:23philhug has quit [Server closed connection]
03:23philhug has joined #asahi-dev
03:25Deewiant has quit [Server closed connection]
03:25Deewiant has joined #asahi-dev
03:26phiologe has quit [Ping timeout: 480 seconds]
03:29kov has quit [Quit: Coyote finally caught me]
03:30kov has joined #asahi-dev
03:35kevans91marcan: yo, on 2021-05-04~ish, you floated the idea of implementing gdbstub in python. did you end up starting on that at all?
04:00doggkruse has joined #asahi-dev
04:12blazra[m] has quit [Server closed connection]
04:12blazra[m] has joined #asahi-dev
04:15MatrixTravelerbot[m] has quit [Server closed connection]
04:16MatrixTravelerbot[m] has joined #asahi-dev
04:21kevans91the underlying bits (you called it your protocol) landed, though? I might be interested in picking that up to figure out what I've got wrong
04:21kevans91going to see if i can hit it with a debug-break over uart first, though
04:21kevans91a bit stalled until my second m1 comes in to do any of that
04:23Amey has quit [Server closed connection]
04:23Amey has joined #asahi-dev
04:23kevans91I had glanced through the wiki and didn't quite see anything describing what you'd already done there
04:26abbas_faiz[m] has quit [Server closed connection]
04:26abbas_faiz[m] has joined #asahi-dev
05:09VinDuv_ has joined #asahi-dev
05:11VinDuv has quit [Ping timeout: 480 seconds]
05:11VinDuv_ is now known as VinDuv
05:23foxlet has quit [Server closed connection]
05:23foxlet has joined #asahi-dev
05:43user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:46user982492 has joined #asahi-dev
05:46user982492 has quit []
05:57nicolas17 has quit [Ping timeout: 480 seconds]
06:07doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:28user982492 has joined #asahi-dev
07:11chadmedi wish people wouldnt try to lint wiki pages with automated tools
07:12chadmedthe developer tethered boot guide now has a couple of dead links, some inappropriate formatting that hinders readability, and worst of all, American English spelling "corrections" :/
07:12the_lanetly_052 has joined #asahi-dev
07:19user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:49chadmed has quit [Quit: Konversation terminated!]
07:50chadmed has joined #asahi-dev
07:55kenzie35 has quit []
07:55kenzie has joined #asahi-dev
07:56rqou_hi, i've been doing a bunch of reverse engineering of the JPEG encode/decode hardware, and i currently have it figured out to the point where i have proofs of concept of encoding/decoding, and i've started writing up documentation of my current understanding of the hardware. what can/should i do next in order to enable other people to start poking at it and possibly write drivers for it?
07:57rqou_i have read and understood the RE policy, and my current WIP notes are stored in a github gist at https://gist.github.com/rqou/2dafd40cfe0362cc84c3ee26c68b2b36
08:00kita99 has quit [Ping timeout: 480 seconds]
08:05marcanrqou_: is that all from driver RE, or hypervisor traces, or both?
08:05rqou_it is a mix of driver RE, hypervisor traces, and ad-hoc manual poking of the hardware
08:06marcanthe actual docs you have are just register docs and none of that worries me
08:06rqou_the parts that are most dependent on driver RE have to do with calculating various parameters related to macroblock sizes/strides and chroma subsampling
08:06marcanand the script is mostly a pile of writes, which follows from the docs and an HV trace
08:06rqou_because they all interact with each other in complicated ways
08:06rqou_the script mostly comes from driver RE
08:07rqou_but has been hacked up with tweaks as i experimented with what various registers do, so it's now a complete mess
08:07marcanit looks like it could've come from traces though, which implies there isn't really anything copyrightable in there
08:07marcanmove to -re
08:43marcanjannau: can you paste the t6002 adt somewhere?
08:43marcanthere's runtime stuff in there I'm interested in
08:43marcan(I only have the templates)
09:15chadmed has quit [Quit: Konversation terminated!]
09:18chadmed has joined #asahi-dev
09:22chadmed has quit []
09:23chadmed has joined #asahi-dev
09:24kaygalle[m] has joined #asahi-dev
09:49sl_ has joined #asahi-dev
09:49j`eyis clock-gates in ADT what we call power-domains?
09:50rowang077[m] has quit [Server closed connection]
09:50rowang077[m] has joined #asahi-dev
09:51sl_Hello everyone! Has anybody had success _compiliing_ gcc _inside_ `alarm` using the binary arch gcc? Any tips / makefiles / PKGBUILDS would be appreciated. FIY working on using gentoo-prefix :o
10:07alicela1n has quit [Server closed connection]
10:08alicela1n has joined #asahi-dev
10:21andytest[m] has joined #asahi-dev
10:29kameks has joined #asahi-dev
10:30VinDuvmarcan: I was wondering, did you manage to get sshd working in macOS recovery? I remember getting it working in 10.15 by adding the sshd user, but on 11.x/12.x it fails to chroot for some reason
10:31marcanI don't remember it ever working for me
10:31marcanIIRC there was always the chroot issue
10:37VinDuvokay, thanks
10:42the_lanetly_052 has quit [Remote host closed the connection]
10:50andytest[m] has left #asahi-dev [#asahi-dev]
11:05andytest[m] has joined #asahi-dev
11:06sl_ has quit [Remote host closed the connection]
11:07andytest[m] has left #asahi-dev [#asahi-dev]
11:07andytest[m] has joined #asahi-dev
11:13andytest[m] has left #asahi-dev [#asahi-dev]
11:14perigoso[m] has quit [Server closed connection]
11:14perigoso[m] has joined #asahi-dev
11:18andytest[m] has joined #asahi-dev
11:26the_lanetly_052 has joined #asahi-dev
11:34mazjannau: small nit on the t6002 DT: the PMU nodes should be per CPU types, not per node (you should only have two PMU nodes in total).
11:34mazsimilarly, the PMU affinities in the AIC node should reflect all the CPUs (you only have the t6001 ones atm).
11:44megalokafes_ has quit [Quit: Connection closed for inactivity]
11:54N3ros[m] has quit [Server closed connection]
11:54N3ros[m] has joined #asahi-dev
11:57amarioguy has joined #asahi-dev
12:00jannaumaz: thanks, fixed
12:00mazmarcan: do you have any information about the CPUs on Ultra? they seem to be of a different model compared to the previous ones (0x28/0x29 vs 0x22/0x23).
12:00jannaumarcan will probably redo the devicetree anyway
12:01mazjannau: sure. but since I had my eyes on that... ;-)
12:02kita99 has joined #asahi-dev
12:05jannaumaz: same model as the m1 max. the m1 pro uses 0x24/0x25 init for the high performnce cores differs. see https://github.com/AsahiLinux/m1n1/blob/main/src/chickens.c
12:05jannauthat is afaik the only place where the part numners are used
12:06mazjannau: KVM uses that to work out which CPUs need to have workarounds applied.
12:08mazso at the moment, we only mitigate on t8103, and a guest could take down the machine otherwise (assuming the other cores are equally broken).
12:14kameks has quit [Ping timeout: 480 seconds]
12:55amarioguy has quit [Ping timeout: 480 seconds]
12:55chadmed has quit [Remote host closed the connection]
12:56amarioguy has joined #asahi-dev
13:29amarioguy has quit [Ping timeout: 480 seconds]
13:29amarioguy has joined #asahi-dev
13:36doggkruse has joined #asahi-dev
13:38yuyichao_ has quit [Ping timeout: 480 seconds]
13:55amarioguy has quit [Ping timeout: 480 seconds]
13:56yuyichao_ has joined #asahi-dev
13:58amarioguy has joined #asahi-dev
14:05kettenisSo the situation is that M1, M1 Pro and M1 Max all have different MIDR pairs
14:06kettenisbut M1 Ultra reuses the M1 Max MIDR pair
14:07mazsounds like it indeed. it feels like Apple abuses the MIDR to also designate the SoC used.
14:09mazthere were discussion of an architected SOCIDR at some point, but nobody could agree on what that would return...
14:10kettenisthat's what POWER ended up with
14:10mazyeah. instead, we have ended up with a DOC_ID firmware service, which of course cannot be implemented on M1.
14:11mazSOC_ID*
14:11ketteniswhich reminds me; I should have a go at implementing that EFI PSCI service in U-Boot
14:12j`eykettenis: I've been playing with that a bit, but it'll be in m1n1, not u-boot
14:13mazj`ey: you'll need u-boot to expose the service, no matter where it is implemented.
14:13mazat least if you want it to appear as a runtime service, that is.
14:13j`eyyeah, I meant the actual impl is in m1n1
14:16kettenisso the first step (for me) would be to implement a dummy implementation in u-boot
14:16j`eyneed to figure out some mechanism to pass regions from m1n1 to u-boot, such that it can create regions in the efi memory map
14:16kettenisthen we'd add code that does the hand-off to m1n1
14:17_jannau_My understanding was that M1 Ultra is literally 2 M1 Max' so I expected them to have the same MIDR
14:18kettenisyes, but some of us expected M1, M1 Pro and M1 Max to all share the same MIDRs
14:18kettenisbecause it is supposed to be the same core on all the SoCs
14:19kettenisbut maybe apple made some subtle changes to the system registers and decided they needed different MIDRs to distinguish
14:21_jannau_m1n1's init code (based on macos) differs between M1, Pro and Max for the performance cores
14:25kettenisit seems that Apple consistently swaps two keys on the ISO keyboard layout
14:26ketteniswe do something similar in OpenBSD (but not in my aplhidev(4) driver yet)
14:26kettenisso maybe we have a use for that USB HID country code after all
14:30_jannau_I've seen it but haven't looked the code yet. I have check if it is correct though since on my iso international keyboard iirc all keys produced the expected keys
14:37_jannau_I'll test when I prepare the input code for upstream submission (planning to start this weekend)
14:38kettenishmm, you're right
14:40j`ey_jannau_: yay
14:43kettenisOpenBSD prints the right characters for the ~/` key
14:47doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:48doggkruse has joined #asahi-dev
14:57j`eylast weekend when I tried PSCI, the system reset after a minute or so of the second CPU coming up. I disabled the WDT in u-boot and linux today, and it's booted up and working for the past few minutes
15:01amarioguy has quit [Ping timeout: 480 seconds]
15:02foxtrot has quit [Quit: Goodbye]
15:03foxtrot has joined #asahi-dev
15:03auhk[m] has left #asahi-dev [#asahi-dev]
15:04auhk[m] has joined #asahi-dev
15:04foxtrot is now known as Guest325
15:05j`eyI can CPU_ON, then CPU_OFF, but a CPU_ON again crashes :)
15:07auhk[m] has left #asahi-dev [#asahi-dev]
15:18auhk[m] has joined #asahi-dev
15:19auhk[m] has left #asahi-dev [#asahi-dev]
15:26amarioguy has joined #asahi-dev
15:44amarioguy has quit [Ping timeout: 480 seconds]
15:51unrelentingtech has quit [Server closed connection]
15:52unrelentingtech has joined #asahi-dev
15:55amarioguy has joined #asahi-dev
16:18amarioguy has quit [Ping timeout: 480 seconds]
16:58amarioguy has joined #asahi-dev
17:07Dementor[m] has quit [Server closed connection]
17:07Dementor[m] has joined #asahi-dev
17:13kita99 has quit [Ping timeout: 480 seconds]
17:22abilash1994[m] has quit [Server closed connection]
17:22abilash1994[m] has joined #asahi-dev
17:22AdryzzOLEDEdition[m] has quit [Server closed connection]
17:22AdryzzOLEDEdition[m] has joined #asahi-dev
17:23ah-[m] has quit [Server closed connection]
17:23ah-[m] has joined #asahi-dev
17:23petermlyon[m] has quit [Server closed connection]
17:23petermlyon[m] has joined #asahi-dev
17:24arnidg[m] has quit [Server closed connection]
17:24arnidg[m] has joined #asahi-dev
17:25Augur[m] has quit [Server closed connection]
17:25Augur[m] has joined #asahi-dev
17:25Bastian[m] has quit [Server closed connection]
17:25Bastian[m] has joined #asahi-dev
17:26bngs[m] has quit [Server closed connection]
17:26BenPetterborg[m] has quit [Server closed connection]
17:26bngs[m] has joined #asahi-dev
17:26BenPetterborg[m] has joined #asahi-dev
17:27brentr123[m] has quit [Server closed connection]
17:27brentr123[m] has joined #asahi-dev
17:27butterfly[m] has quit [Server closed connection]
17:27butterfly[m] has joined #asahi-dev
17:28citruscitrus[m] has quit [Server closed connection]
17:28citruscitrus[m] has joined #asahi-dev
17:29CristianMgheruan-Stanciu[m] has quit [Server closed connection]
17:29CristianMgheruan-Stanciu[m] has joined #asahi-dev
17:29daftfrog[m] has quit [Server closed connection]
17:29daftfrog[m] has joined #asahi-dev
17:29DanielHuisman[m] has quit [Server closed connection]
17:29DanielHuisman[m] has joined #asahi-dev
17:31djk121[m] has quit [Server closed connection]
17:31djk121[m] has joined #asahi-dev
17:32Liam[m] has quit [Server closed connection]
17:32Liam[m] has joined #asahi-dev
17:32user982492 has joined #asahi-dev
17:32ey3ball[m] has quit [Server closed connection]
17:32ey3ball[m] has joined #asahi-dev
17:32facez[m] has quit [Server closed connection]
17:32facez[m] has joined #asahi-dev
17:33faiz_abbas[m] has quit [Server closed connection]
17:33faiz_abbas[m] has joined #asahi-dev
17:33fetsorn[m] has quit [Server closed connection]
17:33fetsorn[m] has joined #asahi-dev
17:34DiscoPenguin[m] has quit [Server closed connection]
17:34DiscoPenguin[m] has joined #asahi-dev
17:34fried_dede[m] has quit [Server closed connection]
17:34fried_dede[m] has joined #asahi-dev
17:35h_ro[m] has quit [Server closed connection]
17:35h_ro[m] has joined #asahi-dev
17:36houlton[m] has quit [Server closed connection]
17:36houlton[m] has joined #asahi-dev
17:36IanPlatt[m] has quit [Server closed connection]
17:36IanPlatt[m] has joined #asahi-dev
17:38joerosenberg[m] has quit [Server closed connection]
17:38joerosenberg[m] has joined #asahi-dev
17:38katatafjsh[m] has quit [Server closed connection]
17:38katatafjsh[m] has joined #asahi-dev
17:39kdrag0n[m] has quit [Server closed connection]
17:39kdrag0n[m] has joined #asahi-dev
17:39kjm99[m] has quit [Server closed connection]
17:39kjm99[m] has joined #asahi-dev
17:40mofux[m] has quit [Server closed connection]
17:40mofux[m] has joined #asahi-dev
17:40konr-72[m] has quit [Server closed connection]
17:40konr-72[m] has joined #asahi-dev
17:40krirogn[m] has quit [Server closed connection]
17:40krirogn[m] has joined #asahi-dev
17:41NotHere[m] has quit [Server closed connection]
17:41long[m] has quit [Server closed connection]
17:41NotHere[m] has joined #asahi-dev
17:42long[m] has joined #asahi-dev
17:42lucifer178[m] has quit [Server closed connection]
17:42lucifer178[m] has joined #asahi-dev
17:42as400[m] has quit [Server closed connection]
17:42as400[m] has joined #asahi-dev
17:43fezhead[m] has quit [Server closed connection]
17:43fezhead[m] has joined #asahi-dev
17:44NightRaven[m] has quit [Server closed connection]
17:44NightRaven[m] has joined #asahi-dev
17:44NightsOnly[m] has quit [Server closed connection]
17:44NightsOnly[m] has joined #asahi-dev
17:45nilsi[m] has quit [Server closed connection]
17:45nilsi[m] has joined #asahi-dev
17:45notyou[m] has quit [Server closed connection]
17:45notyou[m] has joined #asahi-dev
17:45obflv[m] has quit [Server closed connection]
17:45obflv[m] has joined #asahi-dev
17:46ograff has quit [Server closed connection]
17:46ograff has joined #asahi-dev
17:46HaoYanQi[m] has quit [Server closed connection]
17:46HaoYanQi[m] has joined #asahi-dev
17:47ponkey364[m] has quit [Server closed connection]
17:47ponkey364[m] has joined #asahi-dev
17:47BingDennis[m] has quit [Server closed connection]
17:47BingDennis[m] has joined #asahi-dev
17:48retonlage[m] has quit [Server closed connection]
17:48retonlage[m] has joined #asahi-dev
17:48rkjnsn has quit [Server closed connection]
17:48rkjnsn has joined #asahi-dev
17:48roxiun[m] has quit [Server closed connection]
17:48roxiun[m] has joined #asahi-dev
17:49rusty-nail[m] has quit [Server closed connection]
17:49ryanhrob[m] has quit [Server closed connection]
17:49rusty-nail[m] has joined #asahi-dev
17:49ryanhrob[m] has joined #asahi-dev
17:51spot[m] has quit [Server closed connection]
17:51spot[m] has joined #asahi-dev
17:51nicolas17 has joined #asahi-dev
17:52steffen[m] has quit [Server closed connection]
17:52steffen[m] has joined #asahi-dev
17:52thebigbossch[m] has quit [Server closed connection]
17:52thebrinkoftomorrow[m] has quit [Server closed connection]
17:52thebigbossch[m] has joined #asahi-dev
17:52thebrinkoftomorrow[m] has joined #asahi-dev
17:54GregoryRWarnes[m] has quit [Server closed connection]
17:54GregoryRWarnes[m] has joined #asahi-dev
17:55Xichao[m] has quit [Server closed connection]
17:55Xichao[m] has joined #asahi-dev
18:02user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:03user982492 has joined #asahi-dev
18:09jannaunvme and the two front facing usb-c ports work as well without kernel code changes
18:26user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:32the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:54user982492 has joined #asahi-dev
18:54amarioguy has quit [Ping timeout: 480 seconds]
18:57jannauu-boot doesn't like the devices on the second die, looks like it fails to power them on
19:04jannauah, the powerdomains for the second die are broken, I wonder why linux was working
19:06m6wiq has joined #asahi-dev
19:23Denver has joined #asahi-dev
19:23kaygalle[m]Hello, is anyone here working on GPU support?
19:27Denver has quit [Read error: Connection reset by peer]
19:29AdryzzOLEDEdition[m]<kaygalle[m]> "Hello, is anyone here working on..." <- https://matrix.to/#/#_oftc_#asahi-re:matrix.org
19:30kaygalle[m]Thanks, I saw it but there are no messages in this thread)
19:30j`ey#asahi-gpu
19:30AdryzzOLEDEdition[m]oh you can't see the pervious messages
19:31AdryzzOLEDEdition[m]well usermode passes 96% of OpenGL ES while kernel driver still has some work to do afaik
19:31AdryzzOLEDEdition[m]* OpenGL ES 2 while kernel
19:31kaygalle[m]Okey, I will move to asahi-gpu and ask about it
19:46jn has joined #asahi-dev
20:17CME has quit [Server closed connection]
20:18CME has joined #asahi-dev
20:28___nick___ has joined #asahi-dev
20:28___nick___ has quit []
20:30___nick___ has joined #asahi-dev
20:37doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:41user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:41Denver has joined #asahi-dev
20:47user982492 has joined #asahi-dev
20:49Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
21:07___nick___ has quit [Ping timeout: 480 seconds]
22:42m6wiq has quit []
22:54luxio_39[m] has joined #asahi-dev
23:03user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:15yuyichao_ has quit [Ping timeout: 480 seconds]
23:20user982492 has joined #asahi-dev
…