#
…

2021-05-24

00:06gruetzko- is now known as gruetzkopf
02:29PhilippvK has joined #asahi
02:33phiologe has quit [Ping timeout: 480 seconds]
03:06_whitelogger has joined #asahi
03:17marvin24 has joined #asahi
03:19aquijoule_ has joined #asahi
03:25richbridger has quit [Ping timeout: 480 seconds]
03:43marcan(stream moved to after lunch)
04:03TheJollyRoger has quit [Remote host closed the connection]
04:03TheJollyRoger has joined #asahi
04:39bgb_ has joined #asahi
04:40bgb has quit [Ping timeout: 480 seconds]
05:11Dementor[m]<marcan "(stream moved to after lunch)"> What are you going to work on? More hypervisor stuff?
05:54bgb has joined #asahi
05:55bgb_ has quit [Ping timeout: 480 seconds]
06:38VinDuv has joined #asahi
06:39VinDuv has quit []
06:50VinDuv has joined #asahi
08:49VinDuv has quit [Quit: Leaving.]
09:08tomtastic_ has quit [Read error: Connection reset by peer]
09:08tomtastic has joined #asahi
09:42bastilian[m] has joined #asahi
09:54manawyrm has joined #asahi
10:19_whitelogger has joined #asahi
10:40cdesai has quit [Quit: cdesai]
10:40cdesai has joined #asahi
11:41coderobe has joined #asahi
12:26minimaul is now known as mini
13:08ihaveamac has joined #asahi
13:38bgb has quit [Ping timeout: 480 seconds]
13:56kettenismanaged to get the dwc3 controller working (in host mode) in u-boot
13:57Shiz has quit [Remote host closed the connection]
13:57svencan you use a port twice there?
13:57sven(i.e. disconnect a device and connect it again)
13:57kettenisprobably not
13:58kettenisusb doesn't really support hotplug
13:58kettenisu-boot I mean
13:59kettenisso you'd have to run a command to rescan the usb bus
13:59kettenisI can try that in a bit
14:00kettenispart of the magic to getting it work is sending a 'SSPS' command to the type-C PD controller
14:01kettenisthat apparently takes it out of "boot" mode and into normal "S0" mode
14:01svenyeah, i know :-)
14:02svenjust wondering if reusing a port works because i couldn't get that to work in either device or host mode
14:02sven(without manually resetting dwc3)
14:03ketteniswill look at that in a bit
14:03kettenisneed to do some shopping first
14:46kettenisplug/unplug and rescan works in u-boot, but I guess rescanning invokes a dwc3 reset
15:00choozy has joined #asahi
15:00m42uko has joined #asahi
15:03bgb has joined #asahi
15:44truelai has joined #asahi
15:58zopieux has joined #asahi
16:07Gue______ has joined #asahi
16:14bgb has quit [Ping timeout: 480 seconds]
16:20bgb has joined #asahi
16:33bgb has quit [Ping timeout: 480 seconds]
16:36bgb has joined #asahi
16:39VinDuv has joined #asahi
16:46bgb has quit [Ping timeout: 480 seconds]
16:49choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:05kettenissven: got dwc3 working in OpenBSD as well
17:05svennice. i assume bsd itself needs almost no changes if you just do the phy init in u-boot?
17:05kettenisI have a type-C to type-A dongle in the mix
17:06kettenisif I unplug and replug on the type-A side everything works like charm
17:07kettenisif I unplug the dongle from the machine devices detach like they should
17:07kettenisbut plugging the dongle back in doesn't do anything
17:07svenyeah, that sounds just like what i saw
17:07svenmarcan did some experiments where he just disconnected the D+/D- lines and that worked just fine as well
17:09marcanIIRC it was dropping vbus that breaks it here, yeah
17:10kettenisto make it work I had to tackkle the dual DART issue
17:11svendwc3 also works in bypass mode fwiw
17:12kettenisoh, that might be interesting for u-boot
17:13sventhe linux driver ignores dma-ranges and only uses 32bit addresses by default
17:13svenbut if you force it to use the full 64bit address space and set the two bypass bits in the dart TCR it'll work fine
17:23choozy has joined #asahi
17:38spot[m] has joined #asahi
17:49Shiz has joined #asahi
17:51svenkettenis: https://f.svpe.de/f8ea95271af6bec833d5448efe87d2addca671993c9be1c92e8dcd464368bed7_0000-cover-letter.patch is that enough stressing that we really want to express the clock topology in the device tree or can you think of more points why this is a good idea that i should add?
17:55kettenislooks good to me
18:13VinDuv has quit [Quit: Leaving.]
18:15Shiz_ has joined #asahi
18:16Shiz has quit []
18:19Shiz_ has quit []
18:20Shiz has joined #asahi
18:28svenalright, sent
18:29svennow back to the DART
18:30svenkettenis: does u-boot take care of the usb phy init for host mode? then i can probably get away with just adding the dwc3 device nodes in the dart patchset so that it actually becomes useful for something
18:31choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
18:32kettenissven: u-boot doesn't really do any apple-specific stuff for dwc3
18:33kettenisseems to be happy with whatever m1n1 has done
18:33svenhuh, really?
18:33sveneven for host mode?
18:33kettenisI wouldn't mix the usb stuff in the dart diff though
18:34svenfair enough
18:46kettenisfor the dwc3 usb controller we probably need a "glue" node that has a "snps,dwc3" node as a child
18:50svendo we really need the glue node?
18:59ketteniscorellium needs it for tunables playback
18:59sveni think we'll eventually only need a phy driver
19:01kettenisI suppose we can always add one later if it turns out we need it
19:01kettenisin that case adding a snps,dwc3 node to the dart diff may not be a bad idea after all
19:10VinDuv has joined #asahi
19:13kettenis_ has joined #asahi
19:14kettenis is now known as Guest4788
19:14kettenis_ is now known as kettenis
19:15Guest4788 has quit [Ping timeout: 480 seconds]
19:53Matt_B has quit [Remote host closed the connection]
20:02haterade[m] has joined #asahi
20:15VinDuv has quit [Quit: Leaving.]
20:38inglor has joined #asahi
20:40kettenis has quit [Ping timeout: 480 seconds]
20:43kettenis has joined #asahi
21:04choozy has joined #asahi
21:07Gue______ has quit [Ping timeout: 480 seconds]
21:38truelai has quit [Ping timeout: 480 seconds]
22:07emptynine has joined #asahi
22:31choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:08akemin_dayo has quit [Ping timeout: 480 seconds]
23:12akemin_dayo has joined #asahi
23:27tomtastic has quit [Ping timeout: 480 seconds]
23:35tomtastic has joined #asahi
23:42balrog has quit [Quit: Bye]
23:50balrog has joined #asahi
23:56brinly has joined #asahi
23:56brinly@marcan which exact kernel was the ssd wear issue fixed in?
23:56brinlythe KDKS are out, and I have a dev account
…