#asahi-re · 2022-08-03 12:15
marcanyou want to talk to maz (who isn't here) about the kvm stuff#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 09:04
j`eyamarioguy: interesting, do you have linux running? maybe you can try enable the maint irq, if not maybe markan or jann4u can#asahi-re · 2022-08-03 05:38
marcanthose were only useful for some really early hypervisor debugging#asahi-re · 2022-08-03 05:38
marcanwe need to stop pushing that story, 99% of the time it's not necessary. I haven't used dev kernelcaches in forever.#asahi-re · 2022-08-03 05:38
marcanyou don't need to create a kernelcache, you can just use a retail one#asahi-re · 2022-08-03 03:00
nik875[m]Kk#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
nik875[m]nik875[m]: Also says “could not find mount point” when I select the correct volume, even after running diskutil mount#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:49
nik875[m]Missing the —volume argument it seems#asahi-re · 2022-08-03 02:39
nik875[m]Huh okay, I can scp it#asahi-re · 2022-08-03 02:39
amarioguyi believe macOS volumes are accessible from rOS too#asahi-re · 2022-08-03 02:38
chadmedyou can either use scp or start the python http server in the build dir and use curl #asahi-re · 2022-08-03 02:38
amarioguy^#asahi-re · 2022-08-03 02:38
chadmedyou have to copy it over to the rOS environment somehow#asahi-re · 2022-08-03 02:38
nik875[m]Where is the m1n1 bin? The build from the repo is supposed to be on the host machine I thought?#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:35
nik875[m]Yes#asahi-re · 2022-08-03 02:34
amarioguyyou're on step 4 right?#asahi-re · 2022-08-03 02:34
nik875[m]Well yes, installing a custom boot object is part of the documentation for setting up the hypervisor#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
nik875[m]Is that not what we want lol?#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
nik875[m]Rip lol, what’s wrong with that?#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
nik875[m]Kmutil create with a lot of options that I copy pasted#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
nik875[m]I used kmutil on the macOS partition according to the hypervisor documentation, is that what you mean?#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 02:18
nik875[m]or is there some special configuration that links m1n1 to the macos partition?#asahi-re · 2022-08-03 02:17
nik875[m]next question i have is how to install m1n1 as a custom boot object, does that just mean run the asahi installer for m1n1?#asahi-re · 2022-08-03 02:17
nik875[m]marcan: that worked, thanks!#asahi-re · 2022-08-03 02:10
marcancould be "OS Type" instead, in another version#asahi-re · 2022-08-03 02:09
marcanone of 'macOS', 'one true recoveryOS', 'recoveryOS'