#asahi-dev · 2026-01-13 09:02
svenyeah #asahi-dev · 2026-01-13 08:59
nickchanat least i would imagine the usbc firmware is running by then#asahi-dev · 2026-01-13 08:57
nickchanbut if debug usb is activated using vdm when the kernel is running already there should be no such firmware upload requirement#asahi-dev · 2026-01-13 08:56
nickchanthe new iphones comes up as USB FS device in "Port DFU" mode then a signed firmware needs to be uploaded then the device will come up as USB HS device in "Debug USB" mode#asahi-dev · 2026-01-13 08:54
sventhough I think either doing the ADT patching in run_guest or just adding virt_dockchannel.py to the HV is probably more important and easier #asahi-dev · 2026-01-13 08:54
nickchanhttps://github.com/libimobiledevice/libirecovery/blob/b59ef4814525f487287da1609864f432cd79e3ed/src/libirecovery.c#L133#asahi-dev · 2026-01-13 08:54
svengood point #asahi-dev · 2026-01-13 08:52
nickchanso idevicerestore may have code for it#asahi-dev · 2026-01-13 08:52
nickchanDebug USB/KIS/taDFU is used for restores on newer iphone models#asahi-dev · 2026-01-13 08:50
nickchanthen it's seen on T2 and eventually on other devices as well#asahi-dev · 2026-01-13 08:50
chadmedslightly annoying but surprised it didnt happen sooner#asahi-dev · 2026-01-13 08:50
svenThat’s where XNU’s output now ends up unless you mess with the ADT on newer macOS versions #asahi-dev · 2026-01-13 08:50
nickchansuch usage is first seen on Apple TV 4K i think#asahi-dev · 2026-01-13 08:50
svenyes #asahi-dev · 2026-01-13 08:49
chadmedwait so did they replace the smasnug uart with a dockchannel?#asahi-dev · 2026-01-13 08:49
svenguess that’s another yak to shave: figure out if that new UART ends up in that usb debug thingy and then maybe also write a simple Linux driver #asahi-dev · 2026-01-13 08:48
nickchanwell, goes to nowhere other than test points#asahi-dev · 2026-01-13 08:48
svenyeah #asahi-dev · 2026-01-13 08:48
nickchanso i suspect that is dockchannel as well#asahi-dev · 2026-01-13 08:48
nickchansome cables can get xnu's serial=3 output from t2, but writes to s5l uart still goes nowhere#asahi-dev · 2026-01-13 08:47
svenyeah, that’s why I suspect the dockchannel UART is somewhere in there as well#asahi-dev · 2026-01-13 08:47
svenjust needs someone to implement it #asahi-dev · 2026-01-13 08:47
nickchan05ac:1881#asahi-dev · 2026-01-13 08:47
nickchanthat one is *the* way to do SWD now#asahi-dev · 2026-01-13 08:47
svensure, it’s looks like just another serial driver #asahi-dev · 2026-01-13 08:46
svenmaybe in that strange USB debug thing?#asahi-dev · 2026-01-13 08:46
nickchancan it be supported in linux#asahi-dev · 2026-01-13 08:46
svenI also wonder where the other end of that dock channel UART is #asahi-dev · 2026-01-13 08:42
svenshould be easy to virtualize that#asahi-dev · 2026-01-13 08:42
svenand it looks fairly simple (which now that i think about it make perfect sense for what's essentially a UART)#asahi-dev · 2026-01-13 08:41
svenlooks like the full dockchannel serial implementation is in pexpert/arm/pe_serial.c in open source xnu#asahi-dev · 2026-01-13 06:27
integralpilotensure CONFIG_APPLE_AIC=y (not unset, m, or n) and drivers/irqchip/irq-apple-aic.c has apple,aic3 compatible#asahi-dev · 2026-01-13 06:18
integralpilotfl0_id: yes, i mean the kernel, not m1n1#asahi-dev · 2026-01-13 06:16
svenpeter[m]we should either add that to run_guest.py or virtualize that dockchannel serial I think#asahi-dev · 2026-01-13 06:15
svenpeter[m]https://gist.github.com/dhinakg/3fcd9ad43c82c96964b4f64eb05e6a5e regarding kernel serial output#asahi-dev · 2026-01-12 21:18
Shizbut it's odd that your m1n1 doesn't show anything at all#asahi-dev · 2026-01-12 21:17
Shizyapz337: I've had good luck with ^ 14.8.3#asahi-dev · 2026-01-12 21:17
ShizNickChan[m]: cn confirm that 14.8.x still shows kernel logs#asahi-dev · 2026-01-12 17:04
yapz337Guess i'm on a reverse journey for the kernel, if anyone have a clue about dcp not replying despite being up (asc_cpu_running returns 1) i'd love to know about it, the SoC part is where i'm kinda new :] #asahi-dev · 2026-01-12 17:00
yapz337Ah i didn't even think about that indeed lmao, i do panic in ApplePMGR #asahi-dev · 2026-01-12 16:59
NickChan[m]I think 14.3.x still worked and thereafter issues started appearing#asahi-dev · 2026-01-12 16:55
NickChan[m]yapz337: the kernel probably crashed before any log#asahi-dev · 2026-01-12 16:54
yapz337My bad, i meant the kernel logs, i can't see them on my screen or uart#asahi-dev · 2026-01-12 16:53
NickChan[m]iboot boot logs has been obfuscated since iOS 9#asahi-dev · 2026-01-12 16:42
yapz337I do no know if i'm doing smth wrong or if it has been already discussed, i searched the doc and keywords on irc but didn't find anything that could help me #asahi-dev · 2026-01-12 16:41
yapz337Did apple change/break something in iboot making the boot logs hidden ? For the display part it seems dcp won't start for me, when i send the asc message to start it i never get the hello (i get it with dcpext tho?) #asahi-dev · 2026-01-12 16:34
yapz337I am trying to make the hv work on macos 26.0 (mac mini m1), i also tried 15.0 because ive seen in the source that the fw was supported, but installing m1n1 and booting it doesn't display anything, i have the uartproxy tho and can launch macos 15/26 kc's (they panic soon and i don't have any log)#asahi-dev · 2026-01-12 16:31
yapz337Hi everyone, i want to start to learn about OS and internals and i thought contributing to this project would be cool :D #asahi-dev · 2026-01-12 12:52
fl0_idor you mean in the kernel? I can only check that later#asahi-dev · 2026-01-12 12:52
fl0_idI didn't know that it needs a config option