#
✕ nick:marcan
#asahi · 2021-05-13 13:45
marcanderp
#asahi · 2021-05-13 13:37
marcanthe emulation already works, in passthrough mode, for m1n1; haven't tried using it with xnu yet
#asahi · 2021-05-13 13:37
marcanprobably not much more than that
#asahi · 2021-05-13 13:37
marcanmissing the reg-index variant which I assume I'll hit
#asahi · 2021-05-13 13:36
marcanhttps://github.com/AsahiLinux/m1n1/blob/main/src/hv_vm.c#L421
#asahi · 2021-05-13 13:36
marcanI already have emulation code
#asahi · 2021-05-13 13:22
marcan;)
#asahi · 2021-05-13 13:20
marcansven: you know if you don't get that by the time mmiotrace is working I'm going to have to do it for you :p
#asahi · 2021-05-13 13:19
marcanthe cpu is fast :)
#asahi · 2021-05-13 13:18
marcanonce usb and nvme are done properly and the gpu works to render an accelerated desktop would be a good time for a demo video ;)
#asahi · 2021-05-13 13:18
marcanbut I'm not interested in wasting time making demo videos that don't represent reality; let's get stuff done properly first
#asahi · 2021-05-13 13:17
marcantheir first demo was just usb, storage too
#asahi · 2021-05-13 13:17
marcannot their first demo
#asahi · 2021-05-13 13:17
marcantheir first demo was everything hanging off of USB
#asahi · 2021-05-13 13:17
marcancorellium did the moral equivalent of the above except they also have a working USB driver :P
#asahi · 2021-05-13 13:17
marcanlet's leave the demo video for when cool stuff works, like 3D :)
#asahi · 2021-05-13 13:16
marcanbut that would be a waste of time
#asahi · 2021-05-13 13:16
marcanI could boot to a desktop today if I felt like it, sticking it all into an initramfs and doing SLIP over serial with barrierd or something silly like that
#asahi · 2021-05-13 13:16
marcanwell the GPU needs to be reversed to make it fast
#asahi · 2021-05-13 13:16
marcan:p
#asahi · 2021-05-13 13:16
marcanI mean I have plenty of youtube streams where I boot it to a fbcon many times
#asahi · 2021-05-13 13:15
marcanthere will be a demo video when there's something worth showing :-)
#asahi · 2021-05-13 13:15
marcanthere isn't much to show on video
#asahi · 2021-05-13 13:14
marcanyeah, I wonder about that one too
#asahi · 2021-05-13 13:14
marcanthat's a built in feature
#asahi · 2021-05-13 13:14
marcanalso fyi, dual boot already works fine
#asahi · 2021-05-13 13:13
marcansomeone should try it
#asahi · 2021-05-13 13:13
marcansven: probably already runs tbh
#asahi · 2021-05-13 13:12
marcanjust not the drivers
#asahi · 2021-05-13 13:12
marcanhowever, userspace support (i.e. figuring out what to *do* with the touchbar) can be shared
#asahi · 2021-05-13 13:11
marcanand thus, even if it's the same underlying hardware, is not driven the same way from the main OS
#asahi · 2021-05-13 13:11
marcan*macbooks
#asahi · 2021-05-13 13:11
marcanbasically ~none of our work is going to be useful on 2016 macboos, because the stuff that doesn't work well on those is precisely the stuff driven by bridgeos
#asahi · 2021-05-13 13:10
marcanthat has already been reverse engineered
#asahi · 2021-05-13 13:10
marcanon intel hardware the touch bar is driven by bridgeos
#asahi · 2021-05-13 13:10
marcanthey have nothing to do with each other
#asahi · 2021-05-13 13:10
marcanjottr: yes
#asahi · 2021-05-13 13:09
marcanthat's just the phy, no?
#asahi · 2021-05-13 13:08
marcanbut it should come with the other DC stuff once it's done, I think
#asahi · 2021-05-13 13:08
marcan(hijacking the framebuffer in macos does not count :p)
#asahi · 2021-05-13 13:08
marcanjottr: that requires display controller support, which we don't have yet
#asahi · 2021-05-13 12:30
marcanfigured out the hypervisor pauth thing that was breaking; now I can disable almost all traps and it runs super fast (until it breaks me as above)
#asahi · 2021-05-13 10:21
marcan(also want to figure out why ACTLR faults in the guest; if I really am required to trap that, that emu code needs to move into the C side for performance)
#asahi · 2021-05-13 10:19
marcanlooking good :)
#asahi · 2021-05-13 10:19
marcanhttps://mrcn.st/p/bIqri9OV <- this is as far as xnu under m1n1 hv gets (then pmgr kills my USB link, next up hooking that)
#asahi · 2021-05-13 08:34
marcanar: please do
#asahi · 2021-05-12 12:22
marcanpushed
#asahi · 2021-05-12 12:15
marcanpipcet[m]: by the way, chainload.py smp works fine now, though I haven't committed/pushed that yet
#asahi · 2021-05-12 12:14
marcanstill better than no visibility
#asahi · 2021-05-12 12:14
marcanso kexts will just show as name+offset, but at least I can still know what kext I'm in, even though I don't have more details

plus ›