2026-03-22
00:03Artingl has joined #asahi-re
01:05hdbngr has joined #asahi-re
01:13hdbngr has quit [Ping timeout: 480 seconds]
01:47hdbngr has joined #asahi-re
01:55hdbngr has quit [Ping timeout: 480 seconds]
02:10Extern has quit [Quit: WeeChat 4.8.2]
02:21hdbngr has joined #asahi-re
02:30hdbngr has quit [Ping timeout: 480 seconds]
03:26hdbngr has joined #asahi-re
03:35hdbngr has quit [Ping timeout: 480 seconds]
03:46chadmed has quit [Quit: Konversation terminated!]
03:46chadmed has joined #asahi-re
04:03zakiryaI'm focusing on the XNU kernel research first. Specifically, I'm trying to use the vmapple variant as a skeleton to reach a bootable state on generic ARM64 using m1n1 as the shim. The goal is to prove we can dummy the PAC (HVC 0xC1000002) and map GICv3 interrupts to bypass the AIC dependency. Once we get a serial console from a raw Mach-O boot, then we can worry about the rest of the OS stack."
04:11zakiryaYeah, the missing IOKit stuff in the public git is a pain. That’s why I'm targeting the vmapple machine model specifically. Since it's built for VirtIO and standard GICv3, I'm hoping it's less of a 'brain in a jar' than the bare-metal kernel. Right now I'm just trying to get a serial output through m1n1. If I can get the Mach-O to execute the first few instructions and hit a sync exception I can trace, I'll put the repo up for
04:38hdbngr has joined #asahi-re
04:45ddxtanx has quit [Remote host closed the connection]
04:46hdbngr has quit [Ping timeout: 480 seconds]
05:03chadmed has quit [Ping timeout: 480 seconds]
05:04chadmed has joined #asahi-re
05:07hdbngr has joined #asahi-re
05:15hdbngr has quit [Ping timeout: 480 seconds]
05:25hdbngr has joined #asahi-re
05:33hdbngr has quit [Ping timeout: 480 seconds]
05:41hdbngr has joined #asahi-re
05:50hdbngr has quit [Ping timeout: 480 seconds]
05:59chadmed has quit [Ping timeout: 480 seconds]
06:25chadmed has joined #asahi-re
06:50hdbngr has joined #asahi-re
06:59hdbngr has quit [Ping timeout: 480 seconds]
07:43andymandias has quit [Remote host closed the connection]
07:59hdbngr has joined #asahi-re
08:01andymandias has joined #asahi-re
08:07hdbngr has quit [Ping timeout: 480 seconds]
08:26andymandias has quit [Remote host closed the connection]
08:26andymandias has joined #asahi-re
09:03andymandias has quit [Remote host closed the connection]
09:03andymandias has joined #asahi-re
09:10hdbngr has joined #asahi-re
09:19hdbngr has quit [Ping timeout: 480 seconds]
09:21andymandias has quit [Remote host closed the connection]
09:21andymandias has joined #asahi-re
09:24noopwafeldoes anyone know if there's any kind of disable/hack for the ApplePMGR timing asserts? from irc logs, marcan mentioned pmgr-disable-energy-panic for the energy panics
09:34andymandias has quit [Remote host closed the connection]
09:34andymandias has joined #asahi-re
09:36noopwafel"ApplePMGR: void ApplePMGR::_syncDeviceStatusChange(DeviceStatusChangeData *, UInt32):11702 " "_syncDeviceStatusChange takes too long execTime 45418 us threshold 30000 us PsLevelChangeTime 45406 us turningOn 1 threadSlept 0" @ApplePMGR.cpp:11702
09:42oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
09:46chaos_princesscan you run on m3 with this kernel command line "debug=0x14e serial=3 -enable-kprintf-spam wdt=-1 clpc=0 pmgr-debug=0xffffffff pmgr-debug-devices=0xffffffff pmgr-debug-always-on=0xffffffff pmgr-debug-energy-model=0xffffffff pmgr-debug-restore-counter=1 pmgr-trace=1 -disable_mtx_chk" and with -d flag to run_guest, then pastebin xnu console output
09:47oliver has joined #asahi-re
09:53oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
09:56oliver has joined #asahi-re
09:59oliver has quit []
10:00oliver has joined #asahi-re
10:06noopwafelthat .. actually boots fine :) race conditions \o/ https://noopwafel.net/asahi/m3-pmgr-log-good.txt if it's interesting/useful despite this
10:08chaos_princessunexpected
10:09chaos_princessdo you also have the crash from before?
10:11noopwafeltried a couple more times and got a Lock failure in _cpuIdle : https://noopwafel.net/asahi/m3-pmgr-log-panic.txt
10:11hdbngr has joined #asahi-re
10:13noopwafelthat is with a tracer enabled, so probably valid for it to complain, but that is not the usual failure, and based on the log maybe I can workaround that by disabling idle somehow..
10:15chaos_princessit is either that or -disable_mtx_chk
10:17chaos_princessyou probably do not need all of them, as that command line lights up every single debug path inside the pmgr driver
10:20hdbngr has quit [Ping timeout: 480 seconds]
11:12hdbngr has joined #asahi-re
11:20hdbngr has quit [Ping timeout: 480 seconds]
11:26hdbngr has joined #asahi-re
11:36hdbngr has quit [Ping timeout: 480 seconds]
11:44hdbngr has joined #asahi-re
11:54truita has quit [Remote host closed the connection]
11:56truita has joined #asahi-re
12:01hdbngr has quit [Ping timeout: 480 seconds]
12:10hdbngr has joined #asahi-re
12:21Artingl has quit [Remote host closed the connection]
13:31hdbngr has quit [Ping timeout: 480 seconds]
13:37mattia013 has quit [Remote host closed the connection]
13:38mattia013 has joined #asahi-re
13:40hdbngr has joined #asahi-re
13:48hdbngr has quit [Ping timeout: 480 seconds]
13:53hdbngr has joined #asahi-re
14:31pb17 has quit [Ping timeout: 480 seconds]
14:33pb17 has joined #asahi-re
14:52terr has joined #asahi-re
15:07hdbngr has quit [Ping timeout: 480 seconds]
15:16hdbngr has joined #asahi-re
15:25hdbngr has quit [Ping timeout: 480 seconds]
15:32hdbngr has joined #asahi-re
15:54terr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:18hdbngr has quit [Ping timeout: 480 seconds]
18:27hdbngr has joined #asahi-re
18:33pb17 has quit [Ping timeout: 480 seconds]
18:35hdbngr has quit [Ping timeout: 480 seconds]
18:43hdbngr has joined #asahi-re
18:51pb17 has joined #asahi-re
19:47john-cabaj has joined #asahi-re
19:53Shorden has joined #asahi-re
20:05pb17 has quit [Ping timeout: 480 seconds]
20:10john-cabaj has quit [Ping timeout: 480 seconds]
20:10pb17 has joined #asahi-re
21:09prike283 has quit [Quit: The Lounge - https://thelounge.chat]
21:25prike2838 has joined #asahi-re
21:31prike2838 has quit [Quit: The Lounge - https://thelounge.chat]
21:32terr has joined #asahi-re
22:17hdbngr has quit [Ping timeout: 480 seconds]
22:27terr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:33terr has joined #asahi-re
22:58hdbngr has joined #asahi-re
23:08hdbngr has quit [Ping timeout: 480 seconds]
23:16hdbngr has joined #asahi-re
23:24hdbngr has quit [Ping timeout: 480 seconds]