#
#asahi-dev · 2026-02-11 15:48
fl0_idif you inject stuff there, I assume the idea is that you then can trace from there
#asahi-dev · 2026-02-11 15:47
fl0_idvmapple is a special xnu kernel for virtualized macos on macos. it runs in a different mode
#asahi-dev · 2026-02-11 15:47
nickchanmurdakah: ARM provides no mechanism to trap UNDEFINED instructions to EL2
#asahi-dev · 2026-02-11 15:46
murdakahNot really sure what this means (from Sven's slides): Try to inject hardware driver kexts into vmapple XNU that can run without guarded levels
#asahi-dev · 2026-02-11 15:44
murdakahIn theory we can either emulate or translate those instructions to get XNU running in raw boot object mode?
#asahi-dev · 2026-02-11 15:43
murdakahThe instructions I mean
#asahi-dev · 2026-02-11 15:43
murdakahAre you referring tot names like wkdmd?
#asahi-dev · 2026-02-11 15:41
nickchana lot of those names are from files that are not redacted properly
#asahi-dev · 2026-02-11 15:39
nickchanonce you find wkdmd it is possible to infer wkdmc as well
#asahi-dev · 2026-02-11 15:39
nickchanwkdmd: https://github.com/apple-oss-distributions/xnu/blob/5c2921b07a2480ab43ec66f5b9e41cb872bc554f/osfmk/arm64/hibernate_restore.c#L138
#asahi-dev · 2026-02-11 15:39
murdakahSo some of these are from the A13/t8030 which shres the same lineage as M
#asahi-dev · 2026-02-11 15:36
nickchanamx i think is people doing matrix math and wanted to see what black magic accelerate.framework is doing
#asahi-dev · 2026-02-11 15:35
nickchanmul53 comes from attempts to emulated t8030 on qemu
#asahi-dev · 2026-02-11 15:35
nickchanto figure out how ppl worked on a13
#asahi-dev · 2026-02-11 15:33
nickchani think that one come from disassembling iOS kernels
#asahi-dev · 2026-02-11 15:33
murdakahMosta curious about how genter and gexit was found
#asahi-dev · 2026-02-11 15:25
murdakahThese instructions https://asahilinux.org/docs/hw/cpu/apple-instructions are lited from decompiled firmware or something?
#asahi-dev · 2026-02-11 15:09
murdakahah cool
#asahi-dev · 2026-02-11 15:09
chaos_princessboth. Template in ipsw, some values are fixed up by iboot
#asahi-dev · 2026-02-11 15:08
murdakahchaos_princess: so there is no standard device tree then
#asahi-dev · 2026-02-11 15:08
murdakahOh ok so the device tree is generated by iBoot or is it available in the IPSW?
#asahi-dev · 2026-02-11 14:55
nickchanand the linux dt is indeed by hand except for the pmgr power domain part which is generated from ADT but still required fixup
#asahi-dev · 2026-02-11 14:54
nickchanmainly includes "syscfg" which is some location on disk (the template values in IPSW will say "syscfg" for those); some from hardware register; and some from how exactly did the bootloader load things like coprocessor firmwares and other files into memory
#asahi-dev · 2026-02-11 14:52
nickchanthe apple one is from the macOS shipped inside IPSW which is filled by iBoot from multiple sources
#asahi-dev · 2026-02-11 14:50
chaos_princessyou write the linux dt mostly by hand by referencing the apple one
#asahi-dev · 2026-02-11 14:48
murdakahOnly slightly related I'm trying to understand how hardware helps with virtualisation, not finding really good resources online, only handwavy "this and then that enables this" but the "that" described is incredibly vague
#asahi-dev · 2026-02-11 14:46
murdakahForgive me for all these questions as I have a lot, how are these device trees populated? Are they just "magically" emitted from the SOC when queried?
#asahi-dev · 2026-02-11 14:44
nickchanin this context it is talking about Apple Device Tree
#asahi-dev · 2026-02-11 14:43
nickchandevice tree yes
#asahi-dev · 2026-02-11 14:36
murdakah*noopwafel
#asahi-dev · 2026-02-11 14:36
murdakah: DT, as in device tree?
#asahi-dev · 2026-02-11 14:05
fl0_idnoopwafel oh, all the best, get well soon!
#asahi-dev · 2026-02-11 12:32
noopwafel(and yes, use 14.8.3)
#asahi-dev · 2026-02-11 12:29
noopwafelwe worked out (I think) what the actual needed changes are recently, will make PRs once I am not sick..
#asahi-dev · 2026-02-11 12:28
noopwafelI PMed jsk with the branch.
#asahi-dev · 2026-02-11 12:28
jskthanks :) will try
#asahi-dev · 2026-02-11 12:28
chaos_princessuse 14 specifically
#asahi-dev · 2026-02-11 12:27
nickchanalso don't use macOS 26 since those expected sptm
#asahi-dev · 2026-02-11 12:24
noopwafelyou need to provide a DT with one core per cluster but you don't need to _boot_ it. you can just ignore the mmio write.
#asahi-dev · 2026-02-11 12:24
nickchannoopwafel: wasn't it one core per cluster
#asahi-dev · 2026-02-11 12:23
noopwafelyou need a few m1n1 fixes and you need to binary patch a few xnu bits and you need to boot only the boot cpu (otherwise the other cores panic due to timeouts)
#asahi-dev · 2026-02-11 12:23
nickchanjsK: intergralpilot's hint https://gist.github.com/IntegralPilot/85c355124fe54e670e6d5586c7a07826
#asahi-dev · 2026-02-11 12:18
jskcould you give me a hint? I can run linux under the hypervisor so I just assumed macos would work as well
#asahi-dev · 2026-02-11 12:16
nickchan(compared to m4 ofc)
#asahi-dev · 2026-02-11 12:16
nickchanm3 needs some small modifications so no
#asahi-dev · 2026-02-11 12:14
jskis running macos under the hypervisor on M3 just supposed to work on current m1n1?
#asahi-dev · 2026-02-11 12:02
murdakahnickchan: thanks for the explanation, I appreciate it
#asahi-dev · 2026-02-11 11:12
murdakahnichchan: (Yes only talking about applie silicon yes)
#asahi-dev · 2026-02-11 11:11
murdakahin order to monitor/dump what its doing to the rest of the hardware
#asahi-dev · 2026-02-11 11:11
NickChan[m]For the apple silicon xnu that would be correct

plus ›