#asahi · 2021-05-31 12:33
svenit also fails to setup this INTx thing because there's no code for it. so maybe that's just missing :D#asahi · 2021-05-31 12:32
svenat least something requests a MSI, unmasks a AIC interrupt but that interrupt then never fires#asahi · 2021-05-31 12:31
svenstill trying to wrap my head around pci#asahi · 2021-05-31 12:31
svenbut i'm still not 100% sure#asahi · 2021-05-31 12:30
svenyeah, i think that's what's missing#asahi · 2021-05-31 11:47
svena few hours ago i didn't even know what a MSI or what ECAM is#asahi · 2021-05-31 11:46
sventhis is mostly kettenis' and maz' work fwiw. i'm just making sure pcie plays nicely with my dart iommu driver ;)#asahi · 2021-05-31 11:21
svenbut ethernet at least works without that. [ 8.298277] tg3 0000:03:00.0 eth0: Link is up at 1000 Mbps, full duplex#asahi · 2021-05-31 11:20
svenhrm, i think pcie irqs are somehow broken or maybe not fully implemented#asahi · 2021-05-31 09:47
svenyeah, i think i'm at the point where pcie works in uboot now and i have to actually understand maz' pcie code now and see what's still missing#asahi · 2021-05-31 09:39
svenand i'm just making it worse. right now i have two pcie nodes in there: one for uboot and one for linux#asahi · 2021-05-31 09:39
sveni'm currently playing with maz' hack/m1-pcie-WIP to see if i can get that to work with my current DART code#asahi · 2021-05-31 09:38
svenah, nice. let me check that#asahi · 2021-05-29 17:00
sven:D#asahi · 2021-05-29 16:56
sventhunderbolt is probably going to require a lot of work#asahi · 2021-05-29 16:55
svenwifi needs a few small patches. someone just needs to look at what corellium has done and discuss with the linux maintainers how they want them to be done#asahi · 2021-05-29 16:51
sventhough usb a isn't too hard either. they actually already work in u-boot and openbsd thanks to kettenis' work#asahi · 2021-05-29 16:50
svenonly usb c ports work right now#asahi · 2021-05-29 15:14
sven:/#asahi · 2021-05-29 12:19
svenyup, looks like usb host just works now 🤷♂️#asahi · 2021-05-29 12:14
sven:D#asahi · 2021-05-29 12:13
sveni mixed up the stream ids in the device tree#asahi · 2021-05-29 12:13
svenah yes, i'm just an idiot as usual.#asahi · 2021-05-29 11:59
svenhm, maybe i broke something in the dart driver. can't even get gadget mode to work from linux right now#asahi · 2021-05-29 11:34
sveni've added some code to m1n1 to send the command to this i2c chip. let me check if u-boot works with that#asahi · 2021-05-29 11:33
svenweird#asahi · 2021-05-29 11:31
svenvery strange. that doesn't seem to be enough for linux#asahi · 2021-05-29 11:29
svenkettenis: i'm trying to reproduce the dwc3 in host mode without doing any more PHY bringup right now. all you did was sent this SPSS command to the i2c chip, correct?#asahi · 2021-05-28 20:40
sventhere's something going on with the PHY that we don't know yet#asahi · 2021-05-28 20:40
svenreplugging also doesn't work with the linux dwc3 driver#asahi · 2021-05-28 20:40
svenit's not about connection management#asahi · 2021-05-28 19:43
svennice!#asahi · 2021-05-28 17:06
svenlol, yeah#asahi · 2021-05-28 16:55
svenbut i could totally see some third party kexts devs using the hv as a nicer debugger#asahi · 2021-05-28 16:55
sveni sure hope they have jtag/swd :D#asahi · 2021-05-28 07:18
svenso essentially the connection just dopped?#asahi · 2021-05-28 07:18
sventhey should've shown up on the fb console fwiw#asahi · 2021-05-28 07:16
svendid you see anything in dmesg or some debug prints from m1n1?#asahi · 2021-05-28 07:13
sveni was hoping to only need the tunable and all that for usb > 2 but who knows#asahi · 2021-05-28 07:13
svenEmantor: interesting. i use a 3.2 gen 2 c-to-c cable as well and i never had issues like that. is that on a mac mini?#asahi · 2021-05-27 21:52
svenand yeah, those look like the slides#asahi · 2021-05-27 21:51
svenfiguring out the protocol itself and then figuring out how to nicely integrate that into the whole gpg/ssh/etc. ecosystem#asahi · 2021-05-27 21:46
svenbut the registers looked very simple. it's probably obvious how to send messages from looking at a single mmiotrace#asahi · 2021-05-27 21:45
svenbut iirc i googled for secure enclave mailbox or something like that#asahi · 2021-05-27 21:45
svendon't remember, sorry :-)#asahi · 2021-05-27 21:44
svenbut that's the easy part#asahi · 2021-05-27 21:43
svenpretty much. i've seen some slides about the mailbox protocol though#asahi · 2021-05-27 21:35
svenit should be possible since you can use the SEP from mac os for ssh keys#asahi · 2021-05-27 21:35
sventhat's the goal at least#asahi · 2021-05-27 20:15
svensounds good to me. in the worst case it provides a sanity check that only code which actually compiles is merged. in the best case it makes someone's life easier :)