2026-05-29
00:11gargantua has quit [Ping timeout: 480 seconds]
00:26gargantua has joined #asahi-dev
00:33fl0_d has quit [Ping timeout: 480 seconds]
00:45gargantu1 has joined #asahi-dev
00:52gargantua has quit [Ping timeout: 480 seconds]
01:10damas has joined #asahi-dev
01:19fl0_d has joined #asahi-dev
01:22damas has quit [Ping timeout: 480 seconds]
01:28damas has joined #asahi-dev
01:40damas has quit [Ping timeout: 480 seconds]
01:43fl0_d has quit [Ping timeout: 480 seconds]
01:44damas has joined #asahi-dev
01:49xal has quit [Read error: Connection reset by peer]
01:49xal has joined #asahi-dev
01:52damas has quit [Ping timeout: 480 seconds]
02:00liangqi has quit [Ping timeout: 480 seconds]
02:06blu0jay has joined #asahi-dev
02:06nicolas17 has joined #asahi-dev
02:07blu0jay has quit []
02:08liangqi has joined #asahi-dev
02:17liangqi has quit [Ping timeout: 480 seconds]
02:27liangqi has joined #asahi-dev
02:35liangqi has quit [Ping timeout: 480 seconds]
02:44liangqi has joined #asahi-dev
02:45pb17 has quit [Ping timeout: 480 seconds]
02:46ipatch has quit [Quit: WeeChat 4.9.0]
02:47ipatch has joined #asahi-dev
02:47pb17 has joined #asahi-dev
02:51lion328 has quit [Remote host closed the connection]
02:52liangqi has quit [Ping timeout: 480 seconds]
02:54lion328 has joined #asahi-dev
02:54blu0jay has joined #asahi-dev
02:55tobhe_ has joined #asahi-dev
02:55ipatch has quit [Read error: Connection reset by peer]
02:55ipatch has joined #asahi-dev
02:57ipatch has quit []
02:58ipatch has joined #asahi-dev
03:02tobhe has quit [Ping timeout: 480 seconds]
03:04blu0jay has quit [Quit: ZNC 1.10.1 - https://znc.in]
03:10blu0jay has joined #asahi-dev
03:12ddxtanx has joined #asahi-dev
03:17voidah has quit [Ping timeout: 480 seconds]
03:19liangqi has joined #asahi-dev
03:25voidah has joined #asahi-dev
03:27liangqi has quit [Ping timeout: 480 seconds]
03:29blu0jay has quit [Quit: ZNC 1.10.1 - https://znc.in]
03:31liangqi has joined #asahi-dev
03:36blu0jay has joined #asahi-dev
03:46liangqi has quit [Ping timeout: 480 seconds]
03:47RZ302 has joined #asahi-dev
03:55RZ302 has quit [Ping timeout: 480 seconds]
03:55nora has joined #asahi-dev
03:57nora_ has quit [Ping timeout: 480 seconds]
03:59blu0jay has quit [Quit: ZNC 1.10.1 - https://znc.in]
04:03marvin24 has quit [Ping timeout: 480 seconds]
04:09lukeleppan91 has quit [Quit: Ping timeout (120 seconds)]
04:12liangqi has joined #asahi-dev
04:14lukeleppan91 has joined #asahi-dev
04:14gargantu1 has quit [Ping timeout: 480 seconds]
04:16damas has joined #asahi-dev
04:20liangqi has quit [Ping timeout: 480 seconds]
04:29liangqi has joined #asahi-dev
04:36damas has quit [Remote host closed the connection]
04:37liangqi has quit [Ping timeout: 480 seconds]
04:53voidah has quit [Ping timeout: 480 seconds]
04:59liangqi has joined #asahi-dev
05:01voidah has joined #asahi-dev
05:09liangqi has quit [Ping timeout: 480 seconds]
05:17voidah has quit [Ping timeout: 480 seconds]
05:21voidah has joined #asahi-dev
05:31voidah has quit [Ping timeout: 480 seconds]
05:32liangqi has joined #asahi-dev
05:40voidah has joined #asahi-dev
05:48voidah has quit [Ping timeout: 480 seconds]
05:50liangqi has quit [Read error: Connection timed out]
05:56voidah has joined #asahi-dev
05:58liangqi has joined #asahi-dev
06:05voidah has quit [Ping timeout: 480 seconds]
06:09voidah has joined #asahi-dev
06:26voidah has quit [Ping timeout: 480 seconds]
06:33RZ302 has joined #asahi-dev
06:34voidah has joined #asahi-dev
06:36ddxtanx has quit [Quit: Konversation terminated!]
06:42RZ302 has quit [Ping timeout: 480 seconds]
06:43voidah has quit [Ping timeout: 480 seconds]
06:52voidah has joined #asahi-dev
07:01voidah has quit [Ping timeout: 480 seconds]
07:02asahi has joined #asahi-dev
07:10voidah has joined #asahi-dev
07:19voidah has quit [Ping timeout: 480 seconds]
07:20devadri has quit [Read error: Connection reset by peer]
07:20devadri has joined #asahi-dev
07:21voidah has joined #asahi-dev
07:50asahi1 has joined #asahi-dev
07:56asahi has quit [Ping timeout: 480 seconds]
07:56asahi1 is now known as asahi
08:05leiodruz: No comment intended on your question, but could reverse engineering AVE be a valid thesis subject as well? :)
08:29alessaba has quit [Remote host closed the connection]
08:30voidah has quit [Ping timeout: 480 seconds]
08:32alessaba has joined #asahi-dev
08:32gargantua has joined #asahi-dev
08:39voidah has joined #asahi-dev
08:45fl0_d has joined #asahi-dev
08:47lacamar_ has joined #asahi-dev
08:48voidah has quit [Ping timeout: 480 seconds]
08:49tjemke7 has quit [Ping timeout: 480 seconds]
08:53lacamar has quit [Ping timeout: 480 seconds]
08:55yukaThe pcie code I had for A18 Pro since several weeks was working all along, I just didn't find the correct pwren pin
08:56yukaAnd thanks to StanfordAppliedCyber for the traces. I was more confident to give it another try.
08:56voidah has joined #asahi-dev
08:59fl0_d has quit [Ping timeout: 480 seconds]
09:04voidah has quit [Ping timeout: 480 seconds]
09:11voidah has joined #asahi-dev
09:13chaos_princesscan you read out the values that are already there?
09:13chaos_princesssomething tells me it is because iboot already did it
09:13tjemke77 has joined #asahi-dev
09:20voidah has quit [Ping timeout: 480 seconds]
09:20JamesCalligeros[m]i thought we confirmed that apple were moving tunables/fuses stuff to i/mboot a while ago
09:20JamesCalligeros[m]like on m3+
09:28voidah has joined #asahi-dev
09:29lacamar has joined #asahi-dev
09:34yukachaos_princess: I can read (and apply) apcie-phy-ip-pll-tunables, but not apcie-phy-ip-auspma-tunables since everything beyond +0x8000 SErrors
09:35lacamar_ has quit [Ping timeout: 480 seconds]
09:36chaos_princesshave you done this thing https://github.com/AsahiLinux/m1n1/blob/main/src/pcie.c#L427
09:36voidah has quit [Ping timeout: 480 seconds]
09:37lacamar_ has joined #asahi-dev
09:38lacamar- has joined #asahi-dev
09:44lacamar has quit [Ping timeout: 480 seconds]
09:44voidah has joined #asahi-dev
09:45lacamar_ has quit [Ping timeout: 480 seconds]
09:53voidah has quit [Ping timeout: 480 seconds]
09:56asahi1 has joined #asahi-dev
10:00voidah has joined #asahi-dev
10:01asahi has quit [Ping timeout: 480 seconds]
10:01asahi1 is now known as asahi
10:06RZ302 has joined #asahi-dev
10:07truita has quit [Ping timeout: 480 seconds]
10:09voidah has quit [Ping timeout: 480 seconds]
10:12voidah has joined #asahi-dev
10:15RZ302 has quit [Ping timeout: 480 seconds]
10:21voidah has quit [Ping timeout: 480 seconds]
10:30voidah has joined #asahi-dev
10:38RZ302 has joined #asahi-dev
10:41voidah has quit [Ping timeout: 480 seconds]
10:44nicolas has joined #asahi-dev
10:46nicolas has quit []
10:46nicolas has joined #asahi-dev
10:48nicolas has quit []
10:48nicolas has joined #asahi-dev
10:49nicolas is now known as AnEagle
10:49voidah has joined #asahi-dev
10:58asahi has quit [Quit: asahi]
10:58voidah has quit [Ping timeout: 480 seconds]
10:59RZ302 has quit [Ping timeout: 480 seconds]
11:04fl0_d has joined #asahi-dev
11:06voidah has joined #asahi-dev
11:07tg47 has quit [Quit: Ping timeout (120 seconds)]
11:07tg47 has joined #asahi-dev
11:21AnEagle has quit [Quit: AnEagle]
11:22voidah has quit [Ping timeout: 480 seconds]
11:23RZ302 has joined #asahi-dev
11:23voidah has joined #asahi-dev
11:31RZ302 has quit [Ping timeout: 480 seconds]
11:32voidah has quit [Ping timeout: 480 seconds]
11:39fl0_d has quit [Remote host closed the connection]
11:40voidah has joined #asahi-dev
11:41fl0_d has joined #asahi-dev
11:41asahi has joined #asahi-dev
11:49voidah has quit [Ping timeout: 480 seconds]
11:51AnEagle has joined #asahi-dev
11:52AnEagle has quit []
11:59voidah has joined #asahi-dev
12:07voidah has quit [Ping timeout: 480 seconds]
12:15pb17 has quit [Ping timeout: 480 seconds]
12:16voidah has joined #asahi-dev
12:23pb17 has joined #asahi-dev
12:29voidah has quit [Ping timeout: 480 seconds]
12:29fl0_d has quit [Ping timeout: 480 seconds]
12:38voidah has joined #asahi-dev
12:41kaguya_ has joined #asahi-dev
12:46blu0jay has joined #asahi-dev
12:46voidah has quit [Ping timeout: 480 seconds]
12:56voidah has joined #asahi-dev
13:04voidah has quit [Ping timeout: 480 seconds]
13:09damas has joined #asahi-dev
13:14voidah has joined #asahi-dev
13:17damas has quit [Ping timeout: 480 seconds]
13:23voidah has quit [Ping timeout: 480 seconds]
13:29nela has quit [Quit: bye!]
13:32voidah has joined #asahi-dev
13:37druz_ has joined #asahi-dev
13:39RZ302 has joined #asahi-dev
13:41voidah has quit [Ping timeout: 480 seconds]
13:48RZ302 has quit [Ping timeout: 480 seconds]
13:49voidah has joined #asahi-dev
13:58lynndotpy72 has quit [Quit: bye bye]
13:58voidah has quit [Ping timeout: 480 seconds]
13:59lynndotpy72 has joined #asahi-dev
14:00RZ302 has joined #asahi-dev
14:00voidah has joined #asahi-dev
14:02nela has joined #asahi-dev
14:08RZ302 has quit [Ping timeout: 480 seconds]
14:09voidah has quit [Ping timeout: 480 seconds]
14:14tryhard[m]obviosuly they're different but i'm not sure what to pay attention to. for example the REMAP, how do i it exactly?
14:15voidah has joined #asahi-dev
14:15gargantua has quit [Ping timeout: 480 seconds]
14:17chaos_princesswhy do you care about that one, macos only reads it in your trace
14:17gargantua has joined #asahi-dev
14:21tryhard[m]maybe the firmware needs it?
14:22chaos_princessfirmware does not touch darts. that is kind of the point, darts protect the ap from potentially compromised firmware
14:22tryhard[m]mhm understood. so about the last two writes of TCR?
14:24chaos_princesshow exactly does the linux driver fail?
14:24voidah has quit [Ping timeout: 480 seconds]
14:24tryhard[m]timeout on rtkit
14:24tryhard[m]waking up rtkit
14:25voidah has joined #asahi-dev
14:26RZ302 has joined #asahi-dev
14:26chaos_princessok, so, first question - show your device tree
14:26chaos_princessyou are writing to tcr4 and i am not sure why
14:26asahi has quit [Ping timeout: 480 seconds]
14:32chaos_princesscan you try leaving only <&ps_pms_sram> in pmp_mbox power domains
14:34tryhard[m]same
14:34tryhard[m]i think we already tried that
14:35tryhard[m]maybe something else casues it?
14:35RZ302 has quit [Ping timeout: 480 seconds]
14:35tryhard[m]like another driver
14:35chaos_princessmaybe, but i don't see why linux driver went off to do stuff with stream 4
14:36tryhard[m]oh actually it doesnt write to TCR[4] anymore
14:36tryhard[m]i mean the error is still the same
14:37Deewiant has quit [Remote host closed the connection]
14:38Deewiant has joined #asahi-dev
14:41tryhard[m]what about tcr 15?
14:44chaos_princessactually, can you just push your driver somewhere
14:44chaos_princessthe approach of debugging through a looking hole is not working
14:46tryhard[m]sure
14:46tryhard[m]there are some parts that are not ready yet obviously and might be useless but the driver didn't get there yet
14:49chadmed has joined #asahi-dev
14:50chaos_princessdo you have any m1n1 changes
14:50tryhard[m]yeah but not sure if they're significant
14:51chaos_princesspush those too
14:53chaos_princesshttps://github.com/dd-dreams/linux/commit/b79ca3fdfea82bef8f6df8a322ee906ea0300331
14:54chaos_princesssec, first failed to link
14:54chaos_princesshttps://github.com/dd-dreams/linux/commit/b79ca3fdfea82bef8f6df8a322ee906ea0300331#diff-57a6bd4a007c1fc1d853e0f8c3e6c4db4b86c1d772f621b05b1d5e05964f5be2R11
14:55chaos_princesswhy did it link there? anyway, where did you get 0x10 for cpu_control? it is 0x44
14:56tryhard[m]https://github.com/dd-dreams/m1n1/commit/3326d8586c933de64ec2f88c9cb98060c0a639e3 here are the changes that probably relevant
14:57chaos_princessfix cpu_control offset and try again
14:57tryhard[m]chaos_princess: it says 0x10
14:57chaos_princesswhere?
14:57tryhard[m][cpu3] [PMPTracer@/arm-io/pmp] CPU_CONTROL = 0x10 (RUN=1)
14:57chaos_princessyou are misreading it completely, 0x10 is the value that is being read/written
14:57chaos_princessnot the address
14:59tryhard[m]uh shit you're right
14:59tryhard[m]ill try building
14:59damas has joined #asahi-dev
15:03minecrell has quit [Quit: :/]
15:03tryhard[m]gah daym finally
15:03tryhard[m]pmp started up
15:10voidah has quit [Ping timeout: 480 seconds]
15:10pb17 has quit [Ping timeout: 480 seconds]
15:11gargantua has quit [Ping timeout: 480 seconds]
15:14minecrell has joined #asahi-dev
15:18voidah has joined #asahi-dev
15:22mripard has quit [Quit: WeeChat 4.9.0]
15:27yukachaos_princess: reg apcie0[4] seems to match up with apcie-gp-axi2af-tunables in regards to the values already written there by iboot
15:27damas has quit [Read error: Connection timed out]
15:27voidah has quit [Ping timeout: 480 seconds]
15:34voidah has joined #asahi-dev
15:35gargantua has joined #asahi-dev
15:43voidah has quit [Ping timeout: 480 seconds]
15:43gargantu1 has joined #asahi-dev
15:45gargantua has quit [Ping timeout: 480 seconds]
15:48pb17 has joined #asahi-dev
15:50voidah has joined #asahi-dev
15:55lukeleppan91 has quit [Read error: No route to host]
15:56lukeleppan91 has joined #asahi-dev
15:59voidah has quit [Ping timeout: 480 seconds]
16:03voidah has joined #asahi-dev
16:27freetolga has quit [Quit: Connection closed for inactivity]
17:02jannauhttps://github.com/AsahiLinux/m1n1/pull/583 should make running macos in the hypervisor on M3 easier
17:03gargantu1 has quit [Ping timeout: 480 seconds]
17:13RZ302 has joined #asahi-dev
17:17chaos_princessso, mtp gpio on t6031 is probably wrong and works by accident, there is some weird gpXX (observe lowercase p) gpio that we do not support. Also happens to conflict with the sd reader pwren gpio, both are on 0x19
17:17chaos_princess(sd reader is gPXX)
17:18chaos_princessfor the instructions above - will we have to use nested virt in m1n1 instead of just sending macos to el1
17:21RZ302 has quit [Ping timeout: 480 seconds]
17:28jannaushould we add 32 or 256 to the GPIO numbers (if we want to avoid updating the bindings and add another GPIO cell)
17:28yukajannau: the fixups do not seem to be sufficient for me on t6034. I still have to apply the patches from IntegralPilot's guide to even get a progress bar.
17:29lukeleppan91 has quit [Read error: Connection reset by peer]
17:29lukeleppan91 has joined #asahi-dev
17:29chaos_princessimo - either 1000 since we are using decimal everywhere and that is easier to notice, or 256 with a macro
17:29chaos_princesss/notice/read/
17:36qyliss has quit [Quit: bye]
17:38qyliss has joined #asahi-dev
17:43mx08 has quit [Quit: WeeChat 3.8]
17:44mx08 has joined #asahi-dev
17:53RZ302 has joined #asahi-dev
17:53asahi has joined #asahi-dev
17:54ddxtanx has joined #asahi-dev
18:00ddxtanx has quit [Remote host closed the connection]
18:01RZ302 has quit [Ping timeout: 480 seconds]
18:01asahi has quit [Ping timeout: 480 seconds]
18:03chadmed has quit [Quit: Konversation terminated!]
18:03chadmed has joined #asahi-dev
18:14RZ302 has joined #asahi-dev
18:15ddxtanx has joined #asahi-dev
18:16ddxtanx has quit [Remote host closed the connection]
18:22RZ302 has quit [Ping timeout: 480 seconds]
18:22ddxtanx has joined #asahi-dev
18:30JTL has quit [Ping timeout: 480 seconds]
18:31truita has joined #asahi-dev
18:32RZ302 has joined #asahi-dev
18:33norn[m] has joined #asahi-dev
18:41RZ302 has quit [Ping timeout: 480 seconds]
19:06whtftz has joined #asahi-dev
19:31___nick___ has joined #asahi-dev
19:32___nick___ has quit []
19:34___nick___ has joined #asahi-dev
20:05___nick___ has quit [Remote host closed the connection]
20:12whtftz has quit [Remote host closed the connection]
20:13gargantua has joined #asahi-dev
20:43roxfan2 is now known as roxfan
20:43msf2600 has joined #asahi-dev
20:50fl0_id__ has joined #asahi-dev
20:50fl0_id__ has quit [Remote host closed the connection]
20:50fl0_id__ has joined #asahi-dev
20:50msf2600 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
20:51msf2600 has joined #asahi-dev
20:53fl0_id__yay first boot for me on m3 max upto setup screen. it says mtp loaded but also:[ 57.250960] dockchannel-hid 2acb28000.input: Direct firmware load for apple/tpmtfw-j514c.bin failed with error -2
20:54chaos_princesshow did you install it
20:55chaos_princessok, manually extract firmware.tar from ESP to /lib/firmware
20:55fl0_id__though I didn't know it was officially packaged. (is it?) and thus used their branch from github
20:56chaos_princessaside from the gpio issue that i flagged above, mtp works on my j514c after manually loading firmware
20:57fl0_id__right. in the log it also first says it "interface keyboard is ready" but then later complains of firmware error.
20:58chaos_princesskb works firmware-less, fw is for the touchpad
20:59msf2600 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:04fl0_id__chaos_princess, you mean from macos? Tried forcing a root pw with init=/bin/bash but that didn't want to work so far...
21:05chaos_princessi mean, you can try from macos i guess, anylinuxfs is your friend
21:06yukaMy iso keyboard behaves weirdly on dockchannel-hid, like there is some remapping missing. Would this remapping be added in the kernel driver like in hid-apple?
21:06chaos_princessi did it from linux, as i could get kb access, and i didn't go for a fresh install, but rather dd-ed a working one from my j314
21:07chaos_princesswell, dd-ed over the rootfs, the "uefi boot only" was made by the installer
21:07fl0_id__chaos_princess, would love to do from linux, but not sure how. anyway, probably a thing for tomorrow tbh
21:08chaos_princessyuka: hid-apple should cover both i think?
21:08chaos_princesswhatever remapping needs to happen should go either there or into xkb
21:09chaos_princessno, both mtp and spi are "backends" for hid-apple
21:09yukathen I just need to get the usual "options hid_apple iso_layout=1 swap_opt_cmd=1" somehow into my kernel
21:10chaos_princessi think those are picked up from procfs?
21:10chaos_princessnot proc, /sys/module/*/parameters - something like this
21:11cyrinux949075 has quit []
21:13cyrinux949075 has joined #asahi-dev
21:16fl0_id__ has quit [Ping timeout: 480 seconds]
21:34fl0_d has joined #asahi-dev
21:47ddxtanx has quit [Remote host closed the connection]
21:50ddxtanx has joined #asahi-dev
21:52JTL has joined #asahi-dev
22:10gargantu1 has joined #asahi-dev
22:14gargantua has quit [Ping timeout: 480 seconds]
22:17violette- has joined #asahi-dev
22:18violette has quit [Read error: Connection reset by peer]
22:20violette has joined #asahi-dev
22:22violette- has quit [Read error: Connection reset by peer]
22:25violette- has joined #asahi-dev
22:27violette has quit [Read error: Connection reset by peer]
22:28violette has joined #asahi-dev
22:30violette| has joined #asahi-dev
22:31fl0_d has quit [Ping timeout: 480 seconds]
22:31violette- has quit [Read error: Connection reset by peer]
22:37violette has quit [Ping timeout: 480 seconds]
22:42ddxtanx has quit [Remote host closed the connection]
22:44ddxtanx has joined #asahi-dev
22:57mjolnir[mds] has quit []
22:57h8ony3[mds] has quit [Quit: Bridge terminating on SIGTERM]
22:57PenelopeGwen[mds] has quit [Quit: Bridge terminating on SIGTERM]
22:57tumblingweed has quit [Quit: Bridge terminating on SIGTERM]
22:57travltux[mds] has quit [Quit: Bridge terminating on SIGTERM]
22:57jacobm[mds] has quit [Quit: Bridge terminating on SIGTERM]
22:57JPeisach1 has quit [Quit: Bridge terminating on SIGTERM]
22:57M0ups[mds] has quit [Quit: Bridge terminating on SIGTERM]
22:57jykrwn_bot[mds] has quit []
22:57Q_ has quit [Quit: Bridge terminating on SIGTERM]
23:10Q_ has joined #asahi-dev
23:16revadam has joined #asahi-dev
23:19revadam has quit []
23:19violette has joined #asahi-dev
23:24violette| has quit [Read error: Connection reset by peer]
23:28liangqi has quit [Remote host closed the connection]
23:29liangqi has joined #asahi-dev
23:37liangqi has quit [Ping timeout: 480 seconds]
23:38violette- has joined #asahi-dev
23:43liangqi has joined #asahi-dev
23:44violette has quit [Ping timeout: 480 seconds]
23:55damas has joined #asahi-dev