#
#asahi-dev · 2023-09-10 17:10
marcanthe args.pad_40[5] = 0x90; is not necessary, so it looks like just the sensor ID
#asahi-dev · 2023-09-10 17:09
eilnI should, sigh. not enough time in the day..
#asahi-dev · 2023-09-10 17:09
marcanthanks :)
#asahi-dev · 2023-09-10 17:09
eilnhere's a really proto extraction script if you want better video https://pastebin.com/j0LpYLWv
#asahi-dev · 2023-09-10 17:07
marcango get some sleep :p
#asahi-dev · 2023-09-10 17:07
eilnive got work tomorrow (today actually)
#asahi-dev · 2023-09-10 17:07
marcanlol
#asahi-dev · 2023-09-10 17:06
eilnyes..
#asahi-dev · 2023-09-10 17:06
marcanwait, aren't you on the same timezone?
#asahi-dev · 2023-09-10 17:06
marcanI should get some sleep, it's 2AM :p
#asahi-dev · 2023-09-10 17:06
marcanpushed what I have, it's stupidly hardcoded but there you go :D
#asahi-dev · 2023-09-10 17:06
eilnheck yeah!!!
#asahi-dev · 2023-09-10 17:05
marcaneiln: I've got video :)
#asahi-dev · 2023-09-10 17:04
eilnthe 558 preset should be right i think
#asahi-dev · 2023-09-10 17:03
marcanoh the code has a gate lol
#asahi-dev · 2023-09-10 17:03
marcaneiln: https://mrcn.st/p/bxprn3JV
#asahi-dev · 2023-09-10 17:01
marcanhttps://mrcn.st/p/qk8ZdOZX
#asahi-dev · 2023-09-10 17:01
eilnmarcan: found it, ipc_iova is offsetted by a page
#asahi-dev · 2023-09-10 17:01
marcan[ 2.508506] apple-isp 384000000.isp: ch 0: failed to cache sensor info: -19
#asahi-dev · 2023-09-10 17:01
marcan[ 2.504945] apple-isp 384000000.isp: ch 0: unsupported sensor. Please file a bug report with hardware info & dmesg trace.
#asahi-dev · 2023-09-10 17:01
marcannow it dies at
#asahi-dev · 2023-09-10 17:01
marcaneiln: I got it to boot more copying and pasting stuff from there
#asahi-dev · 2023-09-10 16:54
marcaneiln: https://mrcn.st/p/mTvKpEf1
#asahi-dev · 2023-09-10 16:52
eilncan you get it from heap_top? i.e. 0xf00000 the struct cuts off
#asahi-dev · 2023-09-10 16:52
marcan*bet
#asahi-dev · 2023-09-10 16:52
marcanget that's it
#asahi-dev · 2023-09-10 16:52
marcanthat looks like sensor id, it's 3 for these machines
#asahi-dev · 2023-09-10 16:51
marcanargs.unk4 = 0x1;
#asahi-dev · 2023-09-10 16:50
marcanoffsets are from that
#asahi-dev · 2023-09-10 16:50
marcanheap top that is
#asahi-dev · 2023-09-10 16:50
marcanthis is 13.5 so it's at 0xf00000
#asahi-dev · 2023-09-10 16:50
marcaneiln: https://mrcn.st/p/Iyo0jGjD I think that's it
#asahi-dev · 2023-09-10 16:16
eilnit should have a 0x1c000, that's constant
#asahi-dev · 2023-09-10 16:08
marcanyeah, give me a sec
#asahi-dev · 2023-09-10 16:05
eilnand I verified t6000 dsid before
#asahi-dev · 2023-09-10 16:03
eilnI'm guessing the bootargs are at 0xe12f80
#asahi-dev · 2023-09-10 16:02
eilncan you trace (open photobooth app) and hexdump heap_top - heap_top + 0x4000?
#asahi-dev · 2023-09-10 16:01
eilnsorry I'm reinstalling macos rn I can't test the tracer
#asahi-dev · 2023-09-10 15:58
eilnit's definitely the bootargs, sigh
#asahi-dev · 2023-09-10 15:51
eilnor the cmd_iova offset is wrong
#asahi-dev · 2023-09-10 15:50
marcaneiln: that looks like a couple SPMI transactions
#asahi-dev · 2023-09-10 15:49
marcanlike it's not finding an ID for something
#asahi-dev · 2023-09-10 15:49
marcanI feel like we're missing a config somewhere, that optical card 0 thing is sus
#asahi-dev · 2023-09-10 15:49
eilnhttps://pastebin.com/jmif91Ah
#asahi-dev · 2023-09-10 15:48
marcanwhere is that?
#asahi-dev · 2023-09-10 15:48
eilnit might be the wall of spmi registers
#asahi-dev · 2023-09-10 15:48
marcanah
#asahi-dev · 2023-09-10 15:47
eilnwe didn't send those yet. we're stuck on cmd_print_enable
#asahi-dev · 2023-09-10 15:47
marcaneiln: the dsid stuff looks wrong at first glance; the memory controller is laid out very differently on t6k, so those can't be right I think
#asahi-dev · 2023-09-10 15:43
marcanyeah that's where I assert

plus ›