#
✕ nick:marcan
#asahi-dev · 2021-11-05 08:00
marcanso the other thing is we need to resize the data partition to the user specified size
#asahi-dev · 2021-11-05 07:59
marcanlol
#asahi-dev · 2021-11-05 07:59
marcanwe're not using edk2 :p
#asahi-dev · 2021-11-05 01:53
marcanit should work for anything supporting device tree
#asahi-dev · 2021-11-05 01:53
marcanthat's why we're using u-boot EFI
#asahi-dev · 2021-11-05 01:53
marcan_alice: that is the plan
#asahi-dev · 2021-11-05 01:51
marcanI'm interested in secureboot/FDE-by-default stuff, but that at the very least needs to wait until we figure out the SEP properly
#asahi-dev · 2021-11-05 01:50
marcandottedmag: the installer won't be setting up LUKS for you
#asahi-dev · 2021-11-05 01:50
marcanI think it's by design...
#asahi-dev · 2021-11-05 01:50
marcansven: I think so, yeah
#asahi-dev · 2021-11-04 15:16
marcanso we need to pass it through anyway
#asahi-dev · 2021-11-04 15:15
marcankettenis: yeah, but for other skus it might
#asahi-dev · 2021-11-04 11:58
marcanAIUI only the ASCII part matters
#asahi-dev · 2021-11-04 11:58
marcan wifi-antenna-sku-info = [0x0000000000000001, 0x0000000000003358]
#asahi-dev · 2021-11-04 11:58
marcankettenis: we also need the antenna stuff
#asahi-dev · 2021-11-04 10:48
marcanand yeah, I think I'll dump the firmware into the ESP unconditionally so people can always rely on that being there
#asahi-dev · 2021-11-04 10:48
marcan:p
#asahi-dev · 2021-11-04 10:47
marcanproper installers won't work until everything is upstream and back downstream; I don't expect most people want to go that path for linux for at least a couple years
#asahi-dev · 2021-11-04 10:46
marcanuntil that happens images with the right things already installed are a better idea
#asahi-dev · 2021-11-04 10:46
marcan"proper installers" are great when distros have had a chance to do all the proper hardware enablement
#asahi-dev · 2021-11-04 10:46
marcankettenis: I'm talking about dumping a prepopulated rootfs
#asahi-dev · 2021-11-04 08:44
marcanand diskutil can create partitions without formatting and arbitrary GPT type GUIDs, so no issue there
#asahi-dev · 2021-11-04 08:44
marcanyeah, works fine from python (at least for unmounted volumes)
#asahi-dev · 2021-11-04 08:31
marcantries...
#asahi-dev · 2021-11-04 08:31
marcanoh wait, but can I even hit raw block devices in 1TR?
#asahi-dev · 2021-11-04 08:30
marcanI just need to wrap it in a python module or something...
#asahi-dev · 2021-11-04 08:30
marcanso that might be a good option
#asahi-dev · 2021-11-04 08:30
marcanlooking at my normal rootfs (which should've been mkfs'ed last year) all the features are compatible with lwext4 as far as I can tell
#asahi-dev · 2021-11-04 08:27
marcanwould have to dike out the fuse part, but maybe?
#asahi-dev · 2021-11-04 08:24
marcanwonder if any of the incompatible features are common these days in default filesystems
#asahi-dev · 2021-11-04 08:24
marcanmaybe https://github.com/gkostka/lwext4 ?
#asahi-dev · 2021-11-04 08:23
marcanthe alternative is to have a firstboot thing or some firmware copy script that copies it from e.g. the ESP, but that's a bit more annoying since it needs distro integration to a greater extent
#asahi-dev · 2021-11-04 08:23
marcanbtw, does anyone know of a functional userspace ext4 implementation? It would be really convenient if the installer could poke around the linux rootfs, e.g. to deal with the firmware story
#asahi-dev · 2021-11-04 08:22
marcanif nobody does I'll just make something up and submit it :-)
#asahi-dev · 2021-11-04 08:21
marcanit was good to bring that up
#asahi-dev · 2021-11-04 08:21
marcanyeah, I hope some other folks chip in on the firmware story
#asahi-dev · 2021-11-04 08:19
marcana proper patch ideally needs to implement both DT and ACPI support so it works on both platforms
#asahi-dev · 2021-11-04 08:19
marcanchadmed: the thing is the corellium patch was meant for M1 but doesn't do any of the DT things it should be doing, so it's actually doing neither of the M1/DT nor the ACPI stuff it should be
#asahi-dev · 2021-11-04 08:18
marcankode54: I actually have a friend with a T2 mac so I could test there fairly easily too
#asahi-dev · 2021-11-04 01:35
marcanyeah, well... "works for me" doesn't cut it for Linux kernel submissions, unfortunately
#asahi-dev · 2021-11-03 18:26
marcan2x M1 makes no sense, that's already a chip called the M1 Pro.
#asahi-dev · 2021-11-03 18:26
marcana bunch of the changes in M1 Pro/Max are for this
#asahi-dev · 2021-11-03 18:26
marcanM1 cannot do multi-die
#asahi-dev · 2021-11-03 18:26
marcankov: 2 M1 Max chips
#asahi-dev · 2021-11-03 11:18
marcanyeah, apple,pmgr can stay
#asahi-dev · 2021-11-03 11:10
marcanKrzysztof didn't comment on the v2 of the serial runtime-PM patch yet
#asahi-dev · 2021-11-03 11:09
marcankettenis: was kinda hoping for more review comments, since other than the spurious |s in the DT bindings I think everything else is kosher?
#asahi-dev · 2021-11-03 10:51
marcanso I implemented support for it, maybe I'll get lucky and the 2-die systems will need no AIC patches ;)
#asahi-dev · 2021-11-03 10:51
marcanit does work though, I can sw_gen IRQs in the second block and unmask them and they get delivered
#asahi-dev · 2021-11-03 10:50
marcanthough currently macOS ignores it completely (doesn't even set the masks)

plus ›