#asahi-dev · 2026-02-06 16:04
freetolgaanything usable on any m4 device#asahi-dev · 2026-02-06 16:04
sveni'm confused, what is never going to happen?#asahi-dev · 2026-02-06 16:03
freetolgaalright so unless me or someone else with an m4 has another mac and a bunch of spare time its never going to happen #asahi-dev · 2026-02-06 16:03
svennone#asahi-dev · 2026-02-06 16:02
freetolgawhich drivers do you want me to show debug output for right now#asahi-dev · 2026-02-06 16:02
freetolgai saw some debug flags in the irc logs #asahi-dev · 2026-02-06 16:02
freetolgahow can i capture logs on macos lol#asahi-dev · 2026-02-06 15:18
sveni've tried applying them to see if they help with the 5s delay for usb3 devices but they didn't change anything#asahi-dev · 2026-02-06 15:17
svenyes, one of them is e.g. just "set this documented dwc3 register to host mode" which the driver does anyway#asahi-dev · 2026-02-06 15:06
noopwafel(ah I guess 'yes' based on irc logs)#asahi-dev · 2026-02-06 14:58
noopwafelbtw, we ignore the usb-drd tunables..? the example in tunables.h is /arm-io/usb-drd0 - not needed?#asahi-dev · 2026-02-06 14:42
sveniirc it really should just be different tunables#asahi-dev · 2026-02-06 14:36
noopwafel(typoed the T8122 variant..)#asahi-dev · 2026-02-06 14:36
noopwafelah no I'm doing a silly thing of course. don't mind me!#asahi-dev · 2026-02-06 14:26
svenhuh#asahi-dev · 2026-02-06 14:26
noopwafel(I don't see pipehandler mmio either)#asahi-dev · 2026-02-06 14:25
sventhat commandline should literally enable every single debug thing i was able to find related to usb :D#asahi-dev · 2026-02-06 14:24
noopwafeloh boy#asahi-dev · 2026-02-06 14:23
svenshould be in there i think#asahi-dev · 2026-02-06 14:22
noopwafelsven: do you expect to see pipehandler debug in there too btw?#asahi-dev · 2026-02-06 12:09
svenwe shouldn't add special support for any OS, just load to u-boot and take it from there#asahi-dev · 2026-02-06 12:06
chaos_princessoh, so it has terrible perf, got it (/j)#asahi-dev · 2026-02-06 11:52
chadmedzircon is nominally a microkernel yeah #asahi-dev · 2026-02-06 11:52
NickChan[m]so like a bit of microkernel#asahi-dev · 2026-02-06 11:51
integralpilotfuchsia is interesting in that UART, IC and timer are all kernelspace, every other driver is userspace#asahi-dev · 2026-02-06 11:51
integralpilothaven't actually tried loading the kernel yet, am trying to add AIC3 support rn#asahi-dev · 2026-02-06 11:50
integralpilotit's what i've been doing so far, guess i'll keep with that.#asahi-dev · 2026-02-06 11:49
chadmed^ yeah that#asahi-dev · 2026-02-06 11:49
chadmedjust chainload their u-boot fork#asahi-dev · 2026-02-06 11:48
chadmedmy concern here is that they just one day decide to change how all of this works and pull the rug out #asahi-dev · 2026-02-06 11:48
chaos_princessi'd suggest using that then, as m1n1 is perfectly capable of loading u-boot already#asahi-dev · 2026-02-06 11:47
chadmedlmao how preposterous#asahi-dev · 2026-02-06 11:46
integralpilotthey have a U-Boot downstream fork they maintain that supports booting it#asahi-dev · 2026-02-06 11:46
chaos_princesscan't it boot from efi?#asahi-dev · 2026-02-06 11:46
chadmedlast time we did that we ended up with sommelier and that did not go very well imho#asahi-dev · 2026-02-06 11:46
chadmedpersonally id rather not roll in any google code handed down to us from up on high only by the good graces of their benevolent product managers#asahi-dev · 2026-02-06 11:43
integralpilotusing their BSD licenced boot image library, https://fuchsia.googlesource.com/fuchsia/+/5f5e2c49e15a/src/firmware/lib/zbi/ (simple enough to roll our own if _really_ needed)#asahi-dev · 2026-02-06 11:38
chadmedwhat does it entail#asahi-dev · 2026-02-06 11:37
integralpilotwould support be accepted in mainline m1n1 for booting a zircon/fuchsia kernel? i've been experimenting with it a bit recently for fun#asahi-dev · 2026-02-06 11:19
sven*where#asahi-dev · 2026-02-06 11:18
sventhat's how all the #defines in atcphy come from#asahi-dev · 2026-02-06 11:18
svenyuuup#asahi-dev · 2026-02-06 11:11
noopwafeloh, nice, not only tunable info from AppleT8122TypeCPhy but also the other register writes.#asahi-dev · 2026-02-06 11:09
arrynThe first time I put my own code on it I was messing with a usb stick and uboot commands because I couldn't figure out how to load a raw binary over m1n1 hhh#asahi-dev · 2026-02-06 11:08
arrynAlso learning how to use the m1n1 tooling is also a little complex for people coming in the first time. But I have to say once you figure it out it's a very convenient experience#asahi-dev · 2026-02-06 11:07
arrynAnd since QEMU is often very lenient with mistakes my understanding is a little loose in my opinion #asahi-dev · 2026-02-06 11:06
arrynnoopwafel: yeah something like that. So far my experience with drivers is very limited and mostly things that QEMU emulates#asahi-dev · 2026-02-06 11:05
arrynmaz: That's true BUT! it (often) requires the knowledge of how these kinds of devices work on a deeper level to begin with. That's the knowledge I'd like to gain here#asahi-dev · 2026-02-06 11:04
noopwafelfor docs, a bit more of a high level viewpoint (how do all the higher-level pieces fit together) would have been useful to me#asahi-dev · 2026-02-06 11:03
noopwafelfor any future irc log viewers: I dropped it a while ago and have not seemed to have any issues :)