#
✕ nick:sven
#asahi · 2021-10-08 16:02
svenat least some of the DART tunables are literally just "hardware init/reset"
#asahi · 2021-10-08 16:02
svenyup
#asahi · 2021-10-08 16:01
svenyeah
#asahi · 2021-10-08 16:01
sven:/
#asahi · 2021-10-08 16:01
sven(plus some more, but i'm sure about those)
#asahi · 2021-10-08 16:00
svenmarcan: tunable_USB_LN0_AUSPMA_TX_TOP, tunable_CIO_LN0_AUSPMA_TX_TOP, tunable_USB_LN0_AUSPMA_RX_TOP, tunable_CIO_LN0_AUSPMA_RX_TOP
#asahi · 2021-10-08 15:59
svenj_ey: no idea, but i can check that as well
#asahi · 2021-10-08 15:59
svensure, let me check
#asahi · 2021-10-08 15:59
svenno idea
#asahi · 2021-10-08 15:59
svenoh
#asahi · 2021-10-08 15:59
sventhey're from the ADT afaict
#asahi · 2021-10-08 15:59
svensyscfg?
#asahi · 2021-10-08 15:58
svenyeah, i didn't do irqs yet
#asahi · 2021-10-08 15:58
svenand the most annoying part about ATC is that XNU seems to re-apply different tunables again and again depending on the mode (at least usb3 vs. thunderbolt)
#asahi · 2021-10-08 15:57
svenand all those kexts have a debug XNU arg anyway that will just spit out all those register names
#asahi · 2021-10-08 15:56
sventhey are not from the kext afaict and at least some of them are odd
#asahi · 2021-10-08 15:56
sveni don't trust some of the bits they defined though
#asahi · 2021-10-08 15:55
sventhe register names in the #defines are useful and essentially just taken from the 5 or so kexts
#asahi · 2021-10-07 08:55
sveni'll need working thunderbolt for a docking station before i can use linux instead of macos as well :(
#asahi · 2021-10-06 19:18
sventhe only kernel that currently supports usb 3 on the usb c ports is corellium's
#asahi · 2021-10-06 19:18
sven"this"?
#asahi · 2021-10-06 19:16
svenah, or maybe you used the usb a ports. those support usb 3 already
#asahi · 2021-10-06 19:14
svenMagMell[m]: fwiw, there is no usb3 support yet. the usb c ports only support usb 2 for now
#asahi · 2021-10-06 11:01
sven:)
#asahi · 2021-10-06 10:17
svenpretty sure it's just the devicetree that's wrong
#asahi · 2021-10-06 10:17
svensometimes compiles code just to be able to look at it in objdump or something to strip away annoying abstractions :D
#asahi · 2021-10-06 10:16
svenGlanzmann: vim + xxd
#asahi · 2021-10-06 10:15
svenyou must use the device tree from the mu-one branch if you want this to work
#asahi · 2021-10-06 10:15
svenit doesn't contain any nodes for usb, nvme, etc.
#asahi · 2021-10-06 10:15
svenMagMell[m]: the device tree in your payload is wrong
#asahi · 2021-10-06 10:09
svener, wait. i think i messed up. let me check again
#asahi · 2021-10-06 10:08
svenhrm. or maybe it is
#asahi · 2021-10-06 10:07
svenpretty sure at least the dtb in that file is wrong. it also doesn't seem to be compiled with ans nvme support
#asahi · 2021-10-06 09:15
svenj_ey: fair enough :D
#asahi · 2021-10-06 09:14
sven+what
#asahi · 2021-10-06 09:14
sven4k will not work right now no matter you do
#asahi · 2021-10-06 09:11
svenyeah, as i said: dcp wouldn't work with 4k pages even with my patches right now
#asahi · 2021-10-06 09:02
sveni think that's her screen resolution and not her kernel page size :D
#asahi · 2021-10-06 09:00
sveni'm pretty sure DCP won't work on 4k kernel right now either
#asahi · 2021-10-06 09:00
sveni'd just recommend to stick to 16k kernel for now unless you have a good reason for 4k
#asahi · 2021-10-06 08:59
sven4k page support is not there yet, that needs additional work
#asahi · 2021-10-06 08:59
svenyou just want the code that's upstream instead
#asahi · 2021-10-06 08:59
svenit did support 4k pages but not in a sane way
#asahi · 2021-10-06 08:58
sventhat's an old version of the DART driver
#asahi · 2021-10-06 08:44
sventhey should default to y if you select ARCH_APPLE
#asahi · 2021-10-06 07:19
sventhat reminds me of some logs from some 3rd party component i had to look at for $some-former-employer. i assumed they were just corrupted because i had to XOR each char with 1 but when i sent a bug report they were seriously surprised I could read their "encrypted log files"
#asahi · 2021-10-06 07:16
svenlol
#asahi · 2021-10-06 07:15
sven*their
#asahi · 2021-10-06 07:15
sveni accidentally bought a tb3 dock with displaylink first. they macOS driver is also painful at best
#asahi · 2021-10-06 07:14
svenar: yeah... that's because they hooked up the internal display output to a dp->hdmi converter for the first display. and the external display output is hooked up to both usb-c ports :/

plus ›