#
…

2022-03-16

00:34yuyichao has quit [Ping timeout: 480 seconds]
01:34yuyichao has joined #asahi-re
03:00riker77_ has joined #asahi-re
03:02riker77 has quit [Ping timeout: 480 seconds]
03:02riker77_ is now known as riker77
03:08phiologe has quit [Ping timeout: 480 seconds]
03:26phiologe has joined #asahi-re
07:43the_lanetly_052 has joined #asahi-re
08:33svendisplay port bring up is ~200 lines in the mmio trace and a bunch of that seems to be some kind of "write magic value to magic register"
08:33svenwith fun registers like LANE0_AUSPMA_TX_SHM_BLK_TXA_IMP_REG2.PMA_TXA_MARGIN or LANE0_AUSPMA_RX_SHM_TJ_BLK_RXA_VREF_CTRL22.PMA_RXA_VREF_BIAS_SEL
08:34svenand from what I can tell just constant values that they'd usually stuff into a tunable
08:51MajorBiscuit has joined #asahi-re
08:52MajorBiscuit has quit []
08:53MajorBiscuit has joined #asahi-re
10:00kameks has joined #asahi-re
10:17Jamie[m]1continuing regarding AVD firmware, the offsets for all the firmwares for different AVD versions can be found, since each one is at a symbol called avdM3 in the binary
10:17Jamie[m]1but telling which is which is nontrivial
10:17Jamie[m]1as is finding their lengths
10:18Jamie[m]1(i.e. both those things only come from analyzing the code)
10:19Jamie[m]1are you just gonna hardcode length plus some identifying heuristic to match the current exact firmware blob?
10:22Jamie[m]1(when i say "the binary" above, i mean the AppleAVD kext binary)
10:23Jamie[m]1additionally, you might want to extract the tunables array? they're at the symbol avd (which again is duplicated for each model, and the length and exact meaning can only be determined through code analysis)
11:06chengsun_ has joined #asahi-re
11:11chengsun has quit [Ping timeout: 480 seconds]
11:29darkapex has quit [Ping timeout: 480 seconds]
11:58kameks has quit [Ping timeout: 480 seconds]
12:18bisko has joined #asahi-re
13:05cyrozap has quit [Quit: Client quit]
13:05cyrozap has joined #asahi-re
13:38yuyichao has quit [Ping timeout: 480 seconds]
13:57yuyichao has joined #asahi-re
17:56MajorBiscuit has quit [Quit: WeeChat 3.4]
18:16the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:18m6wiq has joined #asahi-re
21:38m6wiq has quit []
21:43kgarrington has joined #asahi-re
21:44kgarrington has quit [Remote host closed the connection]
…