#
✕ nick:sven
#asahi-re · 2022-10-14 08:05
sveni'd treat that talk like binary reversing engineering if in doubt
#asahi-re · 2022-10-08 14:56
sveneven the interrupts might also be routed to AIC
#asahi-re · 2022-10-06 17:15
sveni have no idea what apple configurator will do in that case
#asahi-re · 2022-10-06 17:15
svenwhy are you trying to do that?
#asahi-re · 2022-10-06 17:12
svensn?
#asahi-re · 2022-10-06 17:11
svensyscfg is on the NOR flash on these machines
#asahi-re · 2022-10-06 16:58
svenyou'd need to boot a linux kernel with SPI support and the NOR node enabled in the device tree and then be brave enough to actually write your modifications back
#asahi-re · 2022-10-06 16:57
svenassuming you mean the syscfg stored on the NOR flash, no
#asahi-re · 2022-10-06 11:48
svenlol
#asahi-re · 2022-10-06 11:46
svenwhich is why it doesn’t really make sense
#asahi-re · 2022-10-06 11:46
svenif you have access to those regs you can just compute the hash yourself
#asahi-re · 2022-10-06 11:45
svenvery weird either way
#asahi-re · 2022-10-06 11:44
svenso maybe to protect again evil userspace something something?
#asahi-re · 2022-10-06 11:44
svenI think it stuffs some identifier of the userspace client that called the function in there
#asahi-re · 2022-10-06 11:44
svenwhich is a bit overkill for a simple checksum
#asahi-re · 2022-10-06 11:44
svenit’s sha256 iirc
#asahi-re · 2022-10-06 11:43
svennicolas17: something like that, dunno why it’s there tbh
#asahi-re · 2022-10-06 11:43
sventhe regular kexts have enough symbols usually because they export everything
#asahi-re · 2022-10-06 11:43
svenkdk doesn’t help
#asahi-re · 2022-10-06 11:41
sventhat’s how I found that sks ipc hash fwiw
#asahi-re · 2022-10-06 11:40
svenI’d recommend to load the kext symbols into the hv and then use bt() inside the tracer
#asahi-re · 2022-10-06 11:40
sventhe hard part is the sks ipc anyway
#asahi-re · 2022-10-06 11:38
sveni can paste that later as well
#asahi-re · 2022-10-06 11:38
sveneach blocks is a key/Val and protected with a common crc
#asahi-re · 2022-10-06 11:38
svenit’s essentially just a key vakue store with constant size blocks
#asahi-re · 2022-10-06 11:37
sven(The xART thing)
#asahi-re · 2022-10-06 11:37
svenI have reverse the Gigalocker file as well
#asahi-re · 2022-10-06 11:37
svenyup
#asahi-re · 2022-10-06 07:12
sveni think you mean s/aweful/amazing/
#asahi-re · 2022-10-04 11:14
svenI usually clean them up because apple likes to use very long registers names
#asahi-re · 2022-10-04 11:14
svenI think there’s even an example for register names in the re policy
#asahi-re · 2022-08-30 19:25
sventhat's the mess that's usually hidden in what they call "tunables"
#asahi-re · 2022-08-30 19:24
svenhttps://f.svpe.de/d69acdb6d6e67062b1c26e45c3bf4236f7c88083a55cc7ff3070ad06661c7437_lolatc.py <3 ATC
#asahi-re · 2022-08-17 16:20
svenm arcan, j annau, a lyssa, me I think
#asahi-re · 2022-08-17 15:42
svenplease just ignore people like that, just ping someone who can get rid of them
#asahi-re · 2022-07-20 13:55
svenno idea, i have no machine with aic2 and i've only used it on aic1
#asahi-re · 2022-07-20 13:40
svenhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/aic_test.py#L162
#asahi-re · 2022-07-17 18:12
svenbut sounds like btcoex is mostly a WiFi thing
#asahi-re · 2022-07-17 18:12
svenafaict most of the fancy stuff happens inside BlueTool anyway (like firmware selection or sending the right calibration data)
#asahi-re · 2022-07-17 16:37
svenand yet macOS applies them all again and again (and my driver too because if I have to apply some tunables I might as well apply them all)
#asahi-re · 2022-07-17 16:36
sven*some
#asahi-re · 2022-07-17 16:36
svenfwiw, sone atc tunables stick around even through a atc reset, but others have to be reapplied again and again
#asahi-re · 2022-07-17 08:46
svenyou probably want to disable SKS at least and there’s even a allowlist for endpoints already
#asahi-re · 2022-07-17 08:45
svenbut it’s still pretty verbose
#asahi-re · 2022-07-17 08:45
svenand the tracer isn’t nearly as bad as the GPU one
#asahi-re · 2022-07-17 08:45
sventhe endpoint should be SBIO
#asahi-re · 2022-07-17 06:07
svenpretty sure that’s how it works
#asahi-re · 2022-06-18 18:26
svenfirmware selection also seems to be rather simple: get the chip name from the PCI dev id and then get the antenna or whatever island code name from the DT just like wifi. there's only a third component I don't understand yet (USI vs. MUR)
#asahi-re · 2022-06-18 18:24
sven*mystery
#asahi-re · 2022-06-18 18:24
sventhat still seems to be common broadcom stuff, there are some vague references to this in the wlan driver as well

plus ›