#asahi-dev · 2026-05-18 21:40
chaos_princesshttps://github.com/AsahiLinux/macvdmtool https://asahilinux.org/docs/sw/m1n1-user-guide/ - start here#asahi-dev · 2026-05-17 13:34
chaos_princessno, you call the ioremap or similar with what needs mapping where#asahi-dev · 2026-05-17 13:24
chaos_princessso just program stream 4 the way it expects#asahi-dev · 2026-05-17 13:18
chaos_princessyes#asahi-dev · 2026-05-17 13:14
chaos_princesssomething like that#asahi-dev · 2026-05-17 13:06
chaos_princessboot into macos, wait for it to reach steady state, and then do a dump of relevant dart for stream 4#asahi-dev · 2026-05-17 09:21
chaos_princessyou are using it wrong somehow#asahi-dev · 2026-05-17 08:41
chaos_princessthe fact that you don't see a write to outbox_ctrl?#asahi-dev · 2026-05-17 08:34
chaos_princessyou are failing during rtkit start, it shouldn't matter yet#asahi-dev · 2026-05-17 08:32
chaos_princessprobably fine then#asahi-dev · 2026-05-17 08:30
chaos_princessthen you are doing something wrong with mbox driver. also, what logs are we talking about, dmesg logs or tracer logs?#asahi-dev · 2026-05-17 08:27
chaos_princesstryhard[m]: the rtkit driver sets outbox_ctrl, not your driver. and if dart logs, it usually means something is misconfigured#asahi-dev · 2026-05-15 13:17
chaos_princesswe know something goes wrong#asahi-dev · 2026-05-15 13:17
chaos_princessnot "i think so", run them both under m1n1 and compare#asahi-dev · 2026-05-15 13:17
chaos_princessyes#asahi-dev · 2026-05-15 13:16
chaos_princessmacos does#asahi-dev · 2026-05-15 13:15
chaos_princesswhatever tracer you use#asahi-dev · 2026-05-15 13:14
chaos_princessare both you and macos doing the same writes to the asc area#asahi-dev · 2026-05-15 13:13
chaos_princessall the writes are the same?#asahi-dev · 2026-05-15 13:11
chaos_princessit is the address you are supposed to watch#asahi-dev · 2026-05-15 13:10
chaos_princesssth like this#asahi-dev · 2026-05-15 13:10
chaos_princessu.adt['/arm-io/pmp'].get_reg(0)#asahi-dev · 2026-05-15 13:07
chaos_princesscause i don't see any obvious issue#asahi-dev · 2026-05-15 13:06
chaos_princesswell... run the kernel under your tracer and see what differs#asahi-dev · 2026-05-15 12:57
chaos_princessyea, let's see which part in start fails#asahi-dev · 2026-05-15 12:56
chaos_princesslooks sane#asahi-dev · 2026-05-15 12:54
chaos_princessactually, show the place where you are calling start() from too#asahi-dev · 2026-05-15 12:54
chaos_princessit goes before start()#asahi-dev · 2026-05-15 12:54
chaos_princessofc#asahi-dev · 2026-05-15 12:53
chaos_princesssomething like that, yes#asahi-dev · 2026-05-15 12:52
chaos_princessput debug printfs everywhere, lets see what fails#asahi-dev · 2026-05-15 12:51
chaos_princessshow your start() function#asahi-dev · 2026-05-15 12:51
chaos_princess'cause it is actually ETIME, which makes more sense#asahi-dev · 2026-05-15 12:50
chaos_princessthat makes zero sense#asahi-dev · 2026-05-15 12:43
chaos_princesskind of a cheeky fix, but should work#asahi-dev · 2026-05-15 12:43
chaos_princessok, so do the following. delete dependency on ps_pmp from pmp_mbox, and leave only a dependency on ps_pms_sram#asahi-dev · 2026-05-15 12:41
chaos_princesswhat is 62 even, timeout?#asahi-dev · 2026-05-15 12:41
chaos_princessRUN=1 means that the field from bit 4 to bit 4 is equal to 1#asahi-dev · 2026-05-15 12:40
chaos_princessyou are misreading the tracer output https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/hw/asc.py#L14#asahi-dev · 2026-05-15 12:22
chaos_princessyou need it#asahi-dev · 2026-05-15 12:22
chaos_princessdo you have this? https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/soc/apple/pmp.rs#L136#asahi-dev · 2026-05-15 12:19
chaos_princessuse stream 0, it is specified as "reg" under mapper-pmp#asahi-dev · 2026-05-15 12:18
chaos_princesswhy dart stream 6?#asahi-dev · 2026-05-15 12:17
chaos_princesssend your latest dts#asahi-dev · 2026-05-15 12:15
chaos_princessline?#asahi-dev · 2026-05-15 12:13
chaos_princessnames look ok#asahi-dev · 2026-05-15 12:13
chaos_princessyours are not ascending#asahi-dev · 2026-05-15 12:12
chaos_princess^#asahi-dev · 2026-05-15 12:11
chaos_princessmacos and linux use different order#asahi-dev · 2026-05-15 12:08
chaos_princessinterrupts look wrong