#asahi · 2021-09-25 12:54
alyssa("How did you actually install to NVMe?" "I installed to USB, booted the USB, and rsync'ed / to /mnt")#asahi · 2021-09-25 12:53
alyssasmashing the above together with https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart should let you replicate my setup#asahi · 2021-09-25 12:52
alyssafor initial boot I guess install that to a USB drive and then set the cmdline option "root=/dev/sda1" instead of nvme#asahi · 2021-09-25 12:52
alyssa(That's... err... completely untested but err.... should work ™)#asahi · 2021-09-25 12:52
alyssaGlanzmann: If you need a Debian rootfs, give https://rootfs.debian.net/bookworm-arm64-networking-20210914.tar.gz a try#asahi · 2021-09-25 12:51
alyssaM1N1DEVICE=/dev/ttyACM0 python3 proxyclient/tools/linux.py --bootargs="net.ifnames=0 rw root=/dev/nvme0n1p4 rootwait rootfstype=ext4" ~/drm-misc/arch/arm64/boot/Image.gz ~/drm-misc/arch/arm64/boot/dts/apple/t8103-j274.dtb#asahi · 2021-09-25 12:51
alyssaand then I boot as#asahi · 2021-09-25 12:51
alyssasven: I /have/ the pmgr stuff in my tree it's just not wired up to ANS2 properly#asahi · 2021-09-25 12:51
alyssasven: 🔥#asahi · 2021-09-25 12:50
alyssa(It's minimalish for useful desktop so I'd just use it tbh)#asahi · 2021-09-25 12:50
alyssahttps://rosenzweig.io/.config is my current config, YMMV#asahi · 2021-09-25 12:50
alyssayou'll need to apply https://rosenzweig.io/0001-HACK-enable-ANS-clocks.patch to m1n1 or that kernel will die early in boot (fixing this is on my todo)#asahi · 2021-09-25 12:49
alyssaas the branch name suggests this is a branch of many hacks..#asahi · 2021-09-25 12:49
alyssaGlanzmann: https://github.com/mu-one/linux/tree/many-hacks is what I last ran on my mini#asahi · 2021-09-25 12:48
alyssanico_32_: "her playground" ha indeed it is 😁#asahi · 2021-09-25 02:34
alyssai should strongly consider sleeping instead of trying to r/e this#asahi · 2021-09-25 02:21
alyssafor starters it talks to both jpeg0 and jpeg1..#asahi · 2021-09-25 02:21
alyssathough... not what I would expect.#asahi · 2021-09-25 02:21
alyssaI do see jpeg mmio, running my demo app#asahi · 2021-09-25 02:12
alyssaso the moment of truth... is booting the other partition in the hypervisor and seeing if we get jpeg mmio like we expect#asahi · 2021-09-25 02:11
alyssaalthough I independently confirmed a bunch of things there#asahi · 2021-09-25 02:10
alyssasome pointers from https://github.com/bazad/AppleJPEGDriver-memleak/blob/master/AppleJPEGDriver-memleak/AppleJPEGDriver-memleak.c#asahi · 2021-09-25 02:10
alyssa^ the code#asahi · 2021-09-25 02:10
alyssahttps://gist.github.com/alyssarosenzweig/7d8099cdb227d2de0a9e83b7de34c7f8#asahi · 2021-09-25 02:07
alyssaand now have a JPEG decoded successfully from my iokit bitbanging#asahi · 2021-09-25 02:06
alyssa---and stopped setting all the random bits.#asahi · 2021-09-25 02:06
alyssaruh roh#asahi · 2021-09-25 02:06
alyssabut now I see some... sort of tiling.#asahi · 2021-09-25 02:05
alyssaand that was purely a case of me having specifying the stride wrong, lol#asahi · 2021-09-25 02:02
alyssastride is just totally botched#asahi · 2021-09-25 02:02
alyssaactually not that wrong tbh#asahi · 2021-09-25 02:02
alyssaok, I see contents. they're wrong but. let's see now.#asahi · 2021-09-25 01:59
alyssayees#asahi · 2021-09-25 01:57
alyssaputting it together, I /think/ that gives a hardware JPEG decode under macOS#asahi · 2021-09-25 01:57
alyssasolved by inserting a sleep.#asahi · 2021-09-25 01:57
alyssaNow it's just complaining "Failed to egt user client, or client already gone"#asahi · 2021-09-25 01:57
alyssaok. copied an actual JPEG there, that goes away.#asahi · 2021-09-25 01:54
alyssanow it says bitstream corruption was detected. that sure sounds like it's actually getting at the hardware#asahi · 2021-09-25 01:54
alyssaBGRA, apparently#asahi · 2021-09-25 01:44
alyssaI am.. unsure what pixel format it wants.#asahi · 2021-09-25 01:44
alyssanow it's stumbling on an unknown pixel format#asahi · 2021-09-25 01:38
alyssagetting a lot closer now#asahi · 2021-09-25 01:25
alyssaoh er uh ok#asahi · 2021-09-25 01:21
alyssa"input/output size too small" but... that's regardless of the sizes.......#asahi · 2021-09-25 01:15
alyssauhh#asahi · 2021-09-25 01:13
alyssaokay why is it complaining#asahi · 2021-09-25 01:00
alyssaso I can just trial and error and it'll tell me what I did wrong#asahi · 2021-09-25 00:59
alyssathe kext is loaded with asserts#asahi · 2021-09-25 00:59
alyssa---it won't be blind 😉#asahi · 2021-09-25 00:56
alyssaABI seems ot have changed. can I do this blindly? well...