#asahi · 2021-04-17 09:22
sventhis also happens when i bring up the phy in host mode#asahi · 2021-04-17 09:21
svenohhhh#asahi · 2021-04-17 09:21
sveni can manually force a reconnect on the dwc side#asahi · 2021-04-17 09:21
svenyeah, that's what i figured#asahi · 2021-04-17 09:21
svenand i never see any USBRst or USBConnected events#asahi · 2021-04-17 09:20
sventhe usb device doesn't show up again#asahi · 2021-04-17 09:20
svennothing#asahi · 2021-04-17 09:20
sventhey don't work for me#asahi · 2021-04-17 09:19
sventhats's... weird#asahi · 2021-04-17 09:19
svenreally?#asahi · 2021-04-17 09:18
svennow i wonder how iboot detects usb reconnects then#asahi · 2021-04-17 09:13
svenriiight :P#asahi · 2021-04-17 09:12
svenmarcan: you forgot to run make format, there's a spurious whiteline in main.c now :P#asahi · 2021-04-17 09:00
svenit's /dev/cu.debug-console#asahi · 2021-04-17 08:59
svenah, duh. wrong /dev node#asahi · 2021-04-17 08:56
svensomething's weird, let me try to figure out what's going on#asahi · 2021-04-17 08:55
svenno :)#asahi · 2021-04-17 08:54
svenhuh#asahi · 2021-04-17 08:54
svenOSError: [Errno 16] Resource busy: '/dev/tty.debug-console'#asahi · 2021-04-17 08:53
svenlol#asahi · 2021-04-17 08:53
svenit worked though, didn't it? :P#asahi · 2021-04-17 08:53
svenouch :D#asahi · 2021-04-17 08:50
svenluckily they are used to horrible usb devices ;)#asahi · 2021-04-17 08:50
svenyeah, i just did the minimum required to get it to work on mac os and linux#asahi · 2021-04-17 08:49
sven:-)#asahi · 2021-04-17 08:49
svenyeah, i at least know two or three parts in my usb code that weren't exactly compliant to the spec#asahi · 2021-04-17 08:48
svenvery nice :-)#asahi · 2021-04-15 04:48
svenmarcan: yes, my uartproxy hack is in another branch (https://github.com/AsahiLinux/m1n1/pull/39) since you already mentioned that you had plans for how to do that properly#asahi · 2021-04-14 20:23
svenit'll probably be merged sometime this week. marcan kinda needs it for mmiotrace and i think he already has plans to 'replace' my uartproxy hack#asahi · 2021-04-14 20:21
svenglad to hear it's useful :)#asahi · 2021-04-14 12:18
svennice :)#asahi · 2021-04-14 10:04
sven(or just add AIC/irq support and call that function for every dwc3 interrupt :P)#asahi · 2021-04-14 10:03
svenotherwise your host will probably complain about timeouts during enumeration#asahi · 2021-04-14 10:03
svenyou need to call that handle events function just after init quite a few times with some delay in-between#asahi · 2021-04-14 10:01
svenmarcan: https://github.com/AsahiLinux/m1n1/pull/47 not well tested, but I only resolved merge conflicts so it should work#asahi · 2021-04-14 09:58
sven:-)#asahi · 2021-04-14 09:19
svenit's probably just a few merge conflicts#asahi · 2021-04-14 09:18
svenwant me to rebase the usb pull request or are you going to do that yourself as well?#asahi · 2021-04-14 09:15
svenyeah, I put the earlycon in a separate commit because I expected it to be replaced later on ;)#asahi · 2021-04-14 04:51
svenmarcan: yeah, i was just cleaning up my adt.py when i stumpled across it yesterday :)#asahi · 2021-04-13 17:20
svenjust found it by accident while looking at the DT, heh#asahi · 2021-04-13 17:20
svenhrm... true.. all those individual ranges might just summarize to all of ram#asahi · 2021-04-13 17:13
svenunfortunately that node also contains some random regions at the beginning of ram#asahi · 2021-04-13 17:12
sventhree out of the entries in there result in data aborts, the rest can at least be read though#asahi · 2021-04-13 17:12
svenpretty sure they are somehow specified in /device-tree/chosen/carveout-memory-map#asahi · 2021-04-13 17:04
svenso interestingly we *can* access stuff beyond that it seems. there are just some regions in there that give me data aborts#asahi · 2021-04-13 17:02
svenoh.. just the mem_size#asahi · 2021-04-13 17:01
svenhuh, so the boot args also contain the reserve regions for e.g. the SEP stuff?#asahi · 2021-04-13 16:54
svenand unfortunately i can't find the protected regions (that ones that actually fault) anywhere else in the ADT.#asahi · 2021-04-13 16:53
svenand then that node also contains some MMIO ranges, e.g. | <0x00000002 0x4ac00000 0x00000000 0x00250000> (/arm-io/aop)