#
✕ nick:alyssa
#asahi · 2021-09-25 00:37
alyssathe linux docs say I'm a real kernel hacker now.
#asahi · 2021-09-25 00:37
alyssa...just typed printk in userspace code
#asahi · 2021-09-25 00:28
alyssathis stuff was r/e'd on iOS, I wonder if the ABI is the same
#asahi · 2021-09-25 00:26
alyssawell, not a total loss. that gave me the boot procedure.
#asahi · 2021-09-25 00:24
alyssa...i need to switch to !hypervisor to build a test app don't I. ugh.
#asahi · 2021-09-25 00:22
alyssathe whole iOS JPEG stack is here, though
#asahi · 2021-09-25 00:18
alyssaioreg says a few things; it requires MCU alignment, does not support DCT scaling, and does not support RST logging
#asahi · 2021-09-25 00:16
alyssa(opening jpegs in preview doesn't do it :-p)
#asahi · 2021-09-25 00:15
alyssaso I dunno if this thing is wired up to userspace.
#asahi · 2021-09-25 00:15
alyssathat said, I'm not seeing any writes now that it's actually, you know, booted.
#asahi · 2021-09-25 00:13
alyssahilarious
#asahi · 2021-09-25 00:13
alyssaokay I see some writes in boot, so the kernel driver is at least alive.
#asahi · 2021-09-25 00:04
alyssai do hope this is a PLBKAC
#asahi · 2021-09-25 00:04
alyssawhat on earth
#asahi · 2021-09-25 00:02
alyssaoh boy. the act of calling trace_device("/arm-io/jpeg0") causes a kernel panic. uh
#asahi · 2021-09-25 00:00
alyssauh.
#asahi · 2021-09-24 23:59
alyssagoing to be so peeved if there's a race
#asahi · 2021-09-24 23:57
alyssawait so it boots fine when tracing DCP but not when tracing... nothing? uhm????
#asahi · 2021-09-24 23:56
alyssaam i losing my mind here
#asahi · 2021-09-24 23:54
alyssawhat even
#asahi · 2021-09-24 23:49
alyssawell I mean if you insist
#asahi · 2021-09-24 23:49
alyssaPlease go to https://panic.apple.com to report this panic
#asahi · 2021-09-24 23:48
alyssaoh there is a kernel panic indeed. Ugh. What.
#asahi · 2021-09-24 23:46
alyssaa bit
#asahi · 2021-09-24 23:45
alyssa:|
#asahi · 2021-09-24 23:41
alyssaOr, err..
#asahi · 2021-09-24 23:41
alyssanope just slow I think
#asahi · 2021-09-24 23:41
alyssais macOS hanging or is the hypervisor just slow uhh
#asahi · 2021-09-24 23:39
alyssa(There's a kernel driver for JPEG seemingly capable of both encode and decode)
#asahi · 2021-09-24 23:36
alyssalet's find out!
#asahi · 2021-09-24 23:34
alyssaAnyone want to take bets on whether macOS actually uses the JPEG blocks?
#asahi · 2021-09-24 18:33
alyssa;D
#asahi · 2021-09-24 16:55
alyssaand conveniently noticing the ADT for the JPEG block makes it seem especially simple to the extent it might be possible to just ... guess my way through
#asahi · 2021-09-24 16:55
alyssasven: i am TRYING to do my homework :-p
#asahi · 2021-09-24 16:54
alyssalowers the standards for linux :-p
#asahi · 2021-09-24 16:52
alyssai will not nerdsnipe myself into writing a jpeg driver i will not nerdsnipe myself into writing a jpeg driver i will not nerdsnipe myself into writing a jpeg driver i will not nerdsnipe myself into writing a jpeg driver i will not nerdsnipe myself into writing a jpeg driver
#asahi · 2021-09-24 16:51
alyssasven: how'd you do that?
#asahi · 2021-09-24 14:58
alyssaI think I saw AGX counters in there somewhere.
#asahi · 2021-09-24 14:56
alyssa/Library/ has all kinds of gems
#asahi · 2021-09-24 14:56
alyssathe json/xml/plists that instruments use, yes.
#asahi · 2021-09-24 14:56
alyssa_jannau_: instruments itself, probably no
#asahi · 2021-09-24 14:51
alyssa"Recursive nerdsniping and focused procrastination."
#asahi · 2021-09-24 14:50
alyssa"How is Asahi so far along? Are you guys just that talented?"
#asahi · 2021-09-24 14:50
alyssa❤️
#asahi · 2021-09-24 14:50
alyssamaz: nice nerdsnipe!
#asahi · 2021-09-24 14:40
alyssasven: yep.
#asahi · 2021-09-24 13:03
alyssai figure i'm doing something stupid on account of not having eaten breakfast yet
#asahi · 2021-09-24 13:01
alyssano dice and I should really uh stop procrastinating on my homework now
#asahi · 2021-09-24 12:59
alyssa*ans
#asahi · 2021-09-24 12:59
alyssastill having "fun" with the nvme pwr gates

plus ›