#
✕ nick:sven
#asahi · 2022-03-19 10:06
svenhalf if the fun is reversing unknown hardware anyway ;)
#asahi · 2022-03-19 10:04
sven:D
#asahi · 2022-03-18 23:46
svenor bug fixes (say they fix DCP for some monitors)
#asahi · 2022-03-18 21:34
sven(no worries, I broke it while cleaning it up and won’t get back to that until tomorrow ;))
#asahi · 2022-03-18 21:33
svensoooo…. What if I push usb3 now? :-P
#asahi · 2022-03-18 19:01
sven🤨
#asahi · 2022-03-18 18:59
svenbut this is all off topic anyway
#asahi · 2022-03-18 18:58
svenor unless it overheats so badly it goes into thermal shutdown
#asahi · 2022-03-18 18:58
svenI don’t know why the device would eject though unless you tug on the cable or something
#asahi · 2022-03-18 18:57
svenuhhh… no idea, depends on the enclosure I guess
#asahi · 2022-03-18 18:53
svenand most of my code these days doesn’t lock the machine up so badly that the hv dies :D
#asahi · 2022-03-18 18:52
sveni don’t really use that hw uart very often at this point
#asahi · 2022-03-18 18:52
svenyeah, and I got mine before I wrote that dwc3 driver that allows you to use a regular usb cable
#asahi · 2022-03-18 18:49
svenalso, mine was only like 700$
#asahi · 2022-03-18 18:49
svenshush.
#asahi · 2022-03-18 18:48
sven+was
#asahi · 2022-03-18 18:48
svenI don’t think it ever this bad for me though
#asahi · 2022-03-18 18:48
svenat least you understand my pain now :D
#asahi · 2022-03-18 16:54
svenyeah, at least inside m1n1 the usb2 phy should be configured correctly
#asahi · 2022-03-18 16:53
sven<3 usb
#asahi · 2022-03-18 16:36
svenah :D
#asahi · 2022-03-18 16:35
svenj`ey: so what exactly doesn't work?
#asahi · 2022-03-18 16:33
sventhe usb curse works in mysterious ways!
#asahi · 2022-03-18 16:32
svenGlanzmann: uh, just some web client
#asahi · 2022-03-18 16:32
svenusb is *always* cursing everyone everyday. you just sometimes don't notice.
#asahi · 2022-03-18 16:27
sveniirc the apple firmware files are also renamed to something linux will understand
#asahi · 2022-03-18 16:23
svenand i also remember some tool that allowed in-place encryption for LUKS
#asahi · 2022-03-18 16:23
sveni mean... pretty much any distro installer can do FDE
#asahi · 2022-03-18 15:51
svenyeah, plan for this weekend is to prepare the nvme submission and clean up the atcphy code for usb 3 support on the type c ports
#asahi · 2022-03-18 11:24
svenlol
#asahi · 2022-03-18 11:22
sventhat's so much more fun than using the actual driver they have!
#asahi · 2022-03-18 11:22
svenwanna bet they hacked the DART driver to just initialize DAPF with that?
#asahi · 2022-03-18 11:21
sventhere's filter-data-instance-0 in the DART node
#asahi · 2022-03-18 11:21
sveni think i know what apple did
#asahi · 2022-03-18 11:21
svenoh god...
#asahi · 2022-03-18 11:19
svenwhat initializes it?
#asahi · 2022-03-18 11:19
sventhat's.. weird
#asahi · 2022-03-18 11:14
sventhere's no dapf,t8020 in the device tree
#asahi · 2022-03-18 11:13
svenpretty sure that XNU never touched DAPF
#asahi · 2022-03-18 11:12
svenmaybe it changed with 12.x, but 11.x XNU never wrote to any DAPF
#asahi · 2022-03-18 11:12
svenor, well, it does, but it's never created in the device tree
#asahi · 2022-03-18 11:11
svenbut XNU doesn't have a DAPF driver iirc
#asahi · 2022-03-18 11:11
svenor maybe iBoot configures them like that
#asahi · 2022-03-18 11:11
sveniirc uninitialized DAPF just means everything goes through DART
#asahi · 2022-03-18 11:07
svenit's also relatively simple to implement and doesn't need any handover, etc. if the actual OS wants to support SEP in the future
#asahi · 2022-03-18 11:07
svenSEPROM supports a simple "get random bytes" message
#asahi · 2022-03-18 11:07
svenyup.
#asahi · 2022-03-18 11:07
svenSEPMessage(EP=0xff, TAG=0x0, TYPE=0x74, PARAM=0x0, DATA=0xe7fa6e0c)
#asahi · 2022-03-18 11:07
sven>>> s.get_rng()
#asahi · 2022-03-18 10:45
svenah, I remember now, apparently there’s a command you can send to seprom that generates 4 bytes of random data

plus ›