#
✕ nick:murdakah
#asahi-dev · 2026-02-14 19:48
murdakahAh cool. thanks
#asahi-dev · 2026-02-14 19:47
murdakahDockchannel?
#asahi-dev · 2026-02-12 19:36
murdakah-o+u
#asahi-dev · 2026-02-12 19:36
murdakahsven: Like with chaos_princess, I'm trying to understand and learn how the platform works, maybe forther down the line ill be useful
#asahi-dev · 2026-02-12 19:34
murdakahchaos_princess: 'i really think you should look into how this platform works more, before suggesting "solutions".' I'm not making any suggestions I'm trying to understand
#asahi-dev · 2026-02-12 15:58
murdakahsven: So is there a way to "fix" what chaos_princess mentioned in m1n1 and have it boot onder macho mode instead of raw object mode?
#asahi-dev · 2026-02-12 15:34
murdakahI thought SPTM was active in the previous mode too when running m1n1? M1-M3?
#asahi-dev · 2026-02-12 15:20
murdakahchaos_princess: I guess to rephrase then, what is the reason "fixing" the macho mode isn't on the table of things to consider that as a fix?
#asahi-dev · 2026-02-12 15:15
murdakahCool, so obviously m1n1 also qualifies as a raw boot object due to booting in macho mode, it that because its not signed?
#asahi-dev · 2026-02-12 15:07
murdakahSo unless theres a way to get the apple ISA extensions re-enabled theres really no other way on seeing what unholy things are being done to the hw
#asahi-dev · 2026-02-12 15:06
murdakahAh, I assumed that the VM would be basically transparent for all practical purposes. Cool thanks
#asahi-dev · 2026-02-12 15:03
murdakah*on an M4 chip
#asahi-dev · 2026-02-12 15:02
murdakahWhy doesn't running Macos in a regular vm give us the ability to view what its doing the hardware, if we don't run it via m1n1?
#asahi-dev · 2026-02-11 19:40
murdakahJust scanned it again, it seems he got jtag on the USB controller not the iphone
#asahi-dev · 2026-02-11 19:35
murdakahWas JTAG not SWD
#asahi-dev · 2026-02-11 19:35
murdakahhttps://www.youtube.com/watch?v=cFW0sYSo7ZM
#asahi-dev · 2026-02-11 19:31
murdakahI saw a talk by a guy who got SWD working on his iPhone vir USB-C (obviously) so I wonder whats different, I don't recall it being an old iphone
#asahi-dev · 2026-02-11 19:29
murdakah*evil
#asahi-dev · 2026-02-11 19:29
murdakahsven: bloody hell that is just evel, authentication on SWD, in what world
#asahi-dev · 2026-02-11 19:27
murdakahthat is unfortunate
#asahi-dev · 2026-02-11 19:27
murdakahAh ok so still disconnects but inside the package
#asahi-dev · 2026-02-11 19:26
murdakahI've frequently seen debug outputs simply be disconnected from the pits by omitting a small surface mounted device, usually a zero ohm resistor (R0)
#asahi-dev · 2026-02-11 19:24
murdakah*SWD that is
#asahi-dev · 2026-02-11 19:24
murdakahsven: But its only disabled with the absence of the R0 smd components I assume?
#asahi-dev · 2026-02-11 17:10
murdakahI think its pretty clear then that we don't have access EL3 at all, just wondering how apple would debug any of this, even though they have the hardware descriptors
#asahi-dev · 2026-02-11 17:03
murdakahchaos_princess: somehow i missed your response and just read after posting again haha, thanks
#asahi-dev · 2026-02-11 17:00
murdakahsven: to rephrase my earlier question, is EL1 an exception level, and EL2 sits above that. Why is it readonly, if we boot from a more privileged level? I know this is an ARM arch question, but still learning the ropes. My reasoning that if memory in EL1 is readonly, how does anything useful get done if you cannot change state?
#asahi-dev · 2026-02-11 16:22
murdakahnickchan: hvc? hvf?
#asahi-dev · 2026-02-11 16:21
murdakahsven: I'm struggling to tunderstand how anything readonly from a memory perspective is useful if EL1 is read-only? Unless you want to repeatedly perform the same operation\
#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:39
murdakahSo some of these are from the A13/t8030 which shres the same lineage as M
#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: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: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:36
murdakah*noopwafel
#asahi-dev · 2026-02-11 14:36
murdakah: DT, as in device tree?
#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
murdakahOh right ok that makes sense, so XNU requires GXF and thus GL2, and because of that we cant run XNU in the raw object mode in a hypervisor
#asahi-dev · 2026-02-11 11:08
murdakahOk I htink thats the part I don't imderstand, how enabling GXF enables virtualisation
#asahi-dev · 2026-02-11 11:08
murdakahGot it, and thats the restricted memory access.
#asahi-dev · 2026-02-11 11:05
murdakahnickchan: Ah ok that makes more sensem that it sused to be EL2 and now is GL2

plus ›