#
✕ nick:povik
#asahi · 2021-10-14 10:19
povikwoo! dcp driver works swell here
#asahi · 2021-10-14 09:25
povikmarcan: nice find!
#asahi · 2021-10-14 08:40
povikchecks out
#asahi · 2021-10-14 08:40
povik16**6 / 1_000_000 = 16.78
#asahi · 2021-10-14 08:39
povikworking in linux repo i cant specify just 6 characters of commit hash like i am used to :O
#asahi · 2021-10-14 07:59
povikis this to appease some automatic tree-wide check?
#asahi · 2021-10-14 07:58
povikdoes linux really need to put a license-identifier on a makefile which is basically a file listing?
#asahi · 2021-10-14 07:51
povikno worries, i will match by messages then
#asahi · 2021-10-14 07:51
povikalthough the commit hashes still dont seem to match
#asahi · 2021-10-14 07:45
povikalyssa: thanks!
#asahi · 2021-10-13 19:25
poviki also thought about looking at dart faults, maybe they will have beginnings of the bursts only
#asahi · 2021-10-13 19:24
povikis there e.g. a transaction counter?
#asahi · 2021-10-13 19:24
povikmarcan: is there some feature of the memory controller i could use to find the burst size register in audio dma?
#asahi · 2021-10-13 19:17
povikmarcan: ^^ was just answering my own question up there
#asahi · 2021-10-13 19:16
povikmakes sense
#asahi · 2021-10-13 19:15
povikyeah, that does not make sense
#asahi · 2021-10-13 19:15
povikwait but the interface presented by SEP or the other coprocessors is coded in the firmware, so that does not make sense
#asahi · 2021-10-13 19:13
povikcould the reason why kernel is passed SEPFW and not the other firmwares in that the interface of SEP is different, and iboot doesnt have a driver for it?
#asahi · 2021-10-13 19:07
povikah so this lives in the same physical address space after all
#asahi · 2021-10-13 18:50
poviklet me know when you push, no hurry
#asahi · 2021-10-13 18:49
povikalyssa: the commit hashes you posted are not in mu-one/linux
#asahi · 2021-10-13 17:38
povikah, so this is some effectively isolated memory. okay
#asahi · 2021-10-13 17:35
poviksven: so to understand this fully: there's some protection mechanism which applies to ranges of physical addresses which makes the coprocessor firmwares read-only?
#asahi · 2021-10-13 16:17
povikthis is just for the challenge of it :)
#asahi · 2021-10-13 16:16
povikwe can write to it at any time
#asahi · 2021-10-13 16:16
povikassuming its just a blob in memory
#asahi · 2021-10-13 16:15
povikcan we modify the firmware? what prevents us?
#asahi · 2021-10-13 16:14
povikhm
#asahi · 2021-10-13 16:14
povikcan we lock other darts if we want to?
#asahi · 2021-10-13 16:14
povikdoesnt make much sense why its locked
#asahi · 2021-10-13 16:13
povikokay
#asahi · 2021-10-13 16:13
povikthis register is locked, but it points into memory we can write to
#asahi · 2021-10-13 16:13
povikAFAIK theres a register which says "this is where you should look first to look up virtual addresses"
#asahi · 2021-10-13 16:11
povikbut we can still modify the mapping arbitrarily if we write to memory at that locked pointer, correct?
#asahi · 2021-10-13 15:26
poviki have questions :)
#asahi · 2021-10-13 15:26
povikalso does macos modify the locked dart? does it need to? do we need to?
#asahi · 2021-10-13 15:26
povikwhy does iboot lock the root pointer if it doesnt prevent us from modifying the lookup table?
#asahi · 2021-10-13 15:25
povikdoes it have an explanation?
#asahi · 2021-10-13 15:25
poviki looked over some locked dart commits
#asahi · 2021-10-13 14:29
povikalyssa: re: commits, great, thanks
#asahi · 2021-10-13 14:28
povikwe should get a live chart
#asahi · 2021-10-13 14:15
povikalyssa: should have jumped on your driver right away
#asahi · 2021-10-13 14:15
povikfrankly most of my time spent on M1 lately has been trying to get graphics to work
#asahi · 2021-10-13 14:11
povikalso learned theres a different jack wiring in china
#asahi · 2021-10-13 14:11
povikbut the codec does the sensing itself
#asahi · 2021-10-13 14:11
povikwell an interrupt goes through pinctrl
#asahi · 2021-10-13 14:10
povikit has yet to tell me
#asahi · 2021-10-13 14:10
povikso far i have been trying the codec to tell me when the audio jack is plugged in
#asahi · 2021-10-13 14:09
povikalyssa: haven't done much yet
#asahi · 2021-10-13 13:22
povikyeah, got inspired elsewhere

plus ›