#asahi-re · 2022-10-15 00:49
amarioguythough this weekend is slightly busier than normal so we'll see#asahi-re · 2022-10-15 00:48
amarioguyand ofc document it#asahi-re · 2022-10-15 00:48
amarioguyalso probably going to update the tracer to closer fit the design of more recent tracers#asahi-re · 2022-10-15 00:45
amarioguyi'll update the hw sep page tomorrow, just got a decent amount of tracer logs, need some time to sift through them#asahi-re · 2022-10-14 10:13
amarioguywon't be using it then#asahi-re · 2022-10-14 10:13
amarioguygotcha#asahi-re · 2022-10-13 23:07
amarioguyalso as it got lost, i'll bump this question again - is mat solnik's presentation from 2016 considered "safe to use"?#asahi-re · 2022-10-13 22:48
amarioguyneed to verify if SMC traps still work on m2 (my only t8112 atm is in use by someone else, can't verify this myself)#asahi-re · 2022-10-13 22:47
amarioguyokay back on desktop, can someone verify if HID1_EL1[54] and EHID20_EL1[8] still work on t8112?#asahi-re · 2022-10-13 00:06
amarioguyon the sep that is#asahi-re · 2022-10-13 00:05
amarioguybtw just wanted to clear up this question ahead of time, is mat solnik's presentation from 2016 considered "safe to use" or is it too risky?#asahi-re · 2022-10-07 18:05
amarioguy(macOS version that is)#asahi-re · 2022-10-07 18:05
amarioguywhat os version should i be tracing sep accesses from?#asahi-re · 2022-10-07 18:04
amarioguybtw going to start collecting logs from using the sep tracer?#asahi-re · 2022-10-06 11:45
amarioguymight be to protect against attacks from a malicious mailbox request?#asahi-re · 2022-10-06 11:44
amarioguygotcha#asahi-re · 2022-10-06 11:42
amarioguysven: yep - should get a full KDK setup rolling#asahi-re · 2022-10-06 11:38
amarioguyplease do that'd be helpful#asahi-re · 2022-10-06 11:37
amarioguyalright perfect, i'll start working on this #asahi-re · 2022-10-06 11:36
amarioguysven: this it? http://f.svpe.de/d48b3719f56e413e94ca40a6e9cbc8636577695c66054ef44093270998999449_trace_sep.py#asahi-re · 2022-08-03 12:16
amarioguygotcha#asahi-re · 2022-08-03 11:11
amarioguythough i do want to do some more testing on this before i commit to making the patch series lol#asahi-re · 2022-08-03 10:54
amarioguystill gotta fix the i2c stuff as well anyways so i can do this soon enough#asahi-re · 2022-08-03 10:52
amarioguyj'ey: i can do enablement on that sure#asahi-re · 2022-08-03 03:00
amarioguynik875[m]: general dev questions usually go in asahi-dev#asahi-re · 2022-08-03 02:58
amarioguyin m1n1 anyways#asahi-re · 2022-08-03 02:57
amarioguy(on maintenance interrupts ICH_MISR_EL2 is configurable and register changes behaves as the spec says it should, furthermore having maintenance interrupts pending and enabling virtual interrupts results in an interrupt storm as there's no handling for this)#asahi-re · 2022-08-03 02:54
amarioguyidk if this was found out already but here you go#asahi-re · 2022-08-03 02:53
amarioguym2 does in fact support maintenance interrupts now lol#asahi-re · 2022-08-03 02:53
amarioguybtw i can say now that from very very initial testing#asahi-re · 2022-08-03 02:39
amarioguyi believe macOS volumes are accessible from rOS too#asahi-re · 2022-08-03 02:38
amarioguy^#asahi-re · 2022-08-03 02:36
amarioguyremember that you need to be in 1tr to *actually set* the boot object#asahi-re · 2022-08-03 02:36
amarioguycreating the kernelcache is one thing, setting m1n1 as a custom boot object is another (the command to set the boot object is kmutil configure-boot -c [path to m1n1.bin] --entry-point 2048 --lowest-virtual-address 0)#asahi-re · 2022-08-03 02:34
amarioguyyou're on step 4 right?#asahi-re · 2022-08-03 02:33
amarioguyyou need to be in 1tr to actually install the custom boot object#asahi-re · 2022-08-03 02:33
amarioguyyour question was to install a custom boot object#asahi-re · 2022-08-03 02:33
amarioguythat's what you want if you need to create a kernelcache#asahi-re · 2022-08-03 02:33
amarioguyso you can use symbols apple provides via the KDK#asahi-re · 2022-08-03 02:32
amarioguythat command is for linking the kernel/kexts together to make a dev kernelcache that's bootable with m1n1#asahi-re · 2022-08-03 02:32
amarioguythe hypervisor page is what creates a kernelcache#asahi-re · 2022-08-03 02:32
amarioguythis needs to be done from 1tr again#asahi-re · 2022-08-03 02:31
amarioguyoh no#asahi-re · 2022-08-03 02:31
amarioguywhat was the command you used#asahi-re · 2022-08-03 02:31
amarioguyhm?#asahi-re · 2022-08-03 02:30
amarioguykmutil configure-boot will have the details (entry-point is 2048, lowest-virtual-address is 0#asahi-re · 2022-08-03 02:29
amarioguybut you can use kmutil to do it as well, if for example the partition you wish to associate m1n1 with is a macOS install#asahi-re · 2022-08-03 02:28
amarioguynik875[m]: nowadays i believe you just allocate some free space and the asahi installer will more or less do it for you#asahi-re · 2022-08-03 01:27
amarioguyoh lol it's answered nvm#asahi-re · 2022-08-03 01:27
amarioguynik875[m]: make sure you're in 1TR