#
#asahi-dev · 2023-09-10 15:43
marcanI parsed that as a word
#asahi-dev · 2023-09-10 15:43
marcanoh sorry, ah- lol
#asahi-dev · 2023-09-10 15:43
marcanah
#asahi-dev · 2023-09-10 15:43
eilnhttps://gist.github.com/ah-/34d440894e30980f4b110d0e758b9e0f
#asahi-dev · 2023-09-10 15:42
eilnt6000? it's not mine
#asahi-dev · 2023-09-10 15:42
marcanI didn't realize you had one of those too :)
#asahi-dev · 2023-09-10 15:41
marcanah
#asahi-dev · 2023-09-10 15:41
eilnt6000
#asahi-dev · 2023-09-10 15:41
eilnISPASC: ASSERT: ./h10isp/common/misc/H13/CSystemConfiguratorConnectivityH13Jade.cpp, 472: 0
#asahi-dev · 2023-09-10 15:41
marcanon t8103?
#asahi-dev · 2023-09-10 15:41
eilnISPASC: ConnectivityTableCreate: optical card rev 0x0
#asahi-dev · 2023-09-10 15:41
eilnmarcan: ah- timed out here (enable APPLE_ISP_DEBUG to print fw logs)
#asahi-dev · 2023-09-10 15:33
svenand, uh, maybe I misremember but I though k mentioned this a while ago when we discussed dapf. maybe I should’ve put more emphasis on just how much of a hack the adt can be
#asahi-dev · 2023-09-10 15:31
svenI‘d love to see why they need this specific split :D
#asahi-dev · 2023-09-10 15:31
svenall of device mode and half of host most goes through the first and the other half of host mode through the second one
#asahi-dev · 2023-09-10 15:30
svenand the splits makes no sense
#asahi-dev · 2023-09-10 15:30
svenAnd yeah, dwc3 also has two darts that are merged into a single one inside adt
#asahi-dev · 2023-09-10 15:30
svenThey sometimes use regs we have no clue about
#asahi-dev · 2023-09-10 15:29
svenMost darts have tunables that can just be ignored
#asahi-dev · 2023-09-10 15:21
marcaneiln: pushed what I have to the same old branches
#asahi-dev · 2023-09-10 15:21
marcant6000 is still broken though
#asahi-dev · 2023-09-10 15:20
marcanif it ever does we should try to work out what they do
#asahi-dev · 2023-09-10 15:20
marcanand yeah, they do init some unknown regs but it doesn't seem to matter
#asahi-dev · 2023-09-10 15:19
marcan*video
#asahi-dev · 2023-09-10 15:19
marcant8103 works all the way to videao, yeah
#asahi-dev · 2023-09-10 15:18
eilnand it boots all the way?
#asahi-dev · 2023-09-10 15:18
eilnit's fine, I figured out a hack during the ANE days
#asahi-dev · 2023-09-10 15:18
eilnthe "tunables" masks unused regs tho, 0x64/0x68/0x6c. interesting
#asahi-dev · 2023-09-10 15:15
marcanbut yeah our DART driver knows how to share page tables and everything, it literally just works... (other than that inconsistent bypass thing I had to patch)
#asahi-dev · 2023-09-10 15:14
marcanwould've probably saved you quite a bit of time :/
#asahi-dev · 2023-09-10 15:14
marcanI'm so sorry you got caught up in this mess and I/we didn't catch it earlier and tell you what it's about :(
#asahi-dev · 2023-09-10 15:14
marcantheir software engineering... is not.
#asahi-dev · 2023-09-10 15:13
marcantheir hardware engineering is pretty good
#asahi-dev · 2023-09-10 15:13
marcanbecause apple lol
#asahi-dev · 2023-09-10 15:13
eilnwhy would they do this? isn't this easier?
#asahi-dev · 2023-09-10 15:12
marcanwhich our driver knows how to do normally
#asahi-dev · 2023-09-10 15:12
marcanyes, because that sequence is basically initializing the DART
#asahi-dev · 2023-09-10 15:12
eilndart-tunables-instance-* is in the dt, and is required for the hack
#asahi-dev · 2023-09-10 15:09
marcanbecause unlike Apple, our DART driver actually knows how to initialize stuff without relying on random hardcoded register pokes in the device tree
#asahi-dev · 2023-09-10 15:09
marcaneiln: best part? it works without the "CTRR"/tunables setup at all
#asahi-dev · 2023-09-10 15:08
marcaneiln: and everything works with 3 proper DARTs :)
#asahi-dev · 2023-09-10 15:07
marcannice :)
#asahi-dev · 2023-09-10 15:06
mazand on a completely unrelated note, I've finally tagged CS v3.2. no significant change with the state of the v3-dev branch, only silkscreen and LCSC reference updates.
#asahi-dev · 2023-09-10 15:02
marcanlol
#asahi-dev · 2023-09-10 15:02
mazmarcan: well, if you only plan to hit upstream after a few *years*, that's probably not something I should be concerned about, and you'll have to convince other people than me!
#asahi-dev · 2023-09-10 14:58
marcanand of *course* apple made that inconsistent
#asahi-dev · 2023-09-10 14:58
marcanwe check for matching bypass support
#asahi-dev · 2023-09-10 14:58
marcan[ 0.326037] apple-dart 22c0fc000.iommu: DART [pagesize 4000, 16 streams, bypass support: 0, bypass forced: 0, locked: 0, AS 32 -> 36] initialized
#asahi-dev · 2023-09-10 14:58
marcan[ 0.324633] apple-dart 22c0f4000.iommu: DART [pagesize 4000, 16 streams, bypass support: 0, bypass forced: 0, locked: 0, AS 32 -> 36] initialized
#asahi-dev · 2023-09-10 14:58
marcan[ 0.323231] apple-dart 22c0e8000.iommu: DART [pagesize 4000, 16 streams, bypass support: 1, bypass forced: 0, locked: 0, AS 32 -> 36] initialized

plus ›