#asahi-dev · 2026-07-18 21:08
enverbalalici have a working framebuffer and i point an iphone camera in slow-mo mode at the screen when it boots to read dmesg #asahi-dev · 2026-07-18 21:08
enverbalalicno, that's why i'm stuck in this hell in the first place#asahi-dev · 2026-07-18 21:07
yukaor any other type of working console?#asahi-dev · 2026-07-18 21:07
yukado you have a working samsung serial?#asahi-dev · 2026-07-18 21:07
yukaand in the linux device tree, data always needs to be specified first#asahi-dev · 2026-07-18 21:07
yukayes#asahi-dev · 2026-07-18 21:07
enverbalalicconfig is always [0] and irq is always [1] ?#asahi-dev · 2026-07-18 21:07
yukadata is config + 0x4000#asahi-dev · 2026-07-18 21:06
yukayes#asahi-dev · 2026-07-18 21:06
enverbalalichow are these regs figured out exactly ? looking at the ADT, 0x508828000 (config in dts) maps to dockchannel-uart[0], 0x50880c000 (irq in dts) maps to dockchannel-uart[1] and this 0x50882c000 (data)\ doesn't map to anything in the ADT#asahi-dev · 2026-07-18 21:04
enverbalalici tried all the regs already :(#asahi-dev · 2026-07-18 21:03
yukathat needs to point to the data and not config reg#asahi-dev · 2026-07-18 21:03
yukamake that dockchannel,mmio32,0x50882c000#asahi-dev · 2026-07-18 21:03
enverbalalic`console=tty0 loglevel=8 nokaslr idle=nop maxcpus=1 debug init=/init`, tried with `earlycon=dockchannel,mmio32,0x508828000 as well`#asahi-dev · 2026-07-18 21:03
yukaOh, I see an issue with the irq#asahi-dev · 2026-07-18 21:03
enverbalalicwell i'm not sure what could even be breaking it at this point, regs in t6040.dtsi match what i'm seeing in the ADT, AIC matches what i'm seeing in the ADT, linux boots to shell, doesn't freeze#asahi-dev · 2026-07-18 21:02
yukawhat cmdline / bootargs do you boot it with?#asahi-dev · 2026-07-18 21:01
yukabecause the t6040 I have remote access to is not hooked up for debugusb#asahi-dev · 2026-07-18 21:01
yukathat one is untested#asahi-dev · 2026-07-18 21:00
enverbalalict6040 dtsi from your dcuart-t8142 branch#asahi-dev · 2026-07-18 21:00
enverbalalichttps://pastebin.com/dSQW2n8e#asahi-dev · 2026-07-18 21:00
yukafwiw the irq does not matter for earlycon#asahi-dev · 2026-07-18 21:00
enverbalalickernel config has CONFIG_SERIAL_APPLE_DOCKCHANNEL and CONFIG_SERIAL_APPLE_DOCKCHANNEL_EARLYCON, direct includes, not modules#asahi-dev · 2026-07-18 20:59
yukacan you push it somewhere?#asahi-dev · 2026-07-18 20:59
enverbalalicmy own device tree, based off an existing one for m4 mini basically just changing the model, chassis-type, etc, including t6040.dtsi (with changed IRQ num) and enabling serial1#asahi-dev · 2026-07-18 20:59
yukavery likely to be one of those two#asahi-dev · 2026-07-18 20:58
yukakernel config?#asahi-dev · 2026-07-18 20:58
yukadevice tree?#asahi-dev · 2026-07-18 20:57
enverbalalici did disable pcie and dapf init in m1n1 (didn't figure it out for t6041), could that be breaking it ?#asahi-dev · 2026-07-18 20:57
enverbalalic #asahi-dev · 2026-07-18 20:57
enverbalalici'm starting to thing that i'm cursed... tried yuka's dockchannel_irq experiment, interrupt really is different then ADT on t6041 (360 vs 816), but linux doesn't wanna use it, doesn't even create the ttyDC device, no earlycon. is there any m1n1 support needed for it if i do macvdmtool reboot debugusb - i can see m1n1's debugusb output, iBoot's output#asahi-dev · 2026-07-18 15:59
svennice!#asahi-dev · 2026-07-18 14:30
chadmedkernel stuff is odd. struct sizes dont match by a significant amount and my eyes are glazing over, so problem for when i get back to brisbane perhaps#asahi-dev · 2026-07-18 14:29
chadmedhttps://github.com/AsahiLinux/m1n1/pull/630#asahi-dev · 2026-07-18 13:38
chaos_princesslet's go#asahi-dev · 2026-07-18 13:38
chadmedwe inch closer and closer :P #asahi-dev · 2026-07-18 13:38
chadmed[ 69.579020] apple-dcp 38bc00000.dcp: swap failed! status 4#asahi-dev · 2026-07-18 10:09
yukaSo keyboard works, yay#asahi-dev · 2026-07-18 10:08
fl0_id_afkoops. sry lol#asahi-dev · 2026-07-18 10:07
nickchanw#asahi-dev · 2026-07-18 10:07
fl0_id_afkw#asahi-dev · 2026-07-18 10:04
JamesCalligeros[m]Lmao phew#asahi-dev · 2026-07-18 10:04
yuka(at least none I have encountered at this point)#asahi-dev · 2026-07-18 10:04
yukaon the firmware side#asahi-dev · 2026-07-18 10:04
yukathere's no change#asahi-dev · 2026-07-18 10:04
yukait was just a stupid device tree mistake again#asahi-dev · 2026-07-18 10:03
JamesCalligeros[m]What did they change -.-#asahi-dev · 2026-07-18 10:01
yukaon t6050