#
✕ nick:alyssa
#asahi · 2021-08-01 00:59
alyssaah, derp, thanks
#asahi · 2021-08-01 00:57
alyssaohh I have dcplog.txt which gives me references for unit testing the packing code, nice
#asahi · 2021-08-01 00:52
alyssaHmm if I start working on dcp code am i going to be interrupted before i can get anything done
#asahi · 2021-08-01 00:16
alyssapipcet[m]: I already started thinking through structuring kernel driver
#asahi · 2021-07-31 18:25
alyssastill not clear to me how pointers work, I guess those are DVAs?
#asahi · 2021-07-31 18:24
alyssaThe shared memory itself is just a block mapped to the DCP DART and with the dart VA negotiated with the DCPEp_SetShmem packet
#asahi · 2021-07-31 18:23
alyssaInput structs packed in shared memory, wrapped in a DCP packet structure with the tag name and lengths. The offset of the packet in shared memory is used as a pointer to send a DCPEp_Msg, which is the actual message sent over the ASC mailbox.
#asahi · 2021-07-31 18:22
alyssaStepping back, I guess the idea is..
#asahi · 2021-07-31 18:22
alyssamarcan: Spent the morning wrapping my head around dcp-clusterfuck, wrote myself a cheat sheet of how the layers of crap fit together https://rosenzweig.io/DCP-Cheatsheet.md
#asahi · 2021-07-31 16:52
alyssa😅
#asahi · 2021-07-31 16:50
alyssathis is so cursed
#asahi · 2021-07-31 16:46
alyssaNope, I'm not alowed to make suggestions to dcp-clusterfuck 😉
#asahi · 2021-07-31 16:46
alyssaFun
#asahi · 2021-07-31 16:45
alyssaf.
#asahi · 2021-07-31 16:44
alyssa("UNK_get_some_field")
#asahi · 2021-07-31 16:44
alyssawhat's special about D101?
#asahi · 2021-07-31 16:40
alyssaTrying to digest the current code
#asahi · 2021-07-31 16:39
alyssawell, i need a test plan in the mean time so there's that.
#asahi · 2021-07-31 16:38
alyssathx
#asahi · 2021-07-31 16:38
alyssaAh
#asahi · 2021-07-31 16:37
alyssadelightful
#asahi · 2021-07-31 16:37
alyssabeta?
#asahi · 2021-07-31 16:37
alyssa(I'm admittedly unsure how to do so since my only way of accessing the macOS there is through the hv... I guess I could flash back XNU and then reflash m1n1 after updating)
#asahi · 2021-07-31 16:36
alyssamarcan: By the way, I assume I need to update macOS on the m1n1/linux/hv partition to sync DCP firmware version with what you have ?
#asahi · 2021-07-31 16:34
alyssa😇
#asahi · 2021-07-31 16:34
alyssamarcan: you said i couldn't submt PRs, you didn't say nothing about IRC 😉
#asahi · 2021-07-31 14:20
alyssaYep
#asahi · 2021-07-31 14:12
alyssaI would guess that's supposed to be 08x little-end without the 0s
#asahi · 2021-07-31 14:11
alyssa+ {swapid.val:02x} 00 00 00
#asahi · 2021-07-31 14:11
alyssamarcan: +/* swap id */
#asahi · 2021-07-31 14:08
alyssamarcan: thanks <3
#asahi · 2021-07-31 14:08
alyssaI guess I should take a look at dcp-clusterfuck now :3
#asahi · 2021-07-31 14:07
alyssa🎯
#asahi · 2021-07-31 13:49
alyssapipcet[m]: thank you for the kind words re: dcp branch/commit naming
#asahi · 2021-07-31 03:46
alyssa🔥⛈
#asahi · 2021-07-30 16:33
alyssapipcet[m]: don't use panfrost ;-)
#asahi · 2021-07-30 15:38
alyssaAh
#asahi · 2021-07-30 15:37
alyssasven: what's wrong with uboot
#asahi · 2021-07-30 15:24
alyssa:|
#asahi · 2021-07-30 14:49
alyssa😮
#asahi · 2021-07-29 23:43
alyssaNit: change (i.e. we) to (us) and (i.e. usually RTKit) to (usually RTKit)
#asahi · 2021-07-29 23:42
alyssa+/* A2I = Application Processor (i.e. we) to I/O Processor (i.e. usually RTKit) */
#asahi · 2021-07-29 23:40
alyssathough i guess the kernel has prior art for either
#asahi · 2021-07-29 23:40
alyssaPRIx64 instead of %llx methinks
#asahi · 2021-07-29 23:40
alyssasven: +"coprocessor sent shmem buffer with 0x%zx bytes at 0x%llx outside of the configured region 0x%llx...0x%llx",
#asahi · 2021-07-29 16:30
alyssasven: duh, it's M1, not M0 /s
#asahi · 2021-07-29 15:54
alyssasven: I posted mine yesterday, it's yours with working systemd and usb net
#asahi · 2021-07-29 15:46
alyssadidn't try on the M1 but should Just Work if you're supplying the kernel
#asahi · 2021-07-29 15:45
alyssasven: http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
#asahi · 2021-07-29 15:45
alyssasven: arch linux arm has a generic arm64 rootfs

plus ›