#asahi-dev · 2025-11-29 11:27
integralpilotwait actually i think it's SME, not SVE sorry, i might be getting my instructions mixed up#asahi-dev · 2025-11-29 11:27
mazat best, SME on M4+.#asahi-dev · 2025-11-29 11:24
integralpiloti thought all M-series chips didn't support SVE though??#asahi-dev · 2025-11-29 11:22
integralpilotit's around a SVE instruction so my gut feeling is that m1n1 isn't setting the SVE registers right#asahi-dev · 2025-11-29 11:22
integralpilotLR points to some code within com.apple.kernel:fleh_dispatch64_common#asahi-dev · 2025-11-29 11:15
integralpiloti'll check the code at LR, might give some clues#asahi-dev · 2025-11-29 11:14
integralpilotit looks to me like the kernel did something bad, which casued a sync exception to be triggered (given the +0x200 offset) causing it to jump to a handler table or smth XNU hasn't set up yet, and then the UDF (0x0) causes it to have an exception and thus jump back there infinetly?#asahi-dev · 2025-11-29 11:12
integralpilotit's not a NPD or anything, it's a higher half address i.e. fffffe001461a200 (though varies with KASLR i think)#asahi-dev · 2025-11-29 11:11
integralpilot(it being XNU after being loaded)#asahi-dev · 2025-11-29 11:11
integralpilotat the point it hangs, the PC/ELR is pointing to memory that is just all 0s#asahi-dev · 2025-11-29 11:10
integralpiloti've been doing some debugging under the hypervisor to see what's going wrong#asahi-dev · 2025-11-29 11:05
jannaudoesn't work for me either on m2 macbook pro. I still think this worked at some point#asahi-dev · 2025-11-29 10:57
integralpilotnope, trying chainload results in the normal apple logo appearing and a hang with no virtual serial output as well#asahi-dev · 2025-11-29 09:25
integralpilotas in with chainload.py rather than run_guest.py, i'll try it, thanks#asahi-dev · 2025-11-29 09:24
jannauthat would at least test if the m1n1 initialization breaks macos#asahi-dev · 2025-11-29 09:23
jannaudoes chainloading the macos kernel cache works? I forgot so much from the early bringup#asahi-dev · 2025-11-29 09:22
jannauit can only send boot logs to the physical uart when booting macos without HV#asahi-dev · 2025-11-29 09:20
jannauwithout "-v" in "bootargs" (or "boot-args", I can't remember) it prints nothing#asahi-dev · 2025-11-29 09:20
integralpilotwhich is why chaos_princess suggested i try physical uart now, but i'm unsure how to a) get it send early logs to physical uart, b) see those logs#asahi-dev · 2025-11-29 09:19
integralpiloti was using virtual uart yesterday and it was hanging before it sent any logs there#asahi-dev · 2025-11-29 09:19
integralpilotit's hanging way before it can output anything to framebuffer i think but i'll try -v in bootargs#asahi-dev · 2025-11-29 09:15
jannaumacos prints logs with '-v' in nvram bootargs but you need usb to see the output of the virtual uart emulated by the HV#asahi-dev · 2025-11-29 09:11
integralpilothow can i get it to send early logs over the uart and see them?#asahi-dev · 2025-11-29 09:10
integralpilotdid https://pastebin.com/v7AsfDSA and we progress to rainbow apple now, hanging it the same place#asahi-dev · 2025-11-29 09:08
integralpilotthank you for all your help!#asahi-dev · 2025-11-29 09:08
integralpilotit's fine, i didn't notice it either! #asahi-dev · 2025-11-29 09:07
integralpilotsorry pressed enter too soon!#asahi-dev · 2025-11-29 09:07
integralpilotit#asahi-dev · 2025-11-29 09:06
jannausorry for not spotting the '-'. I had the weird feeling something was off but did not notice that#asahi-dev · 2025-11-29 09:05
jannauit might have been in the beginning but nobody tested/used it once USB was working#asahi-dev · 2025-11-29 09:04
integralpilotsorry, m1n1/hv/__init__.py, rather, which run_guest.py causes to be run #asahi-dev · 2025-11-29 09:03
integralpilotrun_guest.py was never programmed to have the communication be going over IODEV 0 / UART#asahi-dev · 2025-11-29 09:01
integralpilotwhich obviously doesn't exist#asahi-dev · 2025-11-29 09:01
integralpilotso it tries ATC-3_USB (with the -3 being inserted after ATC and before _USB)#asahi-dev · 2025-11-29 09:00
integralpilotresulting in -3#asahi-dev · 2025-11-29 09:00
integralpilotto calculate the ATC number to use, the python code does self.iodev - IODEV.USB0 (3)#asahi-dev · 2025-11-29 09:00
integralpilotcause it's the UART right#asahi-dev · 2025-11-29 09:00
integralpilotself.iodev is 0#asahi-dev · 2025-11-29 08:59
integralpiloti just found out why#asahi-dev · 2025-11-29 08:59
integralpilotoh my god#asahi-dev · 2025-11-29 08:43
integralpiloti'm still looking into why it tries to disable ATC3_USB now, i think i've got a theory but i'm checking it now#asahi-dev · 2025-11-29 08:43
integralpilotoh, interesting! thank you so much for helping me with everything and letting me know how things work, it's starting to make a lot more sense#asahi-dev · 2025-11-29 08:35
jannauthat's coming from the compatible property of the dart device nodes#asahi-dev · 2025-11-29 08:32
integralpilotunsure if it's related but there's a log dart: dart /arm-io/dart-usb0 at 0x702f80000 is a t8110, repeated for usb0 through usb2. the device is a t6030 not a t8110 (base M3) like the log says#asahi-dev · 2025-11-29 08:29
jannauthat's not the issue if you end if the expected iodev 0#asahi-dev · 2025-11-29 08:25
integralpilotin uartproxy_run() i tried setting iodev_id_t iodev = IODEV_UART; but that had no effect and the same error happens#asahi-dev · 2025-11-29 08:15
integralpilotyeah, that's what i'm confused about.#asahi-dev · 2025-11-29 08:11
jannauok, that's then using the uart. why does it try to disable ATC3_USB then? I think it should only do that for the port used as iodev, i.e. in your case none#asahi-dev · 2025-11-29 08:09
integralpilotand i $M1N1DEVICE is /dev/cu.debug-console#asahi-dev · 2025-11-29 08:06
integralpilotbefore doing anything with m1n1 i run sudo ./macvdmtool serial so i think that means i'm using the debug uart?