#asahi-dev · 2023-09-02 12:05
eilnah-: looks like the device wasn't even probed. did you uncomment the compatible under apple_isp_of_match in isp-drv.c? also you should use the second console (with the kernel msgs) if you haven't (see https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#establishing-the-usb-connection)#asahi-dev · 2023-09-02 11:56
ah-chainloading m1n1 and linux booting with your tracer gets me this log: https://textbin.net/raw/mq3gbc3knr#asahi-dev · 2023-09-02 11:55
ah-eiln: i'm testing now with your latest pmgr reordering in the dtb and this m1n1: https://github.com/ah-/m1n1/commits/isp-dapf#asahi-dev · 2023-09-02 11:22
knedlikI'm generally interested in working towards the direction of helping with the GPU stuff#asahi-dev · 2023-09-02 11:22
knedlikSo now that I have the development kernel, and everything seems working, are there any other things where I can help out (maybe with programming) other than the yaks?#asahi-dev · 2023-09-02 05:47
jannausternez: indeed, they use die1 on the m2 ultra mac studio, sigh. you need to use dcpext4/dispext4#asahi-dev · 2023-09-02 05:14
sternezjannau: your pull request in AsahiLinux/m1n1 mentioned that: "M2 Ultra Mac Studio and Mac Pro hopefully work after replacing dcp0/disp0 with dcpext0/dispext0.". I found that is not enough, on M2 ultra, there are no '/arm-io/lpdptx-phy0' and '/arm-io/dp2hdmi-gpio0'. but I found they are '/arm-io/lpdptx-phy1' and '/arm-io/dp2hdmi-gpio1'. after the modification, I still can not make it work.#asahi-dev · 2023-09-02 05:10
chadmedhttps://social.treehouse.systems/@chadmed/110993825043500687 ez#asahi-dev · 2023-09-02 05:08
sternezjannau: I woule like to make my m2 ultra's hdmi work. I noticed you've achieved big progress on m2 pro mini and studio. I can do some tests on my m2 ultra studio.#asahi-dev · 2023-09-02 04:01
chadmednvm it was just kde's volume knobs still being broken. we do need to do kcontrol fixup in macaudio though#asahi-dev · 2023-09-02 03:40
chadmednone of the kcontrols are disabled either so i assume we're just not handling the device properly in macaudio #asahi-dev · 2023-09-02 03:40
chadmedall channels go to one of the left woofers#asahi-dev · 2023-09-02 03:40
chadmedhmm 15" air speaker routing is wrong #asahi-dev · 2023-09-02 02:41
eilnisp's power domain hierarchy: 0x00 -> 0x10 -> 0x08 -> 0x28 -> 0x20 -> 0x30 -> 0x18 -> 0x38 -> 0x40#asahi-dev · 2023-09-02 02:40
eilnsigh, I found it.#asahi-dev · 2023-09-02 02:27
ah-more tomorrow#asahi-dev · 2023-09-02 02:26
ah-ok with all /arm-io/isp replaced by /arm-io/isp0 it boots, but still "[ 15.260651] platform 292280000.power-management:power-controller@4010: deferred probe pending" in dmesg#asahi-dev · 2023-09-02 02:10
eilnah-: yeah, that makes sense. ill fix that.#asahi-dev · 2023-09-02 02:08
ah-hmm no luck. getting late so i'll try more tomorrow, but looks like in the adt it's isp0 not just isp#asahi-dev · 2023-09-02 01:54
eilnah-: whoops, actually pushed this time#asahi-dev · 2023-09-02 01:53
ah-this? https://github.com/eiln/linux/commit/cefb9e40510a16efbc40decf15a08e8cda5a3b8c#asahi-dev · 2023-09-02 01:53
eilnthe dt in linux#asahi-dev · 2023-09-02 01:52
ah-what branch/repo?#asahi-dev · 2023-09-02 01:50
eilnah-: pushed. the initial iommu stuff is different, and you might get translation faults / stuck dart error handler. looking into that#asahi-dev · 2023-09-02 01:48
eilnsio is a diff hw#asahi-dev · 2023-09-02 01:48
eilnah-: ah, forgot the alias. brb#asahi-dev · 2023-09-02 01:47
ah-getting FDT: 'sio' not found, 'sio' node not found, ADT: '/arm-io/isp' node not found, '/arm-io/isp' not found and then failed to prepare FDT#asahi-dev · 2023-09-02 01:37
eilnyes#asahi-dev · 2023-09-02 01:37
ah-this one? https://github.com/eiln/m1n1/commits/isp-dapf#asahi-dev · 2023-09-02 01:35
eilnah-: got it. you will also need to chainload/update m1n1 with my branch, which should be right there :D#asahi-dev · 2023-09-02 01:32
ah-atm just by switching m1n1.bins, got proxy running too but more comfortable this way. my usb cable is a bit short#asahi-dev · 2023-09-02 01:30
eilnah-: are you running these under proxy? I did push a patched dt rn #asahi-dev · 2023-09-02 01:30
ah-boots now, but getting "deferred probe pending" for the power controllers#asahi-dev · 2023-09-02 01:30
ah-ha! yes you're right, I missed that the 0x2/0x3 in reg also contains the address#asahi-dev · 2023-09-02 01:16
eilnlooking at it now#asahi-dev · 2023-09-02 01:16
eilnah-: the dart address is wrong. it was supposed to be a 0x3 I think.#asahi-dev · 2023-09-02 01:14
ah-not sure why, the address looks similar to what's in the m1n1 trace. i can't see the interrupt anywhere in the trace though#asahi-dev · 2023-09-02 01:12
ah-hmm, if I add this isp_dart section to my dtb any kernel stops booting: https://gist.github.com/ah-/3dc3f8f1724ed2583eb362dd5c3d68e6#asahi-dev · 2023-09-01 20:10
ah-i had to open photobooth twice, the first time it took a few seconds and then it said there was no available camera, on the second attempt it worked and I saw the camera image#asahi-dev · 2023-09-01 20:08
ah-eiln: https://textbin.net/raw/dwnb1wyhud#asahi-dev · 2023-09-01 19:47
knedlikWill the arch release stay as a viable option for Asahi dev? I'm seriously considering deleting Fedora and going back to the Arch fork#asahi-dev · 2023-09-01 19:32
knedlikI can't have a while where everything works... of course the GPU stopped working after the kernel update#asahi-dev · 2023-09-01 19:23
knedlikIt boots!#asahi-dev · 2023-09-01 19:19
knedlikFinally managed a non-debug build that takes up only 306MB#asahi-dev · 2023-09-01 19:09
eilnthankfully it won't do much without an iommu#asahi-dev · 2023-09-01 19:06
eilnmaybe I shouldn't have pushed the last one? it was more of a "jot down my notes from dumps"#asahi-dev · 2023-09-01 18:51
ah-i'll give it a go#asahi-dev · 2023-09-01 18:51
ah-ok I think i roughly found what I need to do, so I get the m1n1 proxy setup, then run your tracing script, then boot osx via https://github.com/AsahiLinux/docs/wiki/SW%3AHypervisor and that should give me the log?#asahi-dev · 2023-09-01 18:48
marcanno need for a KDK, you can just run the retail kernel#asahi-dev · 2023-09-01 18:47
eilnah-: the hypervisor setup (needed to trace macos) is a bit tricky, sadly. you'll need a new macos install, an icloud account to get the kdks, install m1n1 yourself in recovery, etc. if you're familiar with kernel stuff you could test with a simple tethered boot setup (enable expert mode in installer).