#asahi-dev · 2021-11-11 09:37
sventhere were some core patches as part of the PCIe driver iirc. i'd guess one of those#asahi-dev · 2021-11-11 09:36
sventhis sounds like some other breakage#asahi-dev · 2021-11-11 09:36
sveni2c works fine#asahi-dev · 2021-11-11 09:36
svennah#asahi-dev · 2021-11-11 09:36
svenmaz: oh.. that pasemi board?#asahi-dev · 2021-11-10 21:00
svenyou can only get away with the installer if you just want to run linux #asahi-dev · 2021-11-10 20:59
svenyeah#asahi-dev · 2021-11-10 20:58
svenno idea how it knows the correct rootfs but it won’t just take the primary one#asahi-dev · 2021-11-10 19:42
svenI fear most of that will be issues inside the DCP firmware though :/#asahi-dev · 2021-11-10 19:41
svenMy monitor doesn’t work over DisplayPort. It only works if I put a dock with a HDMI converter in between #asahi-dev · 2021-11-10 18:53
svenand we already know that macOS drivers aren’t perfect and we can sometimes do better :D#asahi-dev · 2021-11-10 18:43
svenI hope “not blindly copying function names” is common sense ;)#asahi-dev · 2021-11-10 18:42
svenoh, also strongly recommended: run strings on the kext and look for _debug and then pass that to xnu as bootargs. Some drivers are incredibly verbose #asahi-dev · 2021-11-10 18:41
svenyeah#asahi-dev · 2021-11-10 18:40
svenit’s usually easier to just use the HV or blindly poke some registers anyway. Disassembling kexts is kinda ugly because it’s all c++ code with layers of IOkit indirections#asahi-dev · 2021-11-10 16:34
svenANS does complain about an "unclean reboot" though if you don't destroy the CQ/SQ pair#asahi-dev · 2021-11-10 16:33
svenbut everytime that command was issued any changes I did were commited to the disc even when i hard-rebooted afterwards#asahi-dev · 2021-11-10 16:33
sveni've only seen sync fail so far on FAT32 filesystem fwiw. and that was because it didn't end up issuing the nvme flush command#asahi-dev · 2021-11-10 10:29
svenj_ey: sure, but we could e.g. add the DTs to m1n1 as soon as they've been reviewed instead of waiting for the next merge window#asahi-dev · 2021-11-10 10:28
svenyeah#asahi-dev · 2021-11-10 10:25
svenfair enough :)#asahi-dev · 2021-11-10 10:23
sventhe usb reset "fun" won't be before 5.17 anyway#asahi-dev · 2021-11-09 11:43
svenAt least so far smc also seems like the only candidate for multiple drivers anyway#asahi-dev · 2021-11-09 11:42
svenI feel like we should really only have a single rtkit client for each coproc that may then provide an interface for multiple drivers if necessary #asahi-dev · 2021-11-09 11:41
svenuntil I did I write to _any_ gpio#asahi-dev · 2021-11-09 11:41
svenand read after that always returned zero#asahi-dev · 2021-11-09 11:41
svenbut I did see some weird thing where only the first gpio read is successful #asahi-dev · 2021-11-09 11:41
sveni dont think I saw that #asahi-dev · 2021-11-09 11:40
svenhuh… don’t think so #asahi-dev · 2021-11-09 11:19
sven(which might still be required, i don't really know what SMC does but at least so far i suspect that we will have a single RTKit client)#asahi-dev · 2021-11-09 11:18
svenwe would only need one if we had multiple SMC-based drivers that all talk to rtkit directly#asahi-dev · 2021-11-09 11:18
svenunclear. but that wouldn't change if we need an rtkit node#asahi-dev · 2021-11-09 11:15
sveni think most SMC commands can only be done in serial because they use the same shared memory area#asahi-dev · 2021-11-09 11:09
svenyup :D#asahi-dev · 2021-11-09 11:09
svenbut it's been a while#asahi-dev · 2021-11-09 11:09
sveni think we had some discussion about the rtkit node and decided that we don't really need a node for those#asahi-dev · 2021-11-09 11:08
sveni think the tricky parts are "do we want/need a separate SART node" and "do we want/need a separate RTKit firmware node"#asahi-dev · 2021-11-09 11:04
sveni also need to get back and at least clean rtkit up a bit#asahi-dev · 2021-11-09 11:02
sven"driver" :-P#asahi-dev · 2021-11-09 09:24
svenyeah, i still have a trauma from writing that driver and making random sd cards work :D#asahi-dev · 2021-11-09 09:24
svenand i thought that old sdhc on the wii was already cursed#asahi-dev · 2021-11-07 16:41
svengood to know!#asahi-dev · 2021-11-07 10:17
svenkettenis: so i've though about it some more and i think i'm in favor of adding the "apple,dwc3" compatibility. that should give us the most flexibility: we can either trigger the reset quirk on "apple,dwc3" or on "apple,tXXXX-dwc3" and even switch the trigger in the future if we need to for some reason without breaking compatibility#asahi-dev · 2021-11-05 17:37
svenand at least I want to store my ssh/gpg keys in there but i think my use case doesn't align with what most people want to use it for ;)#asahi-dev · 2021-11-05 17:36
sven(you'll also need APFS support to fully boot SEPOS but i guess that can be worked around)#asahi-dev · 2021-11-05 17:36
sveni don't think SEP has any key-value store. it might be possible to abuse something else but i haven't seen anything so far#asahi-dev · 2021-11-05 12:53
svennvme works with my downstream patches. they just need to be cleaned up before sent upstream#asahi-dev · 2021-11-05 12:08
svenm1n1/dts imho should only track whatever is upstream