#asahi-dev · 2022-05-31 10:10
povikapple's spelling of impedance ^#asahi-dev · 2022-05-31 10:10
povikthis: detectImpendenceMode#asahi-dev · 2022-05-31 10:10
povikoops, not what i wanted to paste#asahi-dev · 2022-05-31 10:10
povik Y_pulldown = 1.0 / (1100 - pulldown_trim*2)#asahi-dev · 2022-05-31 10:10
povik / (614.0 + offset_trim * 0.125)#asahi-dev · 2022-05-31 10:09
povik' Y_overall = ((reading + 0.5) * 0.01086 - 1.0 / (1 - slope_trim * 0.001375)) \#asahi-dev · 2022-05-23 20:52
povikpushed the bringing up of AOP: https://github.com/AsahiLinux/m1n1/pull/208#asahi-dev · 2022-05-23 18:34
povikof course: key, length, data#asahi-dev · 2022-05-23 18:33
povikand macos seems to patch p0CE, laCn and tPOA#asahi-dev · 2022-05-23 18:30
poviki guess they are four-char-keys, not that i like having to make sense of it: https://tpaste.us/8b46#asahi-dev · 2022-05-23 18:26
povikbut we can access that one directly from AP too (if it isn't special, which is unlikely)#asahi-dev · 2022-05-23 18:25
poviknicolas17: it does have those and they are connected to AOP's SPI master IIRC#asahi-dev · 2022-05-23 18:25
povikwait those weird looking numbers in the argument section could be apple's favorite four-character keys#asahi-dev · 2022-05-23 18:17
povikmakes sense (ANS is for NVME right?)#asahi-dev · 2022-05-23 18:16
povikah#asahi-dev · 2022-05-23 18:16
poviksvenpeter[m]: yeah, here it looks like the arguments are obligatory...#asahi-dev · 2022-05-23 18:16
poviknicolas17: you can access its peripherals, some of which we already know (ADMAC,MCA) because the AP has its own copy of them#asahi-dev · 2022-05-23 18:11
povikstill, bringing up the AOP is useful even if for R/E only#asahi-dev · 2022-05-23 18:11
povikbypassing the AOP is a path i haven't ruled out#asahi-dev · 2022-05-23 18:11
poviknot really though ;)#asahi-dev · 2022-05-23 18:03
povik*though#asahi-dev · 2022-05-23 18:03
povik(actually not always on through)#asahi-dev · 2022-05-23 18:02
povikyes, never misses a word you are saying :-p#asahi-dev · 2022-05-23 18:00
povikAOP? it stands at the gate for microphones#asahi-dev · 2022-05-23 17:57
povikha... and of course if i re-do the patching *and* fix a bug in setting up DAPF entries, AOP finally boots#asahi-dev · 2022-05-23 17:22
povikthen reads the whole region and writes it back with those changes ^^#asahi-dev · 2022-05-23 17:22
povikit first picks up region start/size at aop[2]+0x224/+0x228#asahi-dev · 2022-05-23 17:19
povikthis is the patching it does: https://tpaste.us/JrL7#asahi-dev · 2022-05-23 17:19
povikis there some prior art on this on some of the other coprocessors?#asahi-dev · 2022-05-23 17:18
povikthat is at least if /arm-io/aop[2] is a window into the AOP's program memory#asahi-dev · 2022-05-23 17:18
povikso it looks like macos patches something in the preloaded AOP image before it kicks CPU_START#asahi-dev · 2022-05-23 09:53
povikyeah#asahi-dev · 2022-05-23 09:53
povikwait no#asahi-dev · 2022-05-23 09:52
povikyup#asahi-dev · 2022-05-23 09:43
povikso you should actually always be reading the address clearing the bottom bits#asahi-dev · 2022-05-23 09:42
povikthat goes in hand with the fact that the x+1 messages have their first non-zero byte at an offset in comparison to the x+0#asahi-dev · 2022-05-23 09:41
povikthe bottom bit could be a flag of some sorts, exploiting the fact that the address is always 4-aligned which frees the bottom two bits for auxiliary signalling#asahi-dev · 2022-05-15 13:51
povikhey the list works :)#asahi-dev · 2022-04-18 15:28
povikah#asahi-dev · 2022-04-18 15:25
poviki know it has been discussed here before but where do you get the idea there's I2C involved#asahi-dev · 2022-04-18 15:20
povikthe CPU_CONTROL isn't i suppose CPU_CONTROL = (RUN = 1) or something to that effect#asahi-dev · 2022-04-18 15:19
povikthe mmio interface is different#asahi-dev · 2022-04-18 15:19
povikyeah, that looks like ASCTracer will do you no good#asahi-dev · 2022-04-18 15:17
povikmillenialhacker: i suppose you haven't been getting anything sensible using ASCTracer on it#asahi-dev · 2022-04-18 15:17
povik compatible = [isp,h13-generic, isp,s5l8960x]#asahi-dev · 2022-04-18 15:17
povikindeed it looks like ISP has its own special interface#asahi-dev · 2022-04-18 15:13
povikm1n1 wouldn't insert any compatible tags that aren't there already#asahi-dev · 2022-04-18 13:00
povikdoes it say anything?#asahi-dev · 2022-04-18 13:00
poviklol#asahi-dev · 2022-04-18 12:54
povikhopefully macos will cope