#
…

2026-01-12

00:02cow123 has joined #asahi-dev
00:05hdbngr has quit [Ping timeout: 480 seconds]
00:06nela8 has joined #asahi-dev
00:09mixi has quit [Ping timeout: 480 seconds]
00:11nela has quit [Ping timeout: 480 seconds]
00:11nela8 is now known as nela
00:20mixi has joined #asahi-dev
00:48fl0_idShiz isn't th j516 an m3 max? did you try booting linux on it yet?
00:48fl0_idmine is j516ac or sth if the characters at the end are shiown
00:52kitlith has joined #asahi-dev
00:55Shizfl0_id: m3 pro :)
00:55Shizj516ap
00:56fl0_idah ok. god these are confusing. just lookign for someone to test if things are only messed up for me or not ^^
00:57ShizI haven't tested booting linux on this yet, mostly due to not having set up a linux dev setup fully yet
00:57Shiznoopwafel & i have mostly so far been seeing if we can get xnu to boot under m1n1 to have a solid base for tracing/experiments
00:59fl0_idright, but others like integralpilot have. in any case, macos also worked badly for me. but maybe I should try that again. people had worked on it in the past, but at least the counter chickens in m1n1 did not seem right for me somehow
00:59Shizwhat do you have?
01:00DarkShadow44 has quit [Read error: Connection reset by peer]
01:01DarkShadow44 has joined #asahi-dev
01:05fl0_idShiz m3 max
01:05fl0_idit was like a new job present for myself lol
01:19Shizso, the magic addrs m1n1 seems to be hooking for pmgr is awfully close of a range filtered by the dart-aop instance in J274 devicetrees
01:20Shizm1n1 hooks 0x23d29c05c, that range is 0x23d29c060-0x23d29c0e3
01:27troseman has joined #asahi-dev
01:51Shizokay, I found the source of the mystery m1n1 hook: pmgr is (among others) at 0x3d280000, offset 0x1c010 is `PG0` of type `R_PWRGATE`
01:52Shizwhich makes pg_overrides sound very logical in hindsight
01:53Shizyou might have already guessed that on the m3, pmgr is nowhere near that address so that's just hooking into the breeze
01:55freetolga has quit [Quit: Connection closed for inactivity]
01:57troseman has quit [Max SendQ exceeded]
01:58troseman has joined #asahi-dev
01:59Shiza slightly less hacky (but still hacky) way might look like this https://txt.shiz.me/YmVjYmVmZT
02:04foltz has joined #asahi-dev
02:38john-cabaj has joined #asahi-dev
03:21hexdump0815 has joined #asahi-dev
03:23hexdump01 has quit [Ping timeout: 480 seconds]
03:26integralpilot has joined #asahi-dev
03:27integralpilotif no-one has any issues with the MTP/keyboard stuff or wants more time to look through it (thanks if you do!), i might send it upstream tonight :)
03:28integralpilotoh also just thought fl0_id, can you confirm you are on a branch with AIC3 support and you have the AIC config option enabled. not having interrupts might cause mysterious linux boot issues like you are having.
03:33tobhe_ has joined #asahi-dev
03:40tobhe has quit [Ping timeout: 480 seconds]
03:51jmax_ has joined #asahi-dev
03:51jmax has quit [Read error: Connection reset by peer]
03:52cremfuelled has joined #asahi-dev
04:02cremfuelled has quit [Quit: cremfuelled]
04:05pb17 has quit [Ping timeout: 480 seconds]
04:13pb17 has joined #asahi-dev
04:23midou has quit [Read error: No route to host]
04:24nora_ has joined #asahi-dev
04:26nora has quit [Ping timeout: 480 seconds]
04:31midou has joined #asahi-dev
04:41john-cabaj has quit [Ping timeout: 480 seconds]
04:48hdbngr has joined #asahi-dev
04:57hdbngr has quit [Ping timeout: 480 seconds]
05:14integralpilot has quit [Ping timeout: 480 seconds]
05:15integralpilot has joined #asahi-dev
05:28hdbngr has joined #asahi-dev
05:36hdbngr has quit [Ping timeout: 480 seconds]
05:39Guest35340 has quit [Quit: Bridge terminating on SIGTERM]
05:39rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
05:43Jamie has joined #asahi-dev
05:43Jamie has quit [Remote host closed the connection]
05:45rhysmdnz has joined #asahi-dev
05:46Guest35664 has joined #asahi-dev
05:47nickchanthis should be sufficient to enter non-retention wfi and wake up on an interrupt
05:49nickchanand then there's a sleep state where most of the system powers down not sure how to enter that one yet
05:50nickchanand on recent SoC when waking up from that it will go through reconfig engine with bytecode in AOP SRAM to reinitialize some system state and cpu ends up at the previous IORVBAR
05:50nickchanretention deep wfi is added in A12 where most state are kept but at least GPR and FP state is lost
05:52nickchanbefore that all deep wfi is nonretention without setting that disable retention bit
05:53hdbngr has joined #asahi-dev
05:53nickchanof course, linux's cpuidle driver doesn't support that and especially that on some socs it means it would end up in EL3 after deep wfi
05:56nickchanBut assuming the deepest sleep state is not entered then the peripheral state is entirely up to the discretion of the OS
05:56nickchanI think there's some power savings still to be had there
05:57nickchannot enough stuff is powered down / set to low power state
06:01hdbngr has quit [Ping timeout: 480 seconds]
06:02nickchanit should be permissible to down the dram frequency / power state in MCC/PMGR
06:02nickchani think pmgr-misc on t6000 actually does some of that?
06:08NickChan[m] has joined #asahi-dev
06:09pb17 has quit [Ping timeout: 480 seconds]
06:10nickchanthe deepest sleep state on this platform is very much suspend to RAM
06:11nickchani don't think macOS does that immediately when the lid is closed but
06:11nickchandid any observe macOS in sleep state for longer amounts of time
06:11nickchanwith the wake on network connection all disabled
06:17pb17 has joined #asahi-dev
06:18hdbngr has joined #asahi-dev
06:31hdbngr has quit [Ping timeout: 480 seconds]
06:34hdbngr has joined #asahi-dev
06:43hdbngr has quit [Ping timeout: 480 seconds]
06:44knorkle has quit [Remote host closed the connection]
06:47rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
06:47Guest35664 has quit [Quit: Bridge terminating on SIGTERM]
06:50rhysmdnz has joined #asahi-dev
06:50hdbngr has joined #asahi-dev
06:51Guest35667 has joined #asahi-dev
07:06nickchansven: sptm rollout:
07:06nickchanM2 and M4 on macOS 15
07:07nickchanM3 on macOS 26
07:07LarstiQM2 got it before M3?
07:09nickchanand for any gxf differences between SoCs it must be similar enough for one sptm vresearch1 image to run from M1-M5
07:17nickchanalso note that A15/A16/A17 all got sptm treatment in iOS 17 (macOS 14) so whatever differences in gxf did not affect the release schedule
07:19nickchanaccording to that one 26.0 beta 4 kdk that apple publicly released there's also a vminternal4 and the sptm on that must also run from M1-M5
07:23jannauintegralpilot: I'd like to take a look, please hold off. I'll take some time tonight (Central european time) for it
07:23nickchanin that **public KDK**'s there's many many sptm strings inside macOSKDKInternal.pkg/Payload/System/Library/Kernels/kernel.development.vminternal4
07:59Guest35667 has quit [Quit: Bridge terminating on SIGTERM]
07:59rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
08:07hdbngr has quit [Ping timeout: 480 seconds]
08:09rhysmdnz has joined #asahi-dev
08:10Guest35674 has joined #asahi-dev
08:15hdbngr has joined #asahi-dev
08:21rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
08:21Guest35674 has quit [Quit: Bridge terminating on SIGTERM]
08:23rhysmdnz has joined #asahi-dev
08:24Jamie1 has joined #asahi-dev
08:46hdbngr has quit [Ping timeout: 480 seconds]
08:56hdbngr has joined #asahi-dev
09:05hdbngr has quit [Ping timeout: 480 seconds]
09:09chaos_princessLarstiQ: for some reason vanilla m2 was the first thing that got it, pro/max m2 only got it in 26
09:09integralpilotooh interesting sleep and DRAM research nickchan!
09:09integralpilotthanks for taking the time to look through it jannau. :)
09:13LarstiQchaos_princess: huh, weird
09:13hdbngr has joined #asahi-dev
09:17nickchanthe reason is probably m2 is already in ipads by then
09:17nickchanand apple care more about ios than macos
09:17nickchannow of course later m3 ipad became a thing anyways
09:18Shizwhat i find interesting is how late m3 got it
09:20nickchanso a series get all the security love
09:20nickchanfollowed by base m series
09:20nickchanfollowed by m series pro/max/ultra
09:20nickchanfollowed by x86_64 mac
09:22hdbngr has quit [Ping timeout: 480 seconds]
09:22nickchanwe will see if asahi got to deal with a18 soon enough
09:22chaos_princessis there something crazy about a18 that would make it difficult?
09:22nickchanno, it should be similar to m4
09:23nickchanit's m5 that's difficult due to exclaves
09:23nickchanwell m4/a18 is diffcult in general
09:23nickchanBut m5 is even worse
09:27nickchanm3 should not be any worse than m1/m2 but alas it looks like it's not super straightfoward either
09:31hdbngr has joined #asahi-dev
09:37ravikant_ has joined #asahi-dev
09:40hdbngr has quit [Ping timeout: 480 seconds]
09:45hdbngr has joined #asahi-dev
10:10kitlith has quit [Read error: Connection reset by peer]
10:10kitlith has joined #asahi-dev
10:51hdbngr has quit [Ping timeout: 480 seconds]
10:55hdbngr has joined #asahi-dev
11:03hdbngr has quit [Ping timeout: 480 seconds]
11:05hdbngr has joined #asahi-dev
11:07integralpilot has quit [Quit: integralpilot]
11:14hdbngr has quit [Ping timeout: 480 seconds]
11:21hdbngr has joined #asahi-dev
11:29hdbngr has quit [Ping timeout: 480 seconds]
11:38hdbngr has joined #asahi-dev
11:47hdbngr has quit [Ping timeout: 480 seconds]
11:56hdbngr has joined #asahi-dev
12:00aditya has joined #asahi-dev
12:10hdbngr has quit [Ping timeout: 480 seconds]
12:10ravikant_ has quit [Ping timeout: 480 seconds]
12:11hdbngr has joined #asahi-dev
12:22T4ForFun has joined #asahi-dev
12:25hdbngr has quit [Ping timeout: 480 seconds]
12:30___nick___ has joined #asahi-dev
12:31___nick___ has quit []
12:33hdbngr has joined #asahi-dev
12:33___nick___ has joined #asahi-dev
12:41hdbngr has quit [Ping timeout: 480 seconds]
12:45hdbngr has joined #asahi-dev
12:52fl0_idintegegralpilot shouldn't be aic3 support on main m1n1? In my logs it says sth like AIC: Version 3 @ 0x292400000, AIC: AIC3 with 1/2 dies, 2528/4096 IRQs, reg_size:40004, config:10000, extintrcfg_stride:04a00, intmaskset_stride:04a00, intmaskclear_stride:04a00, AIC: Configuring 1 external interrupts
12:52fl0_idI didn't know that it needs a config option
12:52fl0_idor you mean in the kernel? I can only check that later
13:03ravikant_ has joined #asahi-dev
13:05hdbngr has quit [Ping timeout: 480 seconds]
13:15hdbngr has joined #asahi-dev
13:16betoissues has quit [Quit: bye bye.]
13:18__nick__ has joined #asahi-dev
13:18betoissues has joined #asahi-dev
13:20betoissues has quit []
13:22___nick___ has quit [Ping timeout: 480 seconds]
13:22betoissues has joined #asahi-dev
13:23hdbngr has quit [Ping timeout: 480 seconds]
13:31hdbngr has joined #asahi-dev
13:39hdbngr has quit [Ping timeout: 480 seconds]
13:42cremfuelled has joined #asahi-dev
13:46hdbngr has joined #asahi-dev
13:54hdbngr has quit [Ping timeout: 480 seconds]
13:55hdbngr has joined #asahi-dev
13:58cremfuelled has quit [Quit: cremfuelled]
14:10aditya has quit [Quit: Connection closed for inactivity]
14:10hdbngr has quit [Ping timeout: 480 seconds]
14:13hdbngr has joined #asahi-dev
14:23hdbngr has quit [Ping timeout: 480 seconds]
14:29cremfuelled has joined #asahi-dev
14:30hdbngr has joined #asahi-dev
14:38hdbngr has quit [Ping timeout: 480 seconds]
14:42T4ForFun has quit [Remote host closed the connection]
14:47hdbngr has joined #asahi-dev
15:05beastd has quit [Ping timeout: 480 seconds]
15:07hdbngr has quit [Ping timeout: 480 seconds]
15:07DarkShadow44 has quit [Ping timeout: 480 seconds]
15:08DarkShadow44 has joined #asahi-dev
15:16hdbngr has joined #asahi-dev
15:22john-cabaj has joined #asahi-dev
15:26midou has quit [Read error: No route to host]
15:27john-cabaj has quit [Quit: john-cabaj]
15:29john-cabaj has joined #asahi-dev
15:33hdbngr has quit [Ping timeout: 480 seconds]
15:33cremfuelled has quit [Quit: cremfuelled]
15:37midou has joined #asahi-dev
15:41hdbngr has joined #asahi-dev
15:42cremfuelled has joined #asahi-dev
15:54pb17 has quit [Ping timeout: 480 seconds]
16:06pb17 has joined #asahi-dev
16:09hdbngr has quit [Quit: Lost terminal]
16:10hdbngr has joined #asahi-dev
16:19cremfuelled has quit [Quit: cremfuelled]
16:23hdbngr has quit [Ping timeout: 480 seconds]
16:30yapz337 has joined #asahi-dev
16:31yapz337Hi everyone, i want to start to learn about OS and internals and i thought contributing to this project would be cool :D
16:32hdbngr has joined #asahi-dev
16:34yapz337I am trying to make the hv work on macos 26.0 (mac mini m1), i also tried 15.0 because ive seen in the source that the fw was supported, but installing m1n1 and booting it doesn't display anything, i have the uartproxy tho and can launch macos 15/26 kc's (they panic soon and i don't have any log)
16:41yapz337Did apple change/break something in iboot making the boot logs hidden ? For the display part it seems dcp won't start for me, when i send the asc message to start it i never get the hello (i get it with dcpext tho?)
16:42hdbngr has quit [Ping timeout: 480 seconds]
16:42yapz337I do no know if i'm doing smth wrong or if it has been already discussed, i searched the doc and keywords on irc but didn't find anything that could help me
16:49hdbngr has joined #asahi-dev
16:53NickChan[m]iboot boot logs has been obfuscated since iOS 9
16:54yapz337My bad, i meant the kernel logs, i can't see them on my screen or uart
16:55NickChan[m]yapz337: the kernel probably crashed before any log
16:59NickChan[m]I think 14.3.x still worked and thereafter issues started appearing
17:00yapz337Ah i didn't even think about that indeed lmao, i do panic in ApplePMGR
17:04yapz337Guess i'm on a reverse journey for the kernel, if anyone have a clue about dcp not replying despite being up (asc_cpu_running returns 1) i'd love to know about it, the SoC part is where i'm kinda new :]
17:13derzahl has joined #asahi-dev
17:16derzahl has quit []
17:38pb17 has quit [Ping timeout: 480 seconds]
18:03hdbngr has quit [Ping timeout: 480 seconds]
18:06hdbngr has joined #asahi-dev
18:13pb17 has joined #asahi-dev
18:15hdbngr has quit [Ping timeout: 480 seconds]
18:20Deewiant has quit [Remote host closed the connection]
18:21Deewiant has joined #asahi-dev
18:22cremfuelled has joined #asahi-dev
18:23cremfuelled has quit []
18:24hdbngr has joined #asahi-dev
18:32hdbngr has quit [Ping timeout: 480 seconds]
18:36hdbngr has joined #asahi-dev
18:52ravikant_ has quit [Ping timeout: 480 seconds]
18:55hdbngr has quit [Ping timeout: 480 seconds]
19:03hdbngr has joined #asahi-dev
19:16hdbngr has quit [Ping timeout: 480 seconds]
19:16hdbngr has joined #asahi-dev
19:26user_ has joined #asahi-dev
19:26user_ is now known as user
19:26user is now known as Guest35705
19:26Guest35705 has quit [Killed (reflection.oftc.net (Unknown Client))]
19:35hdbngr has quit [Ping timeout: 480 seconds]
19:40pb17 has quit [Ping timeout: 480 seconds]
19:43hdbngr has joined #asahi-dev
19:44nnym has quit [Quit: quitting out | tjmnkrajyej@gmail.com]
19:45nnym has joined #asahi-dev
19:52hdbngr has quit [Ping timeout: 480 seconds]
19:53pb17 has joined #asahi-dev
19:59hdbngr has joined #asahi-dev
20:00nickchan has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
20:00nickchan has joined #asahi-dev
20:08hdbngr has quit [Ping timeout: 480 seconds]
20:17hdbngr has joined #asahi-dev
20:21beastd has joined #asahi-dev
20:31okb has joined #asahi-dev
20:53cyberhead has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
20:54cyberhead has joined #asahi-dev
20:54cyberhead has quit []
20:54cyberhead has joined #asahi-dev
21:06__nick__ has quit [Remote host closed the connection]
21:17ShizNickChan[m]: cn confirm that 14.8.x still shows kernel logs
21:17Shizyapz337: I've had good luck with ^ 14.8.3
21:18Shizbut it's odd that your m1n1 doesn't show anything at all
21:20cremfuelled has joined #asahi-dev
21:23cremfuelled has quit []
21:45hdbngr has quit [Ping timeout: 480 seconds]
22:03psykose has quit [Remote host closed the connection]
22:03psykose has joined #asahi-dev
22:29cremfuelled has joined #asahi-dev
22:32cremfuelled has quit []
22:41nela9 has joined #asahi-dev
22:47nela has quit [Ping timeout: 480 seconds]
22:47nela9 is now known as nela
22:59hdbngr has joined #asahi-dev
23:07okb has quit [Read error: Connection reset by peer]
23:07hdbngr has quit [Ping timeout: 480 seconds]
23:09john-cabaj has quit [Ping timeout: 480 seconds]
23:38hdbngr has joined #asahi-dev
23:47hdbngr has quit [Ping timeout: 480 seconds]
23:56hdbngr has joined #asahi-dev
…