#asahi-dev · 2026-05-24 11:12
yukahttps://yuyu.yuka.dev/public/j700-i2cdump1#asahi-dev · 2026-05-24 03:45
JamesCalligeros[m]never mind, it looks like its the smc driver exploding into flames with kCFI enabled#asahi-dev · 2026-05-24 01:45
chadmedlatest u-boot cannot init mtp#asahi-dev · 2026-05-24 01:45
chadmedhm devicetrees from 7.0.9-2 seem to break mtp on t8112#asahi-dev · 2026-05-23 22:48
jannaucpufreq and M3 Pro/Max pcie are missing for bare minimal M3* support#asahi-dev · 2026-05-23 22:43
chaos_princessthere was some api that does a callback into your kext from idle thread#asahi-dev · 2026-05-23 22:41
yukaProper scheduling of it would be difficult, but if it can just have one core#asahi-dev · 2026-05-23 22:39
yukalike the proxy#asahi-dev · 2026-05-23 22:39
yukaIt would be kinda funny if I could compile parts of m1n1 into a kext#asahi-dev · 2026-05-23 22:26
yukaNext, dumping i2c#asahi-dev · 2026-05-23 22:26
yukaI can write to uart from a kext :)#asahi-dev · 2026-05-23 22:25
yukachaos_princess: you were right about +210000000#asahi-dev · 2026-05-23 22:02
jannauu-boot stores the initialization packets and writes them into the remote (rmt) fifo so that linux will be able to read them#asahi-dev · 2026-05-23 22:01
jannausame on m3*. it's broken after initializing it in u-boot and then booting linux#asahi-dev · 2026-05-23 21:58
yukaDunno, dockchannel mtp works fine in linux on A18 Pro#asahi-dev · 2026-05-23 21:58
yukaAhh#asahi-dev · 2026-05-23 21:53
jannauno, this is about mtp dockchannel and explains the broken hand-over from u-boot to linux#asahi-dev · 2026-05-23 21:52
chaos_princessi think you should add 210000000 on that one#asahi-dev · 2026-05-23 21:52
yukawhile I was using the debug-console#asahi-dev · 2026-05-23 21:51
yukaat least I tried +UTRSTAT / +UBRDIV#asahi-dev · 2026-05-23 21:51
yukabut I get 0 for all reads#asahi-dev · 2026-05-23 21:51
yuka* withPhysicalAddress(0x175200000)#asahi-dev · 2026-05-23 21:51
yukaUsing withPhysicalAddress(0x17) and IOMapped{Read,Write}32 it doesn't crash#asahi-dev · 2026-05-23 21:50
yukaif you were relating to my fiddling, this is about uart0#asahi-dev · 2026-05-23 21:30
jannaus/around //#asahi-dev · 2026-05-23 21:30
jannaudid apple switch the local / remote dockchanel mmio regions on m3around ?#asahi-dev · 2026-05-23 20:33
yukaunclear what this means#asahi-dev · 2026-05-23 20:33
yukain ioreg it's just 0x7520_0000#asahi-dev · 2026-05-23 20:33
yukain the adt it's 0x1_7520_0000#asahi-dev · 2026-05-23 20:33
yukayep#asahi-dev · 2026-05-23 20:33
jannauerr, missing 0x1_0000_0000#asahi-dev · 2026-05-23 20:32
jannau+ 0x2_1000_0000#asahi-dev · 2026-05-23 20:32
yukabut thanks, I will try withPhysicalAddress#asahi-dev · 2026-05-23 20:31
yukainstead of 385200000 in m1n1#asahi-dev · 2026-05-23 20:31
yukauart0@75200000#asahi-dev · 2026-05-23 20:30
yukaI also saw another address in "ioreg"#asahi-dev · 2026-05-23 20:30
chaos_princesscause i am sure you can just read and write to io memory from a kext, you just need to map it first#asahi-dev · 2026-05-23 20:30
yukathat, I don't know#asahi-dev · 2026-05-23 20:30
chaos_princessis it mapped where you expect it to be?#asahi-dev · 2026-05-23 20:30
yukaI was trying uart because I know this better than i2c#asahi-dev · 2026-05-23 20:30
yukaI think#asahi-dev · 2026-05-23 20:29
yukaThe thing must already be mapped#asahi-dev · 2026-05-23 20:29
chaos_princesshttps://developer.apple.com/documentation/kernel/iomemorydescriptor/1812908-withphysicaladdress - i think this is their version of iomap#asahi-dev · 2026-05-23 20:25
yukaprobably have to use the blessed apple functions for that#asahi-dev · 2026-05-23 20:25
yukaSad, I can't just access mmio from a kext#asahi-dev · 2026-05-23 19:50
yukaworks!#asahi-dev · 2026-05-23 19:44
yukato be able to link against the com.apple.kpi.iokit kext, which provides the iolog symbol#asahi-dev · 2026-05-23 19:44
yukaI had to add an entry in the Info.plist#asahi-dev · 2026-05-23 19:44
yukaFound it#asahi-dev · 2026-05-23 19:43
chaos_princesslike, it should be there?