#
✕ nick:StanfordAppliedCyber[m]
#asahi-dev · 2026-06-07 21:17
StanfordAppliedCyber[m]m2 has sptm on 26.5? damn i didn't realize the gl plumbing was present for so long
#asahi-dev · 2026-06-05 22:49
StanfordAppliedCyber[m]i've already given her a bunch of traces for different things (i have no clue why she likes pcie so much but i'm glad she does)
#asahi-dev · 2026-06-05 22:49
StanfordAppliedCyber[m]yuka and i have been working together
#asahi-dev · 2026-06-05 22:47
StanfordAppliedCyber[m]ack i'll post a trace in a sec
#asahi-dev · 2026-06-05 22:47
StanfordAppliedCyber[m]i have nvme clearly working in sptm and can get any traces yall could want (we already exercise nvme to mount root)
#asahi-dev · 2026-06-05 22:46
StanfordAppliedCyber[m]is there anything i can do with my hypervisor to help the nvme thing on a18 pro?
#asahi-dev · 2026-06-05 08:35
StanfordAppliedCyber[m]not sure, chaos princess told me we knew what the changes were
#asahi-dev · 2026-06-05 08:33
StanfordAppliedCyber[m]how would we actually use this? like just set some gpio pin --> usb device mode just works?
#asahi-dev · 2026-06-05 08:28
StanfordAppliedCyber[m]thanks for the advice here! curse the horrible usb on this thing
#asahi-dev · 2026-06-05 08:28
StanfordAppliedCyber[m]we're making significant progress through userspace
#asahi-dev · 2026-06-05 08:27
StanfordAppliedCyber[m]i've been talking with yuka about kisd, will try, it's not a priority for now because i'm still in the 'make it work' phase (albeit definitely in the final 25%, if not more)
#asahi-dev · 2026-06-05 08:26
StanfordAppliedCyber[m]and presumably everyone else who ever boots m1n1 hypervisor on the neo will do the normal "stream the kernelcache" thing
#asahi-dev · 2026-06-05 08:26
StanfordAppliedCyber[m]it's just that i want to test the path i upstream
#asahi-dev · 2026-06-05 08:26
StanfordAppliedCyber[m]i'm likely going to continue using my cursed setup because it still just works, adding nvme support will be had because there are nvme changes and for obvious reasons i can't contribute those
#asahi-dev · 2026-06-05 07:58
StanfordAppliedCyber[m]have other people gotten debugusb to work on neo?
#asahi-dev · 2026-06-05 07:57
StanfordAppliedCyber[m]that would be correct
#asahi-dev · 2026-06-05 07:38
StanfordAppliedCyber[m]right now i'm doing an even uglier hack than what i mentioned above
#asahi-dev · 2026-06-05 07:38
StanfordAppliedCyber[m]okay, and yuka said she got this to work so i'll definitely need to do the same before i upstream this
#asahi-dev · 2026-06-05 07:36
StanfordAppliedCyber[m]is cdc acm that custom hardware dongle that the macvdmtool readme talks about?
#asahi-dev · 2026-06-05 07:36
StanfordAppliedCyber[m]oh, fair enough then
#asahi-dev · 2026-06-05 07:34
StanfordAppliedCyber[m]if the kernelcache changes rarely (if this is wrong then correct me) then not having to send it over the wire for every test seems like the obvious decision
#asahi-dev · 2026-06-05 07:33
StanfordAppliedCyber[m]wdym you want to chainload m1n1 itself? you just overwrite the first 2mb of m1n1
#asahi-dev · 2026-06-05 07:33
StanfordAppliedCyber[m]my debugusb is having issues so i've been running over a 115200 uart
#asahi-dev · 2026-06-05 07:33
StanfordAppliedCyber[m]it takes 2-3 seconds? i thought it takes 50+ in a best case
#asahi-dev · 2026-06-05 07:32
StanfordAppliedCyber[m]does it change often though? for me it's only changed once
#asahi-dev · 2026-06-05 07:32
StanfordAppliedCyber[m]this makes kernelcache iterations longer, but those are rare
#asahi-dev · 2026-06-05 07:32
StanfordAppliedCyber[m]and then you just boot the kernelcache at some fixed offset
#asahi-dev · 2026-06-05 07:31
StanfordAppliedCyber[m]as opposed to, say, building a raw boot image where the first 2mb are reserved for m1n1, you then bless a 1tr object containing the kernelcache, then chainload only sends 2mb
#asahi-dev · 2026-06-05 07:31
StanfordAppliedCyber[m]--> you have to stream a 120mb kernel cache for every experiment
#asahi-dev · 2026-06-05 07:31
StanfordAppliedCyber[m]like as i understand it (i've never actaully done it, and only vaguely looked at the code) you specify a path to a kernel cache, you stream that over uart, and then that boots under the hypervisor
#asahi-dev · 2026-06-05 07:30
StanfordAppliedCyber[m]can i ask why the current chainload.py design exists as is, with a streamed kernelcache over uart?
#asahi-dev · 2026-06-05 00:38
StanfordAppliedCyber[m]as far as i can tell it's at least one sysctl and a bunch of random commpage bits
#asahi-dev · 2026-06-05 00:38
StanfordAppliedCyber[m]there are a lot of knobs to turn off all the apple proprietary stuff
#asahi-dev · 2026-06-04 09:13
StanfordAppliedCyber[m]not to mention are paying for their products
#asahi-dev · 2026-06-04 09:13
StanfordAppliedCyber[m]apparently they really like that we will never require customer support
#asahi-dev · 2026-06-04 09:13
StanfordAppliedCyber[m]yeah i heard that a lot of their engineers actually like asahi linux, and there's been some meetings that are basically "should we put resources into supporting them"
#asahi-dev · 2026-06-04 09:11
StanfordAppliedCyber[m]so just like their regular QA process :)
#asahi-dev · 2026-06-04 09:10
StanfordAppliedCyber[m]sven: this is exactly what my friend at apple said. he told me they didn't test it at all internally and apparently there were some conversations like "should we test this, we are shipping it" "sure, but after you do all your other work"
#asahi-dev · 2026-06-04 09:04
StanfordAppliedCyber[m]can you link me to the radar so i can make sure i know what you're talking about exactly? all ik is that i had to add a bunch of fiq stuff to my hypervisor
#asahi-dev · 2026-06-04 08:45
StanfordAppliedCyber[m]some of them are in the data section of the kernelcache macho that i'm just going to patch to 0
#asahi-dev · 2026-06-04 08:45
StanfordAppliedCyber[m]there's just a lot of switches
#asahi-dev · 2026-06-04 08:45
StanfordAppliedCyber[m]i think that there actually are ways of turning all this off
#asahi-dev · 2026-06-04 07:50
StanfordAppliedCyber[m]and xnu uses our emulated values
#asahi-dev · 2026-06-04 07:50
StanfordAppliedCyber[m]just force it to use the syscall
#asahi-dev · 2026-06-04 07:50
StanfordAppliedCyber[m]yeah i'm doing that rn, commpage already had a fix for the timer issue
#asahi-dev · 2026-06-04 07:48
StanfordAppliedCyber[m]well then how do the custom sysregs/memory encryption work?
#asahi-dev · 2026-06-04 07:38
StanfordAppliedCyber[m]is that information just outdated at this point and apple has different userspace for bare metal boot?
#asahi-dev · 2026-06-04 07:38
StanfordAppliedCyber[m]how does this work with the custom sysregs
#asahi-dev · 2026-06-04 07:38
StanfordAppliedCyber[m]i was told that userspace is the same between the macos vm images and the bare metal installs
#asahi-dev · 2026-06-04 06:52
StanfordAppliedCyber[m]probably need some el1 helper to make things fast

plus ›