#asahi · 2021-08-03 15:26
marcanyeah...#asahi · 2021-08-03 15:25
marcanyeah#asahi · 2021-08-03 15:23
marcanj_ey: apparently that one maps to 'b3a8'#asahi · 2021-08-03 15:10
marcanj_ey: okay yeah there is a complicated mapping between those values and the table I found#asahi · 2021-08-03 14:59
marcanso I suspect some shenanigans#asahi · 2021-08-03 14:59
marcanit's not in the list of formats from stringsing the firmware#asahi · 2021-08-03 14:58
marcanj_ey: good question.#asahi · 2021-08-03 14:58
marcantfw those are the same thing on these systems#asahi · 2021-08-03 14:58
marcan"receives shared-memory buffers via wl_shm and DMA-BUFs via wp_linux_dmabuf"#asahi · 2021-08-03 14:58
marcanIIRC android can do this#asahi · 2021-08-03 14:57
marcansome of the compression info params are obviously the same stuff from the plane info#asahi · 2021-08-03 14:55
marcanalyssa: https://github.com/AsahiLinux/m1n1/blob/3f6e1fe028226cd77b7bd9d338f93a5e3e1c3b28/proxyclient/experiments/dcp.py#L181#asahi · 2021-08-03 14:54
marcaner, pushed now#asahi · 2021-08-03 14:44
marcanit all works as intended#asahi · 2021-08-03 14:44
marcanI think the iova offset thing I saw was a red herring caused by the compression reading data starting halfway into the buffer#asahi · 2021-08-03 14:43
marcanalso fb compression works#asahi · 2021-08-03 14:43
marcanalyssa: you just set the source rect smaller#asahi · 2021-08-03 14:30
marcanif the out rect overflows the screen area it breaks badly :D#asahi · 2021-08-03 14:30
marcanthat was all tested in the stream where I first got it to work#asahi · 2021-08-03 14:30
marcanyes#asahi · 2021-08-03 14:29
marcanalyssa: scaling#asahi · 2021-08-03 14:29
marcanphire: old firmware only supported 3, I assume this is for newer hardware and it'll probably fail, but I haven't tried#asahi · 2021-08-03 12:07
marcanso it'll be python driving the UI and download and file operations, plus some helper tools for specific things that already exist#asahi · 2021-08-03 12:07
marcanthe installer will bundle a bunch of stuff anyway, we need stuff like img4tool and possibly some userspace filesystem stuff depending on how fancy we want to get with the linux install side#asahi · 2021-08-03 12:06
marcanamw: thanks, didn't catch that during the review#asahi · 2021-08-03 07:55
marcaninstallation is going to involve a 1GB recovery image, so 50MB or whatever for python is rounding error#asahi · 2021-08-03 07:55
marcana stripped down python isn't that large, you can throw away most of the modules#asahi · 2021-08-03 07:53
marcanrkjnsn[m]: what's the difference?#asahi · 2021-08-03 07:53
marcanI'll clean up the commits and push to main later#asahi · 2021-08-03 07:53
marcanhopefully that makes more sense now :)#asahi · 2021-08-03 07:53
marcanhttps://github.com/AsahiLinux/m1n1/blob/78d5b073e375edbb5c38c10fd809ebd13535df1c/proxyclient/experiments/dcp.py#L143#asahi · 2021-08-03 07:53
marcanalyssa: pushed some more wtf to that branch#asahi · 2021-08-03 07:06
marcanyeah, it might not charge properly under m1n1#asahi · 2021-08-03 06:32
marcanhttps://developer.limneos.net/index.php?ios=5.0&framework=CoreVideo.framework&header=CVPixelBuffer.h#asahi · 2021-08-03 06:32
marcanalyssa: btw, here are some of the surface pixel formats: #asahi · 2021-08-03 04:45
marcanbasically the instructions are fine :)#asahi · 2021-08-03 04:44
marcanthat works fine#asahi · 2021-08-03 04:41
marcanthat's payload mode#asahi · 2021-08-03 04:41
marcanyeah with the cat#asahi · 2021-08-03 04:40
marcanalternatively, concatenate m1n1 and linux using payload mode and load it directly under the hv#asahi · 2021-08-03 04:40
marcanbut you need to run m1n1 under the hv first to be able to boot linux; you should be able to use the second USB port to talk to the inner m1n1 and launch linux that way#asahi · 2021-08-03 04:39
marcansmp=off should work#asahi · 2021-08-03 04:36
marcanand run with 1 cpu only of course#asahi · 2021-08-03 04:35
marcanyes#asahi · 2021-08-03 04:33
marcanjust mrs(L2C_ERR_STS_EL1) and L2C_ERR_ADR_EL1 and L2C_ERR_INF_EL1#asahi · 2021-08-03 04:31
marcanbut easy enough to get as I said#asahi · 2021-08-03 04:31
marcanah yeah, not in the handler#asahi · 2021-08-03 04:31
marcanbut if they aren't, you're in a shell so you can just mrs() them anyway#asahi · 2021-08-03 04:30
marcanactually, it'll throw you into the python handler, let me check if the L2C regs are dumped there#asahi · 2021-08-03 04:29
marcanthe hypervisor does not forward SErrors, so yes, you'll get the m1n1 dump in that case with the L2C registers