#
#asahi-dev · 2026-05-18 21:36
StanfordAppliedCyber[m]if you can upstream the initial m1n1 bringup work that'd be very helpful and shouldn't need my hypervisor to be merged
#asahi-dev · 2026-05-18 21:36
StanfordAppliedCyber[m]and then see what linux drivers still work and what don't
#asahi-dev · 2026-05-18 21:34
StanfordAppliedCyber[m]i think the obvious thing is: get m1n1 booting with serial output
#asahi-dev · 2026-05-18 21:34
StanfordAppliedCyber[m]well how much do you know, you need a significant amount of systems knowledge
#asahi-dev · 2026-05-18 21:33
TheClericSounds like to be anywhere near helpful I need to start familiarizing myself with the asahi boot cycle pre-linux kernel initialization. Is that a fair assesment?
#asahi-dev · 2026-05-18 21:31
StanfordAppliedCyber[m]as a bonus, that approach is extremely copyright friendly-- just run opaque apple blobs, no need to touch them
#asahi-dev · 2026-05-18 21:30
StanfordAppliedCyber[m]i only have m4 class devices but we have a path forward for exclave support, tl;dr virtualize the exclave l4 kernel and userspace as a second guest under m1n1, use our sptm emulator to coordinate the shared memory
#asahi-dev · 2026-05-18 21:30
StanfordAppliedCyber[m]i'm in iokit init right now, almost to bsd_init
#asahi-dev · 2026-05-18 21:29
StanfordAppliedCyber[m]TheCleric: i'm working on the m4 hypervisor side now, my work required disasm of some sptm components and yuka has communicated she is willing to help clean room RE the tainted parts
#asahi-dev · 2026-05-18 21:24
yukaIt shows up as "leftover cature data"
#asahi-dev · 2026-05-18 21:23
yukaHmm, wireshark does not properly show the payloads
#asahi-dev · 2026-05-18 21:23
jannauI got packages but there wasn't interesting in the payload. get descriptor packages for the "debug usb" string where captured
#asahi-dev · 2026-05-18 21:22
yukain the worst case they have a table somewhere in their driver
#asahi-dev · 2026-05-18 21:22
yukaI'm tempted to test an old version of mac os as client with a relatively new chip
#asahi-dev · 2026-05-18 21:21
TheClericJamesCalligeros: I have a lot of dev experience, but not a ton of C and hardware experience outside of doing some stuff with microcontrollers. But I'm willing to learn/try.
#asahi-dev · 2026-05-18 21:20
yukaAs in you didn't find an obvious way to get the offset, or you saw no packets at all?
#asahi-dev · 2026-05-18 21:19
yukaanything?
#asahi-dev · 2026-05-18 21:19
jannauI hadn't luck with spotting anything in wireshark usb captures on macos
#asahi-dev · 2026-05-18 21:19
yukaI have no idea how to get it from the other communication
#asahi-dev · 2026-05-18 21:18
yukaI got this from a dump from flokli
#asahi-dev · 2026-05-18 21:18
jannauyuka: works
#asahi-dev · 2026-05-18 21:15
JamesCalligeros[m]TheCleric: That depends on what youre able to contribute. M5 requires the same m1n1 changes as M4 and then some in order to run macOS under the hypervisor
#asahi-dev · 2026-05-18 21:14
yukaon the m4 pro
#asahi-dev · 2026-05-18 21:14
yukajannau: try --base 0x548700000
#asahi-dev · 2026-05-18 21:07
TheClericSo a question on becoming a contributor. From what I read, current support is strongest for M1/M2 with M3 being worked on. I have an M5 Pro Macbook. Is there anything I can do meaningfully contribute or this a case of we would need a lot more things in place first before we can even think about that?
#asahi-dev · 2026-05-18 20:17
yukabut if you know the base from a capture, you can specify it with --base
#asahi-dev · 2026-05-18 20:17
yukaeither the base guessing code does not work for m3 and m4 pro (I don't have dumps from them available), or maybe there is just a mistake in the code
#asahi-dev · 2026-05-18 20:16
yukathat means the base is wrong
#asahi-dev · 2026-05-18 20:09
jannaum4 pro I get the m1n1 log but iface.nop() still fails
#asahi-dev · 2026-05-18 20:01
jannausame issue with a clean m1n1 build
#asahi-dev · 2026-05-18 19:55
jannauit works partly on my m3, I get the iboot boot log but iface.nop() fails. m1n1 is new enough but might contain random hacks
#asahi-dev · 2026-05-18 19:47
jannauah, it helps if m1n1 on the target is new enough to have dockchannel uart
#asahi-dev · 2026-05-18 19:41
jannauis the product id the same for all macs in debug usb (0x1881)? we probably want https://paste.centos.org/view/2f5e2933
#asahi-dev · 2026-05-18 19:28
yukaI had an m2 which only wanted to enter debugusb with a reboot
#asahi-dev · 2026-05-18 19:25
svenmy work m3 refuses to enter debugusb for some reason right now :(
#asahi-dev · 2026-05-18 19:12
jannauI've tagged asahi-7.0.9-1 (just a rebase)
#asahi-dev · 2026-05-18 19:11
yukaI still need more test data to figure out what's going on there
#asahi-dev · 2026-05-18 19:11
yukaIt probably wouldn't work for m1 pro
#asahi-dev · 2026-05-18 19:10
yukait should work on: m1, m2, m4, a18 pro
#asahi-dev · 2026-05-18 19:10
yukaI added something to find the base
#asahi-dev · 2026-05-18 12:42
svenoh nice, pty is ofc much better than my plan with fuse
#asahi-dev · 2026-05-18 10:41
yukaI decided 0x134000 was likely to be the offset
#asahi-dev · 2026-05-18 10:40
yukathe addresses all seemed to end in 0x?340??
#asahi-dev · 2026-05-18 10:39
yukaof course it's somewhat arbitrary what I decided to use as the base
#asahi-dev · 2026-05-18 10:37
yukaand the base for whatever device you sent me the captures of would be 0x23d000000
#asahi-dev · 2026-05-18 10:36
yukathe base for My M1 Pro Macbook would be 0x0292400000
#asahi-dev · 2026-05-18 10:35
yukaTheoretically I think it should work on the M1 / M1 Pro as well (it will use the correct usb endpoints depending on the device version), but I couldn't test that yet (have no second linux mac to put my m1 pro into debugusb)
#asahi-dev · 2026-05-18 10:33
yukaand symlinks /dev/m1n1 to it
#asahi-dev · 2026-05-18 10:33
yukait allocates a pty
#asahi-dev · 2026-05-18 10:33
yukaanyways, https://cyberchaos.dev/yuka/kisd/, given the right base, works on m4 mac mini (base=0x3c8000000) as well as macbook neo (base=0x348000000)

plus ›