#asahi-dev · 2021-05-30 17:33
marcanoh Emantor already said that#asahi-dev · 2021-05-30 17:32
marcanjannau: do you have ctrr disabled?#asahi-dev · 2021-05-29 19:10
marcanI already told bloom how to run the hv, so now she gets to teach everyone else; goodnight :p#asahi-dev · 2021-05-29 19:09
marcanbloom: I was taking a shower!#asahi-dev · 2021-05-29 19:09
marcanyes, if you ask it to, IIRC#asahi-dev · 2021-05-29 19:08
marcanspits it out the second CDC ACM interface#asahi-dev · 2021-05-29 19:08
marcanit's enabled by default now#asahi-dev · 2021-05-29 19:08
marcanby the way, the hypervisor vuart thing works well enough for xnu now, if anyone wants to try#asahi-dev · 2021-05-29 18:43
marcan(there goes 1h of sleep)#asahi-dev · 2021-05-29 18:43
marcanfixed now#asahi-dev · 2021-05-29 18:43
marcansven: it's your fault, you didn't find me AFSR1_GL{1,2,12} and I was using the EL2 one for everything and stuff was exploding :'(#asahi-dev · 2021-05-29 18:41
marcanand instead it all goes through a mailbox to the DCP#asahi-dev · 2021-05-29 18:41
marcanso it's entirely likely that none of these registers are written by macos#asahi-dev · 2021-05-29 18:40
marcanpipcet[m]: the display controller is handled by a side core#asahi-dev · 2021-05-29 16:26
marcanso now all we care about is neutering that reset method#asahi-dev · 2021-05-29 16:26
marcanit just gets instantiated before boot so no data is lost#asahi-dev · 2021-05-29 16:26
marcanit used to be used for the linux tty stuff I think, but that got refactored to use vanilla serial.#asahi-dev · 2021-05-29 16:25
marcanwe don't actually use that method#asahi-dev · 2021-05-29 16:24
marcanwell, someone else had m1n1 tickling a kernel bug :p#asahi-dev · 2021-05-29 16:23
marcansomeone else had that earlier#asahi-dev · 2021-05-29 16:23
marcanbloom: you too?#asahi-dev · 2021-05-29 16:23
marcanshould work with both versions now#asahi-dev · 2021-05-29 16:22
marcanyrlf: fixed#asahi-dev · 2021-05-29 16:15
marcanpyserial version?#asahi-dev · 2021-05-29 16:15
marcanthat again#asahi-dev · 2021-05-29 16:15
marcanobviously you can't boot the HV in 1TR mode so that's kind of moot#asahi-dev · 2021-05-29 16:15
marcanbloom: the tools work out side of 1TR, it's just the SEP will hate you for not being in that mode#asahi-dev · 2021-05-29 12:41
marcanyeah, that's one reason to keep it :)#asahi-dev · 2021-05-29 12:39
marcaneventually we can probably implement SFR updates from linux, but that will probably take a while until it's safe enough to use#asahi-dev · 2021-05-29 12:39
marcanI wonder if we can get idevicerestore to do 1TR/NAND updates without breaking bootpolicy too badly; if we can then this would be convenient to keep firmware up to date for those who don't want macos#asahi-dev · 2021-05-29 12:38
marcanso we can easily implement our own updates; ideally from 1TR, so the flow would be that you update 1TR using the primary macos partition and then use some tooling we provide to update your blobs/iboot2/etc in the m1n1 partition#asahi-dev · 2021-05-29 12:36
marcanI already confirmed you can build up such a partition from scratch; the only choke point is getting credentials for kmutil/bputil#asahi-dev · 2021-05-29 12:36
marcanOTOH, if all you care about is linux, that partition is useless once you have a user/password set up; you can mostly wipe it and shrink it#asahi-dev · 2021-05-29 12:21
marcanthe updater/installer is extremely inefficient#asahi-dev · 2021-05-29 12:21
marcanjannau: our guide says 70GB, you can't even install it fresh with 50 these days, it fails#asahi-dev · 2021-05-29 05:51
marcanbloom: I hope we can make this all much saner in the future, but that's currently blocked on a) better understanding what we can do, and b) apple implementing things that are still broken properly#asahi-dev · 2021-05-28 15:09
marcanyeah, heh#asahi-dev · 2021-05-28 12:37
marcansven: it definitely needs page tables#asahi-dev · 2021-05-28 08:52
marcane.g. userspace command buffers#asahi-dev · 2021-05-28 08:52
marcandepending on how the GPU does things, we might not be able to get away with bypass mode there#asahi-dev · 2021-05-28 08:13
marcanI remember something from the ps4 thing#asahi-dev · 2021-05-28 08:12
marcanIIRC there's a flag for 32b vs 64b DMA?#asahi-dev · 2021-05-28 08:02
marcansven: maz doesn't think we can mix page sizes btw (other channel)#asahi-dev · 2021-05-28 07:47
marcanread-only you mean?#asahi-dev · 2021-05-28 07:46
marcanthat kind of screws up isolation for distro kernels#asahi-dev · 2021-05-28 07:45
marcansadface#asahi-dev · 2021-05-28 07:45
marcansven: have we confirmed that dart can't do 4K pages?#asahi-dev · 2021-05-28 07:42
marcanand then i'll have a `base` or something which is whatever linus tree base we are currently working off of#asahi-dev · 2021-05-28 07:42
marcan`main` will also be endlessly rewritten by a bot at some point, I should set up an action for that#asahi-dev · 2021-05-28 07:41
marcanalso we make zero promises about not force pushing for any of this