#
✕ nick:integralpilot
#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: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: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?
#asahi-dev · 2025-11-29 08:04
integralpilotInitializing hypervisor over iodev 0
#asahi-dev · 2025-11-29 08:04
integralpilotjust checked
#asahi-dev · 2025-11-29 07:57
integralpiloti'll check
#asahi-dev · 2025-11-29 07:55
integralpilotwait actually self.iodev must be reporting as 6 then
#asahi-dev · 2025-11-29 07:53
integralpilotyes, the one next to magsafe. weird it's coming up as index 3 then.
#asahi-dev · 2025-11-29 07:51
integralpiloti'm plugged into what i think is the DFU port, leftmost port on the left side (which has 2 ports)
#asahi-dev · 2025-11-29 07:45
integralpilotor is it most likely it's deciding the IODEV index wrong
#asahi-dev · 2025-11-29 07:45
integralpilotmight it be that the IODEV index is actually 3 but that isn't a 1:1 mapping to the PMGR index like the code assumes?
#asahi-dev · 2025-11-29 07:45
integralpilotyeah
#asahi-dev · 2025-11-29 07:44
integralpilotbut there's definetly no USB-related items in the device tree so i think it's safe to conclude it's the HDMI port
#asahi-dev · 2025-11-29 07:43
integralpilotoh, i guess that makes sense
#asahi-dev · 2025-11-29 07:39
integralpilotcause no usb-drd3 = no ATC3_USB = the error. it shouldn't be trying to map the HDMI controller as the controller it's talking through
#asahi-dev · 2025-11-29 07:38
integralpilotatc3 definetly seems like the HDMI port. the python logic seems to try to register the contorller it thinks it is talking over, so need to figure out why it thinks this is the HDMI controller
#asahi-dev · 2025-11-29 07:36
integralpilotbut atc-phy3, atc3-dpxbar, atc3-dpphy exist
#asahi-dev · 2025-11-29 07:35
integralpilotthere's no usb-drd3 (likely causing the issue) and no dart-usb3 (whereas 0, 1 and 2 have these)
#asahi-dev · 2025-11-29 07:35
integralpilotokay just dumped my device tree
#asahi-dev · 2025-11-29 07:33
integralpilotit seems that the python code thinks that the USB port host is talking to target over is controlled by ATC3_USB which can't be right
#asahi-dev · 2025-11-29 07:23
integralpiloti'm trying to find out rn
#asahi-dev · 2025-11-29 07:23
integralpilotwhich raises the question - why there an IODEV index for a non-existent USB controller?
#asahi-dev · 2025-11-29 07:23
integralpilotlooks like for each IODEV index it assumes a matching PMGR exists in the ADT
#asahi-dev · 2025-11-29 07:20
integralpiloti'm taking a look at the python code now to see what's causing it to assume the existance of atc3
#asahi-dev · 2025-11-29 07:10
integralpilotI think the problem is that I my mac only has 3 thunderbolt ports, not 4, so ATC-3_USB isn't defined in the device tree, only 0, 1 and 2
#asahi-dev · 2025-11-29 06:58
integralpilotcan provide more debugging info if needed
#asahi-dev · 2025-11-29 06:57
integralpilotany idea what this is & how to fix? thanks so much!
#asahi-dev · 2025-11-29 06:57
integralpilotin map_essential.py
#asahi-dev · 2025-11-29 06:57
integralpiloton the line 'dev = dev_by_name[name]
#asahi-dev · 2025-11-29 06:57
integralpilothowever, now when i try to run proxyclient/tools/run_guest.py to load XNU, i get KeyError: 'ATC-3_USB' during "Doing essential MMIO remaps..."
#asahi-dev · 2025-11-29 06:56
integralpilotgot the right cable, and did the kext setup and now macdvmtool is working for me
#asahi-dev · 2025-11-28 09:30
integralpilotthanks so much everyone for trying to help me get set up for M3 dev! :)
#asahi-dev · 2025-11-28 09:30
integralpilotthanks, maz. unfortunetly looked around and i don't actually have any of the right cables (none display-port capable either). i'll get one tomorrow.
#asahi-dev · 2025-11-28 09:11
integralpiloti'm not sure if i have a USB 3.x / thunderbolt 3/4 cable, i'll go look for one, thanks
#asahi-dev · 2025-11-28 08:56
integralpilothost is macbook air m3, target is macbook pro m3 pro
#asahi-dev · 2025-11-28 08:55
integralpilotyep! that's the one ending with a 3, right? i use the one ending with 1 for M1N1DEVICE and the one with 3 to try and see serial logs but nothing is shown
#asahi-dev · 2025-11-28 08:52
integralpilotmy patch to adt.py to handle the different DART might have been wrong but i'm not sure
#asahi-dev · 2025-11-28 08:51
integralpilotthe very last one is [cpu6] Pass: msr s3_0_c15_c2_4, x13 = 1e004000 (OK) (s3_0_c15_c2_4) before nothing happens anymore
#asahi-dev · 2025-11-28 08:50
integralpilotsome more "[cpu6] Pass: msr" from run_guest.py, though
#asahi-dev · 2025-11-28 08:50
integralpilotstill no output on the serial port (device ending with 3)
#asahi-dev · 2025-11-28 08:50
integralpiloti've just updated the on-disk version to 14.4 as well, and it resolved the NPE panic. but it's still hanging with rainbow apple, though more logs come through.
#asahi-dev · 2025-11-28 06:46
integralpilotit's not finding the file at the path it thinks to find it at, so falling back to USB proxy mode which is normal & intended behviour. i'm new to this project and only experienced with using proxy mode, not the normal boot flow, so sorry i can't be much more helpful! hopefully if someone more experienced sees this they might be able to take a look at what's going on, or if it's not a dev related issue, you might get more he
#asahi-dev · 2025-11-28 05:55
integralpilot That doesn't seem to be a devicetree parsing issue. If m1n1 is saying 'Running proxy...' it's waiting for you to issue commands to it through USB, which is the default behaviour if the m1n1 to chainload isn't found on disk.
#asahi-dev · 2025-11-28 04:57
integralpilotin my case, the dart-pmp info section was longer than expected
#asahi-dev · 2025-11-28 04:57
integralpilot*error message, sorry
#asahi-dev · 2025-11-28 04:56
integralpilotthe ADT is is a massive, complex structure so i'd imagine the errors resulting from different devices having a format m1n1 doesn't know would be different, but can you paste the exact python error code?
#asahi-dev · 2025-11-28 04:55
integralpilot@k70, if i'm understanding it right, you're saying on the host you try chainload.py and python error is reported in ADT parsing in adt.py resulting in the chainload not actually happening on the target?
#asahi-dev · 2025-11-27 11:18
integralpilotsptm is secure page table monitor right, if i'm remebering correctly?

plus ›