#asahi · 2021-08-19 13:05
marcanmu-one?#asahi · 2021-08-19 13:03
marcanyes#asahi · 2021-08-19 13:03
marcanI'm going to put together some kind of merge bot and review things#asahi · 2021-08-19 13:02
marcanspeaking of: alyssa, sven et al: I need y'all to put together a bit of a summary of what patchsets work and you're currently using (ideally with git refs :p)#asahi · 2021-08-19 12:58
marcanheh#asahi · 2021-08-19 12:42
marcansure, with effort#asahi · 2021-08-19 12:37
marcanit already works on qemu on macos, would be the same on linux#asahi · 2021-08-19 12:37
marcanI don't expect any issues there#asahi · 2021-08-19 12:37
marcanyes#asahi · 2021-08-19 12:36
marcanit will never run on these machines without either a VM or MS's help#asahi · 2021-08-19 12:36
marcanlandscape15[m]: windows requires kernel changes that only microsoft can do#asahi · 2021-08-19 09:40
marcanmost of the early HV bringup work that benefited from backtraces was on stuff in the core kernel#asahi · 2021-08-19 09:40
marcanhaven't even looked into how that's supposed to work#asahi · 2021-08-19 09:39
marcanpatches welcome :-)#asahi · 2021-08-19 09:39
marcanI've never actually done that (symbols for extensions)#asahi · 2021-08-19 06:53
marcanalyssa: if it's any consolation my experience with PCIe amounts to making it run over RS-232. not exactly applicable to our use case :3#asahi · 2021-08-18 18:29
marcanso this is probably going to be one of those user safety executive decisions I make (i.e. the advanced menu of the installer will let you do this, but it won't be the default flow for a while) ;)#asahi · 2021-08-18 18:28
marcanmuch easier to nuke and redo#asahi · 2021-08-18 18:28
marcanbut until then, even though we could avoid the 2.5G stub partition and use volumes in the primary container, I feel a lot safer having our own GPT slice and not touching macOS#asahi · 2021-08-18 18:27
marcanonce linux can actually boot and run stably off of APFS, it suddenly makes a lot more sense because you can have a fully shared disk#asahi · 2021-08-18 18:27
marcanwe could reuse the macOS container instead of making a new one, but it doesn't really buy us much at this stage#asahi · 2021-08-18 18:26
marcandebian is a fine distro, I use it on my other Mac! (the PowerPC one :p)#asahi · 2021-08-18 18:25
marcan:)#asahi · 2021-08-18 18:25
marcanand e.g. in the "oh shit recovery got bigger" case, if it comes to that: just shrink macOS a tiny bit more and remake the asahi partition a bit bigger#asahi · 2021-08-18 18:24
marcanwhich is also a feature#asahi · 2021-08-18 18:24
marcancorrect#asahi · 2021-08-18 18:23
marcanso I'll consider that our out if recovery gets bigger#asahi · 2021-08-18 18:23
marcanif we can figure out how to do that sanely we save a bunch of space#asahi · 2021-08-18 18:23
marcanapple does#asahi · 2021-08-18 18:23
marcanwe're not using APFS compression though#asahi · 2021-08-18 18:23
marcan2G is not enough, I tried#asahi · 2021-08-18 18:23
marcanbut APFS kind of wants that#asahi · 2021-08-18 18:23
marcanj_ey: 1G or so#asahi · 2021-08-18 18:23
marcanwith the kernel in /boot, and GRUB in the EFI part; alternatively you could make the EFI part /boot, I've seen both setups fairly commonly#asahi · 2021-08-18 18:22
marcanfor our arch-based install, I expect to have a layout like [macOS for dualboot] [2.5G m1n1 bootstrap] [512M EFI part] [/ ext4] or so#asahi · 2021-08-18 18:22
marcankettenis: probably, but I wouldn't trust them to do it right in this weirdo case#asahi · 2021-08-18 18:21
marcanthough nothing stops you from doing it another way directly from u-boot as long as it's a filesystem it supports#asahi · 2021-08-18 18:21
marcanyes#asahi · 2021-08-18 18:20
marcanI expect to have a standard EFI partition we let distros install into#asahi · 2021-08-18 18:20
marcansince you need that to be able to upgrade your kernel without going through 1TR, which would be ridiculous#asahi · 2021-08-18 18:20
marcanthat's the plan in all cases#asahi · 2021-08-18 18:20
marcanyes#asahi · 2021-08-18 18:16
marcan(well, that and shipping a m1n1 with u-boot built in)#asahi · 2021-08-18 18:16
marcanthat's the only thing missing from the current installer, a mode that does resize + everything else it does now#asahi · 2021-08-18 18:16
marcanyup#asahi · 2021-08-18 18:15
marcanyes#asahi · 2021-08-18 18:15
marcanyeah, but it still has to make space for it by resizing the macOS APFS#asahi · 2021-08-18 18:14
marcanbut we'll provide images of distros preconfigured directly in our installer to avoid the separate step of booting the installer, where it makes sense#asahi · 2021-08-18 18:14
marcaninstead the idea is you use our installer to install m1n1+u-boot, which gives you a UEFI/DT environment which you can then use to boot a distro installer (as long as it has an up to date kernel) off of USB or whatever and do it the normal way#asahi · 2021-08-18 18:13
marcanI don't really expect other distros to implement Apple Silicon installers themselves, though of course they can if they want to