#asahi-dev · 2023-04-13 19:46
svenif you get translation faults on the second dart something tried to dma through it. #asahi-dev · 2023-04-13 19:27
jannaueither don't add the second instance to the dt or if that doesn't work add both iommus to displaydfr, cmp. with dwc3#asahi-dev · 2023-04-13 19:25
ChaosPrincessYea i saw that python uses the first instance, the problem is that i am getting translation faults from second one#asahi-dev · 2023-04-13 19:20
jannau dart_addr = u.adt[path].get_reg(instance)[0]#asahi-dev · 2023-04-13 19:20
jannau def from_adt(cls, u, path, instance=0, **kwargs):#asahi-dev · 2023-04-13 19:19
jannaudef from_adt(cls, u, path, instance=0, **kwargs):#asahi-dev · 2023-04-13 19:15
jannauwe usually ignore the second instance. except for dwc3. you did that implicitly with the python code#asahi-dev · 2023-04-13 19:05
ChaosPrincesswhat am i doing wrong#asahi-dev · 2023-04-13 19:05
ChaosPrincesswriting iova to register, getting a translation fault from dart at 228300000#asahi-dev · 2023-04-13 19:04
ChaosPrincesson linux i have in adt iommus = <&displaydfr_dart_1 0>; it has reg = <0x2 0x28304000 0x0 0x4000>;#asahi-dev · 2023-04-13 19:04
ChaosPrincesswrote iova to reg, everything works#asahi-dev · 2023-04-13 19:04
ChaosPrincessi did dart = DART.from_adt(u, "arm-io/dart-dispdfr") in m1n1, and then iova = dart.iomap(0, buf, fb_size)#asahi-dev · 2023-04-13 19:03
ChaosPrincessdispdfr has two, the adt shows reg = [Container:addr = 0x0000000028304000 size = 0x0000000000004000, Container:addr = 0x0000000028300000 size = 0x0000000000004000]#asahi-dev · 2023-04-13 19:03
ChaosPrincessso, whats the deal with devices having two darts#asahi-dev · 2023-04-13 12:52
kettenisI found the 0x15 "system vendor" tag, but didn't manage to work my way back to the start of the OTP area#asahi-dev · 2023-04-13 12:51
marcanmeanwhile still not a single email from cypress#asahi-dev · 2023-04-13 12:51
marcanI know it doesn't work on some raspberry pi thing, but that could just be firmware#asahi-dev · 2023-04-13 12:50
marcanI never heard back from the broadcom guy about whether my WPA3 SAE patch worked on anything non-apple...#asahi-dev · 2023-04-13 12:50
kettenisdefinitely a different otp offset#asahi-dev · 2023-04-13 12:50
marcan(at least for feature parity, wifi 6 who knows, we don't even have full WPA3 support yet)#asahi-dev · 2023-04-13 12:49
marcanif I end up having to implement more firmware APIs for it... :/#asahi-dev · 2023-04-13 12:49
marcanI would hope the wifi is mostly just another chipid/otp offset/tcm offset#asahi-dev · 2023-04-13 12:48
kettenisI'm probably going to concentrate on asmedia fwload support in u-boot before pursuing that further though#asahi-dev · 2023-04-13 12:46
kettenisI made a start looking at bcm4388; it seems the bcm4389 android driver has some bcm4388 bits in it#asahi-dev · 2023-04-13 12:41
marcanjannau: looks reasonable to me#asahi-dev · 2023-04-13 12:37
jannauthe isp power-domain on j474 might justify a second look#asahi-dev · 2023-04-13 12:36
jannaumarcan: there are still devicetree fixes in https://github.com/AsahiLinux/linux/pull/134#asahi-dev · 2023-04-13 12:33
marcan:>#asahi-dev · 2023-04-13 12:33
kettenishey I didn't call it a bug ;)#asahi-dev · 2023-04-13 12:32
marcankettenis: that one's just a bug on paper since there is only one nonzero value, but fixed :)#asahi-dev · 2023-04-13 12:32
marcanjannau: grabbed that one#asahi-dev · 2023-04-13 12:31
kettenis(I fixed that one without realizing it was broken)#asahi-dev · 2023-04-13 12:30
kettenisso, no, not that one jannau ;)#asahi-dev · 2023-04-13 12:29
kettenisthe second phy_lane_ctl poke still uses the hardcoded register number#asahi-dev · 2023-04-13 12:29
jannauthis one? https://github.com/AsahiLinux/linux/pull/134/commits/5b7e7f3bddd80a1ceb153cce16c7bd042868566b#asahi-dev · 2023-04-13 12:29
marcan(still no idea how MTP works on M2...)#asahi-dev · 2023-04-13 12:28
marcanmy drivers, broken? never!#asahi-dev · 2023-04-13 12:28
kettenismarcan: found a minor issue in your driver while doing so#asahi-dev · 2023-04-13 12:28
marcannice :)#asahi-dev · 2023-04-13 12:28
kettenismeanwhile, I have successfully ported the pcie changes to u-boot#asahi-dev · 2023-04-13 12:27
mazstop it, all of you! :D#asahi-dev · 2023-04-13 12:27
chadmedmaz: the thing is stupid fast and everything you need already works#asahi-dev · 2023-04-13 12:26
marcanstill no display out, mine's still in a box pending that (it's going to be a server but I don't want to put it into prod until it's officially supported...)#asahi-dev · 2023-04-13 12:26
jannaumaz: your use case (serial, ethernet, usb3) is already supported :)#asahi-dev · 2023-04-13 12:26
marcanmaz: :)#asahi-dev · 2023-04-13 12:25
marcanplain m1n1 should work though, and I assume everyone here knows how to install custom m1n1/uboot builds :p#asahi-dev · 2023-04-13 12:25
marcanobviously it will install a broken u-boot/kernel if you do a normal install, but good enough to get a rootfs on there and then develop in tethered mode#asahi-dev · 2023-04-13 12:24
marcanpushed alx.sh/dev, you probably want to use 13.3 firmware since it sounds like that's going to be the new target#asahi-dev · 2023-04-13 12:24
mazmarcan: now you're making it way too tempting for me to go and grab an M2 pro...#asahi-dev · 2023-04-13 12:17
marcanlet me just push the installer to dev, no point in making everyone's life difficult with this many people interested